| Where the VST SDK is installed depends on what you are building. If you are
building CsoundVST, it goes in the CsoundVST directory.
If you are building FLTK, you can simply place the several directories where
the VST SDK has headers the FLTK opcodes need into custom.py. This is what I
do.
In general, people should not hard-code whole include paths. I think I will
take this out.
Regards,
Mike
----- Original Message -----
From: "Oeyvind Brandtsegg"
To: ; "Developer discussions"
Sent: Sunday, October 21, 2007 7:38 AM
Subject: Re: [Cs-dev] compiling again
> 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
-------------------------------------------------------------------------
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 |