New compiled Modules

Even when i compile new Modules and i try to run it on the Rack, it crashes with the Log Warn: Symbol not found, but modificated old Modules runs well.

I try to find Solutions since months in vain.

Could please Someone help me?

Thanks in Advance.

Are you compiling against the same version of Rack that you are running it on?

i use the latest Branch of Rack 0.6 to compile and the latest Rack-app (osX) 0.6.2c to run

Is there more detail in the error about which symbol is not found?

of course…

[0.009 warn src/plugin.cpp:90] Failed to load library /Users/caligulaplus/Documents/Rack/plugins/Electronical/plugin.dylib: dlopen(/Users/caligulaplus/Documents/Rack/plugins/Electronical/plugin.dylib, 2): Symbol not found: __ZTV8Resistor
Referenced from: /Users/caligulaplus/Documents/Rack/plugins/Electronical/plugin.dylib
Expected in: flat namespace
in /Users/caligulaplus/Documents/Rack/plugins/Electronical/plugin.dylib

are you compiling using a makefile ?
are you adding the src from directory where the “Resistor” file is ? :sunglasses:


  1. cd Rack
  2. cd plugins
  3. cd Electronical
  4. make

can Someone check the Files?

give me the github address

i’m a noob and can’t manage github.:tired_face:

Are these your own files?


Can you put them anywhere that we can download them?

I hasten to add that I just occasionally compile Mac versions of modules for people and report problems with the same to their issue trackers. I can’t fix any problems with your code !

The Module don’t make Sense and it is just to solve the issues.

I’m afraid I can only confirm the problem:

[0.411 warn src/plugin.cpp:90] Failed to load library /Users/nik/Documents/Rack/plugins/Electronical/plugin.dylib: dlopen(/Users/nik/Documents/Rack/plugins/Electronical/plugin.dylib, 2): Symbol not found: __ZTV8Resistor
Referenced from: /Users/nik/Documents/Rack/plugins/Electronical/plugin.dylib
Expected in: flat namespace
in /Users/nik/Documents/Rack/plugins/Electronical/plugin.dylib

It built with:

Niks-MacBook-Pro:Electronical nik$ make
c++ -std=c++11 -stdlib=libc++ -DSLUG=Electronical -fPIC -I…/…/include -I…/…/dep/include -DVERSION=0.6.2c -MMD -MP -g -O3 -march=nocona -ffast-math -fno-finite-math-only -Wall -Wextra -Wno-unused-parameter -DARCH_MAC -mmacosx-version-min=10.7 -c -o build/src/Electronical.cpp.o src/Electronical.cpp
c++ -std=c++11 -stdlib=libc++ -DSLUG=Electronical -fPIC -I…/…/include -I…/…/dep/include -DVERSION=0.6.2c -MMD -MP -g -O3 -march=nocona -ffast-math -fno-finite-math-only -Wall -Wextra -Wno-unused-parameter -DARCH_MAC -mmacosx-version-min=10.7 -c -o build/src/Resistor.cpp.o src/Resistor.cpp
c++ -o plugin.dylib build/src/Electronical.cpp.o build/src/Resistor.cpp.o -shared -undefined dynamic_lookup -stdlib=libc++ -mmacosx-version-min=10.7
Niks-MacBook-Pro:Electronical nik$ make install
rm -rf dist
mkdir -p dist/Electronical
cp plugin.dylib dist/Electronical/
strip -S dist/Electronical/plugin.dylib
cp -R LICENSE.txt res dist/Electronical/
cd dist && zip -5 -r Electronical
adding: Electronical/ (stored 0%)
adding: Electronical/res/ (stored 0%)
adding: Electronical/res/.DS_Store (deflated 86%)
adding: Electronical/res/Resistors/ (stored 0%)
adding: Electronical/res/Resistors/1R2.svg (deflated 67%)
adding: Electronical/res/Jack.svg (deflated 65%)
adding: Electronical/plugin.dylib (deflated 76%)
adding: Electronical/LICENSE.txt (deflated 60%)
cp dist/ /Users/nik/Documents/Rack/plugins/

Hope somebody else can help?

BTW that share site tried to get me to download a dodgy flash player.

Thank You Nik, for the effort

1 Like

Wish I could help more. Absolutely no hits on Google for ZTV8 Resistor.

BTW, it would be great if someone can save a lot of time with a tutorial for github