Fundamental icon indicating copy to clipboard operation
Fundamental copied to clipboard

Fundamental plugin doesn't load

Open ycollet opened this issue 6 years ago • 8 comments

I try to load Fundamental plugin in Rack 0.6.2b and the lpugin refuses to load. In the conseol, I've got the following message:

src_delete symbol not found.

ycollet avatar Nov 26 '18 13:11 ycollet

What is your Rack and Fundamental version?

AndrewBelt avatar Nov 26 '18 13:11 AndrewBelt

I use Rack-0.6.2b and for Fundamental, I used master version (I think HEAD of master is equilvalent to 0.6.1)

ycollet avatar Nov 30 '18 10:11 ycollet

I just noticed that the Fundamental submodule is not fixed at the same commit than on the master. If I use this commit as the HEAD of the fundamental repo, it builds fine.

ycollet avatar Nov 30 '18 10:11 ycollet

My bad. It compiles, but it doesn't load because of the missing symbol.

ycollet avatar Nov 30 '18 18:11 ycollet

I just removed Delay.cpp and instance of Delay in Fundamental.[hc]pp and now the module compiles.

ycollet avatar Nov 30 '18 20:11 ycollet

There is no master branch. Check out the v0.6 branch.

AndrewBelt avatar Nov 30 '18 20:11 AndrewBelt

Sorry, I already was on this branch. When you check out this repo, you are automatically on the v0.6 branch.

ycollet avatar Nov 30 '18 20:11 ycollet

I have just encountered the same issue and believe I found the cause: not following the build instructions exactly (as usual ;p).

Essentially, Fundamental requires a make dep in Rack/plugins/Fundamental before make in order to build the libsamplerate dependency, which is the library that supplies src_delete.

Importantly, the allplugins target in Rack/Makefile will not make the dep target in Rack/plugins/Fundamental/Makefile (imported from Rack/deps.mk), and will therefore not build Fundamental's deps for you. This is presumably also true for other plugins that require additional steps to set up properly. I was tempted to use allplugins to set up several plugins at once but did not consider that there may be extra steps that it did not cover.

mel-odious avatar Jan 25 '19 14:01 mel-odious