Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: downloading csoundvst

Date2009-09-24 13:11
Frommichael.gogins@gmail.com
Subject[Csnd] Re: Re: Re: downloading csoundvst
You shouldn't need Python for CsoundVST!!?...

CsoundVST used to contain Python, I removed it because nobody, including 
myself, was using it. I forgot to remove this #include  directive. 
Remove it. I have removed it in Csound CVS.

Thanks,
Mike


----- Original Message ----- 
From: "Atte Andre Jensen" 
To: 
Sent: Thursday, September 24, 2009 5:33 AM
Subject: [Csnd] Re: Re: downloading csoundvst


> Atte Andre Jensen wrote:
>
>> frontends/CsoundVST/csoundvst_main.cpp:40: error: ‘RunCsoundVST_’ was not 
>> declared in this scope
>> scons: *** [frontends/CsoundVST/csoundvst_main.o] Error 1
>> scons: building terminated because of errors.
>
> changing "RunCsoundVST_" to "RunCsoundVST" (2 instances) in 
> frontends/CsoundVST/csoundvst_main.cpp got me a little further.
>
> Next problem, Python.h is no found, although it's sitting right there in 
> /usr/include/python2.6/Python.h:
>
> frontends/CsoundVST/CsoundVST.cpp:24:20: error: Python.h: No such file or 
> directory
>
> Adding this line to custom.py (under the the "if sys.platform[:5] == 
> 'linux':") clause took care of that, though:
>
>     customCPPPATH.append('/usr/include/python2.6')
>
> Now I'm getting as far as the linking:
>
> g++ -o 
> libCsoundVST.so -Wl,-Bdynamic -Wl,-rpath,/usr/lib -Wl,-rpath-link,. -shared 
>  --no-export-all-symbols 
> frontends/CsoundVST/vstsdk2.4/public.sdk/source/vst2.x/audioeffect.os 
> frontends/CsoundVST/vstsdk2.4/public.sdk/source/vst2.x/audioeffectx.os 
> frontends/CsoundVST/vstsdk2.4/public.sdk/source/vst2.x/vstplugmain.os 
> frontends/CsoundVST/CsoundVST.os frontends/CsoundVST/CsoundVstFltk.os 
> frontends/CsoundVST/CsoundVSTMain.os 
> frontends/CsoundVST/CsoundVstUi.os -L. -L. -L/usr/local/lib -L. -L. -L/usr/lib/fltk-1.1 
>  -lcsnd -lsndfile -lportaudio -lasound -llo -lfltk_images -lpng -lz -ljpeg 
>  -lfltk -lXft -lpthread -ldl -lm -lXext -lX11 -ldl -lstdc++ -lpthread -lm 
> libcsound.a -lsndfile -lutil -ldl -lm
> g++ -o CsoundVSTShell -Wl,-rpath-link,. -Wl,-Bdynamic 
> frontends/CsoundVST/csoundvst_main.o -L. -L. -L/usr/local/lib -L. -L. -L/usr/lib/fltk-1.1 
>  -lcsound32 -lcsnd -lCsoundVST
> /usr/bin/ld: cannot find -lcsound32
> collect2: ld returned 1 exit status
> scons: *** [CsoundVSTShell] Error 1
> scons: building terminated because of errors.
>
> Hmm, grep tells me this:
>
> [atte@vestbjerg 09_09_23]$ grep -R lcsound32 *
> Makefile-win32:CSLIB_LNK = -lcsound32
>
> But, I'm building for linux, not win32 (assuming win32 means "windows 32 
> bit platform").
>
> Any ideas from here?
>
> -- 
> Atte
>
> http://atte.dk   http://modlys.dk   http://virb.com/atte
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"
> 



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-09-24 17:16
FromAtte Andre Jensen
Subject[Csnd] Re: Re: Re: Re: downloading csoundvst
michael.gogins@gmail.com wrote:

> You shouldn't need Python for CsoundVST!!?...

Thanks for all your replies, however in all the junk I wrote, you might 
have lost track :-)

My current problem is that the linker fails:

/usr/bin/ld: cannot find -lcsound32

Could you help me a bit further here?

> CsoundVST used to contain Python, I removed it because nobody, including 
> myself, was using it.

I don't know what I could do with python (actually I'm curious what can 
be done with the vst in the first place), but I'm totally in love with 
python, so I imagine myself using it. But maybe those possibilities 
would be available otherwise with other build options?

> I forgot to remove this #include  
> directive. Remove it. I have removed it in Csound CVS.

As mentioned, it was a simple matter of adding the directory to 
custom.py. I don't know what get's left out by removing the include, 
but, an other solution would be to add the python directory to custom.py...