Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Compiling on Mac OS X 10.5 Leopard

Date2008-10-28 13:00
FromMichael Gogins
SubjectRe: [Cs-dev] Compiling on Mac OS X 10.5 Leopard
The linear algebra opcodes are only for csound64, but they should work on all platforms.

Anything Victor has for installing stuff should definitely be in CVS, I should think.

Regards,
Mike

-----Original Message-----
>From: Anthony Kozar 
>Sent: Oct 27, 2008 10:55 PM
>To: New Csound Developer list 
>Subject: [Cs-dev] Compiling on Mac OS X 10.5 Leopard
>
>Hello, 
>
>I just wanted to say that I have been using OS X 10.5 on my computer for a
>few weeks now and last week I went ahead and compiled Csound 5.09 from
>scratch because I needed the Python interface to try Chuckk's new tkinter
>front end.  I was also thinking ahead to making packages for 10.5 in the
>future.
>
>Basically, I started with a nearly "clean" Leopard system -- I had installed
>Victor's 5.09 PPC package but uninstalled it when I found that it would not
>work for Python (unsurprisingly).  I downloaded the latest source code for
>nearly all of Csound's dependencies and many optional components, built each
>of them, and finally built Csound.  There were a few snags along the way but
>I documented the entire experience so that it is hopefully repeatable.  I
>was unable to get the new linear algebra opcodes to compile.  And I did not
>try to build Jack support or DSSI opcodes.  Otherwise, I think that I did
>succeed in building everything else.  Installing everything into the correct
>locations was another matter as I did not see an OS X script in CVS for
>this, so I hacked the install.py script as a partial solution.
>
>Victor, you mentioned that you have more files/scripts that you use for
>packaging Csound releases.  Could you share those with me please?
>
>I'll post more details about the problems I had while building later.
>
>Thanks.
>
>Anthony Kozar
>mailing-lists-1001 AT anthonykozar DOT net
>http://anthonykozar.net/
>
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______________________________________________
>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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-10-29 03:19
FromAnthony Kozar
SubjectRe: [Cs-dev] Compiling linear algebra ops
Michael Gogins wrote on 10/28/08 9:00 AM:

> The linear algebra opcodes are only for csound64, but they should work on all
> platforms.

I assume that this means I should only expect them to work with
--useDouble=1 (i.e. you do not mean the --Word64 option) ?  I was compiling
the float version.  However, SCons always tries to build the linear algebra
opcodes if both Boost and gmm.h are found (both of which I installed)
regardless of the state of the useDouble option.

Is there any way to make these opcodes compatible with both floats and
doubles?

Here are the first few errors that I received in case I am misunderstanding
something (using GCC 4.01):

Opcodes/linear_algebra.cpp: In member function 'int
la_i_qr_eigen_mr_t::init(CSOUND*)':

Opcodes/linear_algebra.cpp:4117: error: ISO C++ says that these are
ambiguous, even though the worst conversion for the first is better than the
worst conversion for the second:

/usr/local/include/gmm/gmm_dense_qr.h:552: note: candidate 1: void
gmm::implicit_qr_algorithm(const MAT1&, const VECT&, const MAT2&, typename
gmm::number_traits::value_type>::magnitude_type, bool) [with MAT1 =
gmm::dense_matrix, VECT = std::vector >,
MAT2 = double]

/usr/local/include/gmm/gmm_dense_qr.h:586: note: candidate 2: void
gmm::implicit_qr_algorithm(const MAT1&, VECT&, typename
gmm::number_traits::value_type>::magnitude_type) [with MAT1 =
gmm::dense_matrix, VECT = std::vector >]

Opcodes/linear_algebra.cpp: In member function 'int
la_k_qr_eigen_mr_t::kontrol(CSOUND*)':

etc.



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net