hey guys I’ve been trying to build ardour2-cvs here and I get this error…
…
In file included from libs/surfaces/tranzport/interface.cc:3:
libs/surfaces/tranzport/tranzport_control_protocol.h:9:17: usb.h: No such file or directory
In file included from libs/surfaces/tranzport/interface.cc:3:
libs/surfaces/tranzport/tranzport_control_protocol.h:91: error: ISO C++ forbids declaration of usb_dev_handle' with no type libs/surfaces/tranzport/tranzport_control_protocol.h:91: error: expected;’ before ‘*’ token
scons: *** [libs/surfaces/tranzport/interface.os] Error 1
scons: building terminated because of errors.
…
The build also fails when I select FFT_ANALYSIS=1 for scons. I can’t recall the exact error but it was something about not being able to convert a float to an int.
Ok… so I got past the missing usb.h file… and here is the FFT error…
gtk2_ardour/fft_graph.cc:237: warning: converting to int' fromdouble’
gtk2_ardour/fft_graph.cc:241: warning: converting to int' fromdouble’
gtk2_ardour/fft_graph.cc:253: error: `get_ink_pixel_size’ was not declared in this scope
gtk2_ardour/fft_graph.cc:253: warning: unused variable ‘get_ink_pixel_size’
scons: *** [gtk2_ardour/fft_graph.o] Error 1
scons: building terminated because of errors.
Thanks for pointing this out. I had corrected that in my code already but I had forgotten to commit. The change is now in CVS, and it will be in the next cvs snapshot.
If you want to compile it before that, change this row in fft_graph.cc :
wow… maybe I’m just a dork but i always feel so cool when I can go change a source code file… maybe this is because deep down inside I wish I were a programmer…