| you're probably right. cs_glue.h/hpp is the glue code for wrappers
(Python etc), which you might not need when writing C/C++
hosts. But if these have been commented out, there might be
a reason.
At 13:05 04/05/2007, you wrote:
>But they are also read when using the API, so perhaps the comments are
>necessary? Otherwise, if Csound has been installed, but cs_glue.h has
>not (which seems to be what happens), then the header will not be
>found. If the header is only using when building csound, then maybe the
>conditional statements are a good idea.
>
>PS. What has happened to lib_csnd.so?
>
>J.
>
>Victor Lazzarini writes:
>
> > well this should not affect what you want to do anyway; that token
> > is used when building libcsnd.so. If it has been commented out
> > then, it should be OK.
> >
> > Victor
> >
> > At 12:42 04/05/2007, you wrote:
> >>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
> >
> > 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
> > 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 |