Git Product home page Git Product logo

Comments (14)

AScustomWorks avatar AScustomWorks commented on July 16, 2024

Indeed, I updated the 2 delay modules to match Fundamental's code and makefile too.
Just tried make -j4, got this error:

src/DelayPlus.cpp:10:10: fatal error: 'samplerate.h' file not found #include "samplerate.h"
makealone works ok as @cschol said
Is just matter of building the dependencies first, right? (but makefile changes are way over my skills) This way is neater than make dep, make though.

from fundamental.

AndrewBelt avatar AndrewBelt commented on July 16, 2024

Try 03c14d5bb6b6076a91070b0b90c8366cdd50abbc in Rack and c9142a8 in Fundamental
This makes dep a target of all object files.

from fundamental.

cschol avatar cschol commented on July 16, 2024

Works now for both Fundamental and @AScustomWorks with make -j 4. Thank you!

from fundamental.

cschol avatar cschol commented on July 16, 2024

Sorry, it doesn't work. I didn't do a pull on Fundamental before I tested.

from fundamental.

cschol avatar cschol commented on July 16, 2024

@AndrewBelt Looks like a botched merge? For some reason 343b666 did not make it in the final Makefile version (the shell command that created the dep directory is not in the Makefile).

Result:

cd dep && curl -OL http://www.mega-nerd.com/SRC/libsamplerate-0.1.9.tar.gz
/bin/sh: 1: cd: can't cd to dep
Makefile:18: recipe for target 'dep/lib/libsamplerate.a' failed
make: *** [dep/lib/libsamplerate.a] Error 2

from fundamental.

cschol avatar cschol commented on July 16, 2024

Another issue: Fundamental (and @AScustomWorks) plugins don't load.

[0.032 warn] Failed to load library ./plugins/Fundamental/plugin.so: ./plugins/Fundamental/plugin.so: undefined symbol: src_delete
[0.045 warn] Failed to load library ./plugins/AS/plugin.so: ./plugins/AS/plugin.so: undefined symbol: src_delete

from fundamental.

AndrewBelt avatar AndrewBelt commented on July 16, 2024

Try 1878e96 of Rack

from fundamental.

cschol avatar cschol commented on July 16, 2024

Builds and loads for both plugins now. Thank you!

from fundamental.

cschol avatar cschol commented on July 16, 2024

@AndrewBelt The Makefile is still a problem. It does not create the dep directory if it is not already there. Fails on all platforms if dep is not there. Take a look at the Makefile in the latest revision. The merge took out the $(shell mkdir -p dep) line although one of the commits had it in there.

I didn't notice since make clean does not remove dep (not that it should). Only git clean -dfx does.

from fundamental.

AndrewBelt avatar AndrewBelt commented on July 16, 2024

Fixed in 0543c35

make clean should not remove dependencies.

from fundamental.

cschol avatar cschol commented on July 16, 2024

@AndrewBelt Agreed on make clean. I ran the wrong command and it did not remove dep.

Sorry, this does not work. The variable CONFIGURE is initialized when dep does not exist yet, so the --prefix argument has the wrong value, because realpath on a non-existing directory returns an empty string.

You could remove the ":" from CONFIGURE in dep.mk to defer initialization until it is used in Fundamental's Makefile.

from fundamental.

AndrewBelt avatar AndrewBelt commented on July 16, 2024

aaf7473

from fundamental.

cschol avatar cschol commented on July 16, 2024

@AndrewBelt Oh, yes. That's a better fix. Tested on Linux and it works.

Now, on Windows, libsamplerate compilation fails. This seems to be a different issue (possibly related to libsamplerate itself) and I'll open a separate issue to track.

from fundamental.

cschol avatar cschol commented on July 16, 2024

The Windows compilation issue is same as #38.

from fundamental.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.