| Thanks for raising the issue of a dev package for Python, I hadn't considered that.
I will look into other ways of providing these interfaces. For me I always have the Python dev package installed on Linux and it just comes with Python on Windows, and SWIG worked right away and never gave any problems. But if there's another way with fewer dependencies it should be checked out.
Regards,
Mike
-----Original Message-----
From: Anthony Kozar
Sent: Oct 13, 2005 12:56 PM
To: "csound@lists.bath.ac.uk"
Cc: New Csound Developer list
Subject: Re: [Csnd] Common Music and Csound 5
> This is so that users of Csound will be presented with a consistent, easy to
> use toolkit and people will not make false assumptions about what is and what
> is not possible with Csound.
Well, I think this is an interesting point. Witness all of the confusion we
have seen here recently over FLTK. Most Linux people already have FLTK
installed, and Windows and MacOS X users can download precompiled binaries.
But no one seems to end up with an -enable-threads'ed library by default, to
no end of confusion when trying to compile Csound.
I can certainly imagine a similar situation happening if some of the more
"popular" ways to obtain a binary libcsound release do not include
functionality such as the Python wrapper, but many people are trying to
install some nice new Python GUI over top of the library.
But, as a developer, I previously stated as well that I would like the
wrappers to be optional. *shrug*
> If there are platforms or users who have problems building a single library
> with the wrappers then of course it should be possible to configure the build
> to exclude the wrappers. But unless there is some compelling reason to the
> contrary I think the wrappers should be built by default in the main library.
Here is a question for you, Mike. You stated that there would be no
additional dependencies besides SWIG, but that the SWIG output could be
checked into CVS, thus alleviating that dependency (at least for anyone not
changing the API). But, you must be at least assuming a C++ compiler (which
I don't think would be a problem for any _desktop_ platform), and I also am
guessing that you are assuming the presence of Python. (Which at first
seems reasonable because of Scons).
But, will the Python dev package also have to be installed (the headers) in
order to make a wrapper? And let's keep in mind that there are some people
building (or attempting to build) Csound without Scons. (Myself included!
Scons doesn't work on MacOS 9, so I have a CodeWarrior IDE project set up
for the build).
Anthony Kozar
anthonykozar AT sbcglobal DOT net
http://akozar.spymac.net/
--
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
|