timowest / flute-lv2

Waveguide based physical flute model
GNU General Public License v2.0
30 stars 5 forks source link

Missing file #1

Open prokoudine opened 13 years ago

prokoudine commented 13 years ago

$ make lv2peg flute.ttl gen/Flute.peg python portmeta.py Traceback (most recent call last): File "portmeta.py", line 62, in cppFile = open("gen/FluteMeta.h", "w") IOError: [Errno 2] No such file or directory: 'gen/FluteMeta.h' make: *\ [gen/FluteMeta.h] Error 1

Looks like a file that wasn't added to repo :)

timowest commented 13 years ago

Sorry for the issues. I just fixed the Makefile. My output looks now like this :

tiwe@tiwe-laptop:~/work/lv2/flute-lv2$ make clean && make rm -rf lv2-Flute.lv2 .so .out .wav gen/ alsa-gtk mkdir gen lv2peg flute.ttl gen/Flute.peg python portmeta.py faust -a minimal.cpp faust/flute.dsp > gen/dsp.cpp g++ -shared -Wall -fPIC -DPIC Flute.cpp dsp.cpp pkg-config --cflags --libs paq -lm -I/usr/local/lib/faust/ -o Flute.so g++ -shared -Wall -fPIC -DPIC FluteGUI.cpp pkg-config --cflags --libs paq pkg-config --cflags --libs gtkmm-2.4 -o FluteGUI.so rm -rf lv2-Flute.lv2 mkdir lv2-Flute.lv2 cp manifest.ttl flute.ttl Flute.so FluteGUI.so lv2-Flute.lv2

prokoudine commented 13 years ago

Thanks!

I pulled the changes, but unfortunately it's still broken for me:

$ make lv2peg flute.ttl gen/Flute.peg python portmeta.py faust -a minimal.cpp faust/flute.dsp > gen/dsp.cpp undefined symbol BoxIdent[midikey2hz] ????: -1: ERROR: undefined symbol BoxIdent[midikey2hz] make: *\ [gen/dsp.cpp] Error 1

Do I need a specific version of Faust? Mine is 0.9.24.

timowest commented 13 years ago

Yes, please use the Faust 2 branch.

You can switch it like this when using Git :

git checkout -b faust2 origin/faust2 make && sudo make install