Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] compiling again

Date2007-10-24 01:50
From"Michael Gogins"
SubjectRe: [Cs-dev] compiling again
OK, I have the following directory structure, which results from copying the 
entire VST SDK without alteration or omission into the frontends/CsoundVST 
directory:

frontends\CsoundVST\vstsdk2.4\public.sdk\source\vst2.x\audioeffectx.h

and everything else from the VST SDK in corresponding places.

That is exactly where vsthost.h is hard-coded to find it:

#include 
"../../../frontends/CsoundVST/vstsdk2.4/public.sdk/source/vst2.x/audioeffectx.h"

Perhaps we should change the source code not to use a complete path, but 
just part of the path, e.g.

#include "public.sdk/source/vst2.x/audioeffectx.h"

That is the pattern used by the VST SDK samples.

Also, in my custom.py I have:

################################################################
# If you want to build vst4cs or CsoundVST you need the include
# path to the VST SDK header files. Add them there:
customCPPPATH.append(r'D:\utah\home\mkg\projects\csoundd\frontends\CsoundVST\vstsdk2.4')

This seems to be required for building vst4cs.

Obviously I have no trouble building all these things. Perhaps you are only 
trying to build some? Or perhaps you have an old VST SDK in your include 
path?

If you are still having problems let me know, in detail, what happened and I 
will look at it ASAP.

Hope this helps,
Mike

----- Original Message ----- 
From: "Oeyvind Brandtsegg" 
To: "Michael Gogins" ; "Developer discussions" 

Sent: Monday, October 22, 2007 3:38 PM
Subject: Re: [Cs-dev] compiling again


> I'm on winXP, using mingw/gcc3.4.3, scons0.96, boost1.31.1.
> I have vstsdk2.4 in frontends\CsoundVST\vstsdk2.4.
> best
> Oeyvind
>
>
> 2007/10/22, Michael Gogins :
>> What operating system are we talking about here? And what architecture?
>>
>> Regards,
>> Mike
>>
>> -----Original Message-----
>> >From: Oeyvind Brandtsegg 
>> >Sent: Oct 22, 2007 10:11 AM
>> >To: Developer discussions 
>> >Subject: Re: [Cs-dev] compiling again
>> >
>> >Yes, that's what I figured too.
>> >But it still does not compile FLTK without commenting out those lines
>> >in widglobals.h.
>> >It also will not compile csoundVST, vst4cs or csoundAC.
>> >
>> >Michael, when you get time, please get back to this.
>> >
>> >best
>> >Oeyvind
>> >
>> >2007/10/22, Victor Lazzarini :
>> >> I think it goes under ./frontends/CsoundVST
>> >>
>> >> you'll copy the vstsdk2.4 directory there
>> >>
>> >> Victor
>> >>
>> >> At 12:38 21/10/2007, you wrote:
>> >> >Thanks for the help.
>> >> >
>> >> >Now this is a status report:
>> >> >
>> >> >* Building without FLTK works
>> >> >* Commenting out the lines in widglobals.h, let me compile with FLTK
>> >> >(the file resides in /InOut, not in /H)
>> >> >* I do have the VST SDK installed, and I do have the file
>> >> >Opcodes/vst4cs/src/vsthost.h,
>> >> >Michael: where should the VSK SDK be installed
>> >> >
>> >> >On a related subject,
>> >> >I tried compiling with vst4cs but get this error:
>> >> >In file included from InOut\widgets.cpp:24:
>> >> >InOut\/widglobals.h:240: error: `VSTPlugin' was not declared in this 
>> >> >scope
>> >> >InOut\/widglobals.h:240: error: template argument 1 is invalid
>> >> >InOut\/widglobals.h:240: error: template argument 2 is invalid
>> >> >InOut\/widglobals.h:240: error: ISO C++ forbids declaration of
>> >> >`VSTplugEditors' with no type
>> >> >InOut\/widglobals.h:241: error: `VSTPlugin' was not declared in this 
>> >> >scope
>> >> >InOut\/widglobals.h:241: error: template argument 1 is invalid
>> >> >InOut\/widglobals.h:241: error: template argument 2 is invalid
>> >> >InOut\/widglobals.h:241: error: ISO C++ forbids declaration of
>> >> >`vstPlugins' with no type
>> >> >scons: building terminated because of errors.
>> >> >scons: *** [InOut\widgets.o] Error 1
>> >> >
>> >> >best
>> >> >Oeyvind
>> >> >
>> >> >
>> >> >2007/10/21, Victor Lazzarini :
>> >> > > I had this error, this is because SConstruct
>> >> > > can't find the VST headers. It's actually
>> >> > > what I would describe as a PITA. I alerted the list,
>> >> > > but none cared to do anything about it.
>> >> > > You can do two things:
>> >> > > (a) don't compile with FLTK
>> >> > > (b) if you need FLTK, go and comment out
>> >> > > the following lines in H/widglobals.h:
>> >> > > (c) install the VST SDK where Michael Gogins
>> >> > > tells you to.
>> >> > >
>> >> > > #ifdef CS_VSTHOST
>> >> > > /* for the moment, to be able to build FLTK
>> >> > >   without VST, until a fix is found */
>> >> > > /* #include "Opcodes/vst4cs/src/vsthost.h" */
>> >> > > #endif
>> >> > >
>> >> > > I think this needs to be sorted out better, I
>> >> > > am really unhappy about it. This has to do with
>> >> > > the FLTK panel for VST host opcodes. But even if
>> >> > > you don't build with these, when scons reads
>> >> > > widglobals.h it tries to find all header files
>> >> > > listed there (and ignores #ifdefs). Then fails
>> >> > > because it can't find it.
>> >> > >
>> >> > > But I think it's just a mess.
>> >> > >
>> >> > > Victor
>> >> > >
>> >> > > >
>> >> > > > I got one step further by installing an older version of
>> >> > > > scons that I had lying around (version 0.96). This gets me
>> >> > > > through to the actual building stag, but stops on this
>> >> > > > error:
>> >> > > >
>> >> > > > scons: done reading SConscript files.
>> >> > > > scons: Building targets ...
>> >> > > > scons: building terminated because of errors.
>> >> > > > scons: *** ParentOfRoot instance has no attribute
>> >> > > > 'must_be_a_Dir'
>> >> > > >
>> >> > > > What version of scons do you use ? Should it work with
>> >> > > > 0.96 ? >From a quick web search it seems that "older
>> >> > > > versions" (whatever that is) did not allow relative paths
>> >> > > > like ../ I would use the newest scons, but that one gives
>> >> > > > the UnicodeDecode errors for me.
>> >> > > >
>> >> > > > Oeyvind
>> >> > > >
>> >> > > > ----------------------------------------------------------
>> >> > > > --------------- This SF.net email is sponsored by: Splunk
>> >> > > > Inc. Still grepping through log files to find problems?
>> >> > > > Stop. Now Search log events and configuration files using
>> >> > > > AJAX and a browser. Download your FREE copy of Splunk now
>> >> > > > >> http://get.splunk.com/
>> >> > > > _______________________________________________
>> >> > > > Csound-devel mailing list
>> >> > > > Csound-devel@lists.sourceforge.net
>> >> > > > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >> > >
>> >> > > -------------------------------------------------------------------------
>> >> > > This SF.net email is sponsored by: Splunk Inc.
>> >> > > Still grepping through log files to find problems?  Stop.
>> >> > > Now Search log events and configuration files using AJAX and a 
>> >> > > browser.
>> >> > > Download your FREE copy of Splunk now >> http://get.splunk.com/
>> >> > > _______________________________________________
>> >> > > Csound-devel mailing list
>> >> > > Csound-devel@lists.sourceforge.net
>> >> > > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >> > >
>> >> >
>> >> >-------------------------------------------------------------------------
>> >> >This SF.net email is sponsored by: Splunk Inc.
>> >> >Still grepping through log files to find problems?  Stop.
>> >> >Now Search log events and configuration files using AJAX and a 
>> >> >browser.
>> >> >Download your FREE copy of Splunk now >> http://get.splunk.com/
>> >> >_______________________________________________
>> >> >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: Splunk Inc.
>> >> Still grepping through log files to find problems?  Stop.
>> >> Now Search log events and configuration files using AJAX and a 
>> >> browser.
>> >> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> >> _______________________________________________
>> >> Csound-devel mailing list
>> >> Csound-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>
>> >
>> >-------------------------------------------------------------------------
>> >This SF.net email is sponsored by: Splunk Inc.
>> >Still grepping through log files to find problems?  Stop.
>> >Now Search log events and configuration files using AJAX and a browser.
>> >Download your FREE copy of Splunk now >> http://get.splunk.com/
>> >_______________________________________________
>> >Csound-devel mailing list
>> >Csound-devel@lists.sourceforge.net
>> >https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-10-24 08:22
From"Oeyvind Brandtsegg"
SubjectRe: [Cs-dev] compiling again
AttachmentsNone