| I think, for some reason, your OPCODEDIR variable is set to that
directory that doesn't exist. Try setting
it to point to the directory where your plugins are.
On 1 Jan 2010, at 19:49, michel90 wrote:
>
> I'm newbie using csound API under Linux. Just write a simple program
> below:
>
> #include
> #include "csound.hpp"
> int main(int argc, char* argv[])
> {
> /*Create an instance of Csound*/
> CSOUND*csound=csoundCreate(0);
> /*Initialise the library*/
> csoundInitialize(&argc, &argv, 0);
> /*Compile Csound, i.e., run Csound with
> the parameters passed via the command line.
> Return false is successful*/
> int result=csoundCompile(csound,argc,argv);
> /*check to see that Csound compiled Ok, then
> start the performance loop. csoundPerformKsmps()
> returns false if successful*/
> if(!result)
> {
> while(csoundPerformKsmps(csound)==0);
> }
> /*Finally destroy Csound*/
> csoundDestroy(csound);
> return result;
> }
>
> or anything else ....
>
> if compiling using this command:
>
> g++ test.cpp -lcsound -L/usr/local/lib -I/usr/local/include/csound
>
> everything is fine. compile is successful. but if I wanna running
> using this
> command:
>
> ./a.out
>
> got this error:
>
> "Error opening plugin directory
> '/home/jpff/Sourceforge/TEMP/lib/csound/plugins': No such file or
> directory"
>
> I don't know how can I fix this problem ...
> content of my home direcotry :
>
> me
> michel
>
> nothing else :(
>
> what's the problem ?
> --
> View this message in context: http://old.nabble.com/problem-runnig-any-application-written-with-csound-API-libraries-tp26982747p26982747.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> 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" |