Csound Csound-dev Csound-tekno Search About

trying to build csound, error on make

Date2017-06-16 21:02
FromAnton Kholomiov
Subjecttrying to build csound, error on make
Trying to build csound from sources I get an error:

[ 65%] Linking CXX shared module ../librtpa.so
[ 66%] Built target ipmidi
[ 67%] Built target rtalsa
/usr/bin/ld: cannot find -lwinmm
/usr/bin/ld: cannot find -ldsound
/usr/bin/ld: cannot find -lsetupapi
collect2: error: ld returned 1 exit status
make[2]: *** [InOut/CMakeFiles/rtpa.dir/build.make:96: librtpa.so] Error 1
[ 68%] Built target rtpulse
make[1]: *** [CMakeFiles/Makefile2:2034: InOut/CMakeFiles/rtpa.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 71%] Built target virtual
[ 71%] Built target pmidi
[ 72%] Built target widgets
[ 73%] Built target libcsnd6
make: *** [Makefile:163: all] Error 2

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2017-06-16 21:09
FromAnton Kholomiov
SubjectRe: trying to build csound, error on make
Ok, I can solve it by disabling the portaudio like this:

cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_PORTAUDIO=0 ..

2017-06-16 23:02 GMT+03:00 Anton Kholomiov <anton.kholomiov@gmail.com>:
Trying to build csound from sources I get an error:

[ 65%] Linking CXX shared module ../librtpa.so
[ 66%] Built target ipmidi
[ 67%] Built target rtalsa
/usr/bin/ld: cannot find -lwinmm
/usr/bin/ld: cannot find -ldsound
/usr/bin/ld: cannot find -lsetupapi
collect2: error: ld returned 1 exit status
make[2]: *** [InOut/CMakeFiles/rtpa.dir/build.make:96: librtpa.so] Error 1
[ 68%] Built target rtpulse
make[1]: *** [CMakeFiles/Makefile2:2034: InOut/CMakeFiles/rtpa.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 71%] Built target virtual
[ 71%] Built target pmidi
[ 72%] Built target widgets
[ 73%] Built target libcsnd6
make: *** [Makefile:163: all] Error 2


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here