[Csnd] Cmake: 'Csound requires the sndfile library'
Date | 2014-09-11 17:21 |
From | sjakops |
Subject | [Csnd] Cmake: 'Csound requires the sndfile library' |
Dear all, I am trying to build Csound 6 on a Windows machine but when I run Cmake on the folder I cloned from github I get the message 'Csound requires the sndfile library' - libsndfile however is installed and I have also set my system PATH to point to the installation folder. I have tried both the Win32 and Win64 installers, I have tried pointing PATH to all the available folders simultaneously, and I have tried removing all the '-1' parts of the file names of libsndfile - but I keep getting that same error message. Can someone tell me what I might be doing wrong? Best regards, Søren -- View this message in context: http://csound.1045644.n5.nabble.com/Cmake-Csound-requires-the-sndfile-library-tp5737456.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2014-09-11 17:24 |
From | Rory Walsh |
Subject | Re: [Csnd] Cmake: 'Csound requires the sndfile library' |
run cmake-gui and the you can provide all the paths and what not there. All paths must be set up in cmake. Adding paths to your system path doesn't make any difference to cmake. On 11 September 2014 17:21, sjakops |
Date | 2014-09-11 19:37 |
From | sjakops |
Subject | [Csnd] Re: Cmake: 'Csound requires the sndfile library' |
Can you tell me which variables must be set, and how? For now I've tried many different values for CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH but I keep getting that error message. -- View this message in context: http://csound.1045644.n5.nabble.com/Cmake-Csound-requires-the-sndfile-library-tp5737456p5737462.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2014-09-11 20:21 |
From | Rory Walsh |
Subject | Re: [Csnd] Re: Cmake: 'Csound requires the sndfile library' |
Did you run cmake-gui from the Csound directory? That really is the best option. Setting those variables by hand is a bit of a pain and it's not something I've ever done myself. Open cmake-gui and then look for the LIBSNDFILE_LIBRARY entry. Then add your path. In fact you'll need to set up a lots of paths and libraries depending on how much you want to build; portaudio; libpthread; portmidi; liblo; python; swig; stk; fltk: etc. Building on Windows is a pain. I would advise against it unless you absolutely need to so. On 11 September 2014 19:37, sjakops |
Date | 2014-09-11 20:48 |
From | Michael Gogins |
Subject | Re: [Csnd] Re: Cmake: 'Csound requires the sndfile library' |
If you want to use Csound on Windows, best to use the Windows installer. No need to build. If you want to develop Csound, best to work on Linux. If you want to develop Csound plugin opcodes, or a new front end for Csound, you can work on Linux or Windows or OS X, you only need to include Csound headers and link with the Csound shared library. Regards, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Thu, Sep 11, 2014 at 3:21 PM, Rory Walsh <rorywalsh@ear.ie> wrote: Did you run cmake-gui from the Csound directory? That really is the |
Date | 2014-09-15 18:07 |
From | sjakops |
Subject | [Csnd] Re: Cmake: 'Csound requires the sndfile library' |
I managed now to do what I wanted, which is to run the examples with 'static linking'. I thought it was necessary to build the code myself but I'm glad I misunderstood that. Thank you both for the advice on this. Best regards, Søren -- View this message in context: http://csound.1045644.n5.nabble.com/Cmake-Csound-requires-the-sndfile-library-tp5737456p5737515.html Sent from the Csound - General mailing list archive at Nabble.com. |