Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] problems with host app following Python 2.5 install

Date2007-05-04 15:08
FromVictor Lazzarini
SubjectRe: [Cs-dev] problems with host app following Python 2.5 install
Is it not csnd.dll (libcsnd.so) instead of _csnd.dll (lib_csnd.dll). At 
least it's
what I have here.

At 15:03 04/05/2007, you wrote:
>The libraries have changed.
>
>_csnd.dll is now the dynamically loaded library (module) _csnd.pyd 
>containing Python stubs only, which uses the dynamically linked libary 
>(shared library) csnd.dll or csnd.so.
>
>Do not rename any libraries. Link your host with csnd.so or csnd.dll.
>
>Regards,
>Mike
>
>-----Original Message-----
> >From: Jonathan Murphy 
> >Sent: May 4, 2007 7:27 AM
> >To: csound-devel@lists.sourceforge.net
> >Subject: [Cs-dev] problems with host app following Python 2.5 install
> >
> >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

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth


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