| Did you define an environment variable PYTHONPATH pointing to the directory where CsoundVST shared library is? Not doing this seems the likeliest explanation.
You can try running the Python command interpreter, then trying to "import CsoundVST". You can "import sys" and "sys.path.append('whatever directory I think CsoundVST is in')" and then "import CsoundVST". This may be more informative than just trying to run the program.
CsoundVST creates CSOUND * _in Python_ and retrieves CSOUND * _from Python_ so that it can run the same instance of Csound both from its own C++ code and from the user's Python code, install message callbacks so Csound messages go to the Python message output and from that to the edit box in the GUI, etc., hence the need to "import CsoundVST" before running.
Thanks for trying this out on OS X, I know there are at least a few potential users for this on OS X.
Regards,
Mike
-----Original Message-----
From: Victor Lazzarini
Sent: Oct 26, 2005 1:51 PM
To: csound-devel@lists.sourceforge.net
Subject: [Cs-dev] csoundVST on OSX
I have tried to build csoundVST on OSX; after fixing
the gcvt issue in one of the sources, it seemed to
build OK, except for the Java wrappers, the JCsound_wrap.cc
throws thousands of errors, so I am not sure what the
problem
is there.
Now when I try to run it I get problems. This is the
stdin message output. Perhaps Michael can tell what
the problem is.
NB: I know, for a start, that there might be a major issue
regarding dynamic linking. Python requires their modules
to be bundles, _CsoundVST.dylib is a dynamic lib; but
CsoundVST in turn might (?) expect it to be a dynamic lib,
so the same lib might not serve for both ends.
Starting CsoundVST...
Localisation of messages is disabled, using default
language.
time resolution is 1000.000 ns
BEGAN Shell::runScript()...
=======================================================
=======================================================
=======================================================
=======================================================
PyRun_SimpleString returned 0.
ENDED Shell::runScript().
BEGAN Shell::runScript()...
=======================================================
=======================================================
Traceback (most recent call last):
File "", line 1, in ?
ImportError: No module named CsoundVST
=======================================================
=======================================================
PyRun_SimpleString returned -1.
ENDED Shell::runScript().
BEGAN Shell::runScript()...
=======================================================
=======================================================
AttributeError: 'module' object has no attribute 'csound'
=======================================================
=======================================================
PyRun_SimpleString returned -1.
ENDED Shell::runScript().
Csound tidy up: Segmentation fault
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |