openAVproductions / openAV-Sorcer

A wavetable LV2 plugin synth, targeted at the electronic / dubstep genre.
GNU General Public License v3.0
78 stars 10 forks source link

Sorcer does not compile #7

Closed blablack closed 9 years ago

blablack commented 9 years ago

Hello,

The latest Sorcer git does not compile.

Here is the error: $ make mkdir -p sorcer.lv2/ g++ gui/sorcer_widget.cxx gui/sorcer_ui.cxx -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/ntk -g -Wall -lsndfile -lcairomm-1.0 -lsigc-2.0 -lntk_images -lntk -lcairo -fPIC -shared -Wl,-z,nodelete -o sorcer.lv2/sorcer_ui.so cd faust/ && g++ -fPIC -shared -ffast-math -O3 -DPLUGIN_URI='"http://www.openavproductions.com/sorcer"' -Wl,-z,nodelete main.cpp -o sorcer.so In file included from main.cpp:8:0: helpers.h: In function ‘float print(float)’: helpers.h:55:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=] printf( "%d\n" , x ); ^ cd faust/ && g++ -DPLUGIN_URI='"http://www.openavproductions.com/sorcer"' main.cpp In file included from main.cpp:8:0: helpers.h: In function ‘float print(float)’: helpers.h:55:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=] printf( "%d\n" , x ); ^ cd faust/ && ./a.out > sorcer.ttl cd faust/ && patch -u sorcer.ttl addUiRdf.patch patching file sorcer.ttl Hunk #1 FAILED at 6. 1 out of 1 hunk FAILED -- saving rejects to file sorcer.ttl.rej make: *** [dsp] Error 1

harryhaaren commented 9 years ago

Hi, thanks for reporting!

Sorcer builds using CMake now (for consistency with other OpenAV projects), so the Makefile was obsolete.

I've updated the documentation on building, so this is now closed. Cheers, -Harry