Re: Common Music and Csound 5
Date | 2005-10-13 14:56 |
From | Michael Gogins |
Subject | Re: Common Music and Csound 5 |
I think we need to see how this shakes out. Anything as complex as Csound now is, needs to be simplified as much as possible, so I would prefer a single library. 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. 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. Regards, Mike -----Original Message----- From: Istvan Varga |
Date | 2005-10-13 17:56 |
From | Anthony Kozar |
Subject | Re: 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/ |
Date | 2005-10-13 18:10 |
From | Istvan Varga |
Subject | Re: Common Music and Csound 5 |
Anthony Kozar wrote: >>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. > > 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* So, by keeping the wrappers in a separate library, there is no confusion about the main library containing them or not, yet it is possible to build a version of libcsound that is smaller, more portable, and has less dependencies. |
Date | 2005-10-14 01:20 |
From | Iain Duncan |
Subject | Re: Common Music and Csound 5 |
Why not have two mirrored releases available, one that is by default very minimal, and the other by default includes everything? I know as a relatively novice programmer, that is what I would prefer on the receiving end. Iain Anthony Kozar wrote: >>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/ > |
Date | 2005-10-14 09:26 |
From | Istvan Varga |
Subject | Re: Common Music and Csound 5 |
Iain Duncan wrote: > Why not have two mirrored releases available, one that is by default > very minimal, and the other by default includes everything? I know as a > relatively novice programmer, that is what I would prefer on the > receiving end. Again, this can be solved by having the wrappers in a separate library. |