grame-cncm / faust

Functional programming language for signal processing and sound synthesis
http://faust.grame.fr
Other
2.58k stars 322 forks source link

osc under linux #172

Closed vrx closed 6 years ago

vrx commented 6 years ago

under ubuntu, in order to get osclib to be recognized by faust scripts i have to manually cd faust/architecture/osclib make dynamic sudo cp libOSCFaust.so /usr/lib/

but still, compilation fails :: faust2jack -osc compressor.dsp /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libOSCFaust.so: undefined reference to UdpSocket::SendTo(IpEndpointName const&, char const*, unsigned long)' /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libOSCFaust.so: undefined reference toosc::OutboundPacketStream::operator<<(int)' /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libOSCFaust.so: undefined reference to `UdpSocket::SetEnableBroadcast(bool)' collect2: error: ld returned 1 exit status

dfober commented 6 years ago

you should go to the ‘build' folder then:

$ make configoscdynamic $ make $ sudo make install

in case of problem : $ make help

note also that documentation (still in progress) for the building process is available from the faust wiki: https://github.com/grame-cncm/faust/wiki https://github.com/grame-cncm/faust/wiki

— Dom

Le 29 mars 2018 à 18:29, Vincent Rioux notifications@github.com a écrit :

under ubuntu, in order to get osclib to be recognized by faust scripts i have to manually cd faust/architecture/osclib make dynamic sudo cp libOSCFaust.so /usr/lib/

but still, compilation fails :: faust2jack -osc compressor.dsp /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libOSCFaust.so: undefined reference to UdpSocket::SendTo(IpEndpointName const&, char const*, unsigned long)' /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libOSCFaust.so: undefined reference toosc::OutboundPacketStream::operator<<(int)' /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libOSCFaust.so: undefined reference to `UdpSocket::SetEnableBroadcast(bool)' collect2: error: ld returned 1 exit status

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/faust/issues/172, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaTw72vzndF6zHK4dWcGRNINv67bHSkks5tjQv5gaJpZM4TAn9w.

vrx commented 6 years ago

thanks but i am still missing something cd faust/build/ make configoscdynamic make: *** No rule to make target 'configoscdynamic'. Stop.

issuing make help does not mention configoscdynamic

also may be good to state that i am using latest sources from github

dfober commented 6 years ago

Le 30 mars 2018 à 07:03, Vincent Rioux notifications@github.com a écrit :

thanks but i am still missing something cd faust/build/ make configoscdynamic make: *** No rule to make target 'configoscdynamic'. Stop.

issuing make help does not mention configoscdynamic

also may be good to state that i am using latest sources from github

make sure that you are on the master-dev branch

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/grame-cncm/faust/issues/172#issuecomment-377445944, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaTw3gfe409ZSlm4VELUKEnQ-D09fUiks5tjby7gaJpZM4TAn9w.

vrx commented 6 years ago

git status On branch master-dev

vrx commented 6 years ago

ok, started from scratch again, pulled latest version of github installed libmicrohttpd-dev followed your advices - now it's working fine - thanks !