Ardour2 = no compile

5 replies [Last post]
axetota
axetota's picture
User offline. Last seen 37 weeks 1 day ago. Offline
Joined: 2006-03-29
Posts:

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.

also, how do I get on #ardour on irc.freenode.net?

thanks,

mike

sampo
User offline. Last seen 10 weeks 1 day ago. Offline
Joined: 2006-03-16
Posts:

You need libusb and the development package for it.

To get on #ardour, you need an irc client (like xchat). Pass irc.freenode.net as the irc server. When you're in, join the channel #ardour

axetota
axetota's picture
User offline. Last seen 37 weeks 1 day ago. Offline
Joined: 2006-03-29
Posts:

I figured it would be something easy like that. THANKS! And a note to the developers... Ardour freakin' rocks. Yeah man, yeah.

Mike

axetota
axetota's picture
User offline. Last seen 37 weeks 1 day ago. Offline
Joined: 2006-03-29
Posts:

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' from `double'
gtk2_ardour/fft_graph.cc:241: warning: converting to `int' from `double'
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,

mike

sampo
User offline. Last seen 10 weeks 1 day ago. Offline
Joined: 2006-03-16
Posts:

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 :

get_ink_pixel_size (layout, width, height);

to

layout->get_pixel_size (width, height);

axetota
axetota's picture
User offline. Last seen 37 weeks 1 day ago. Offline
Joined: 2006-03-29
Posts:

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..

THANKS,

mike