| No, they are not needed, I should remove them. I left them so as not to have to fix all files #includeing cs_glue.hpp.
Regards,
Mike
-----Original Message-----
>From: Jonathan Murphy
>Sent: May 4, 2007 7:42 AM
>To: Developer discussions
>Subject: Re: [Cs-dev] problems with host app following Python 2.5 install
>
>However, are the following lines still needed in csound.hpp?
>
>//#ifdef __BUILDING_CSOUND_INTERFACES
>#include "cs_glue.h"
>//#endif
>
>J.
>
>Jonathan Murphy writes:
>
>> Sorry for the noise. Too much coffee. Post questions first and think
>> later. ldconfig. Aahh.
>>
>> J.
>>
>> Jonathan Murphy writes:
>>
>>> I'm working on a host app in c++. Following upgrade to Python 2.5, and
>>> re-installation of csound, I am getting some strange behaviour. The
>>> name of my app is interface, the code is in interface.cpp. It also
>>> uses ConfigFile. My previous command to build was:
>>>
>>> g++ -O3 -march=pentium-m -msse3 -o interface
>>> -I/usr/local/include/csound interface.cpp ConfigFile.cpp -lcsound
>>> -l_csnd -lsndfile -ldl -lasound -lfltk -lboost_filesystem-gcc
>>> -lboost_program_options-gcc -lpthread
>>>
>>> This failed with:
>>>
>>> In file included from interface.cpp:3:
>>> /usr/local/include/csound/csound.hpp:43:21: cs_glue.h: No such file or
>>> directory
>>>
>>> So I copied cs_glue.h to /usr/local/include/csound
>>>
>>> Then:
>>>
>>> /usr/bin/ld: cannot find -l_csnd
>>>
>>> So I changed my build command to:
>>>
>>> g++ -O3 -march=pentium-m -msse3 -o interface
>>> -I/usr/local/include/csound interface.cpp ConfigFile.cpp -lcsound
>>> -lcsnd -lsndfile -ldl -lasound -lfltk -lboost_filesystem-gcc
>>> -lboost_program_options-gcc -lpthread
>>>
>>> This builds without errors, but now when I try to run my app, I get:
>>>
>>> ./interface: error while loading shared libraries: libcsnd.so: cannot
>>> open shared object file: No such file or directory
>>>
>>> Which is weird because /usr/local/lib/libcsnd.so exists.
>>>
>>> Any clues?
>>>
>>> Jonathan.
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |