Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Csound 5 status

Date2005-08-29 19:27
FromMichael Gogins
SubjectRe: [Cs-dev] Csound 5 status
Just put the boost dir with the header files and all its subdirs into /usr/local/include.

Regards,
Mike

-----Original Message-----
From: Graham Breed 
Sent: Aug 29, 2005 12:58 PM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] Csound 5 status

I used to be a programmer, and I don't have any work or gigs to distract 
me, so I could look at CsoundVST.  I've got boost installed now from 
Darwin Ports, but scons can't find it.  I probably need to alter the 
include path.

Anyway,

Victor Lazzarini wrote:
> I am not aware of the need for any such changes.

It's currently failing with

ranlib libcsound.a
ar: creating archive libcsound.a
gcc -framework Carbon -framework CoreAudio -framework CoreMidi -o csound 
frontends/csound/csound_main.o -L. -L. -L/usr/local/lib -L. -L. 
-L/usr/local/lib -lcsound -lsndfile -lfltk -lpthread -lfltk -lstdc++ 
-lpthread -lm
ld: Undefined symbols:
_pthread_mutex_timedlock

and a previous

gcc -g -O2 -DCSOUND_WITH_API -DMACOSX -Wall -DPIPES -DHAVE_FCNTL_H 
-DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H 
-DHAVE_CTYPE_H -DHAVE_TERMIOS_H -DHAVE_STRING_H -DHAVE_DIRENT_H 
-D__BUILDING_LIBCSOUND -DWINDOWS -DUSE_FLTK -DBETA -I. -IH -c -o 
Top/threads.o Top/threads.c
Top/threads.c: In function `csoundWaitThreadLock':
Top/threads.c:194: warning: implicit declaration of function 
`pthread_mutex_timedlock'

may be implicated.  This is Tiger, with GCC 3.3 as the default compiler.


The last few days, I found it compiled but couldn't find ftgen.


              Graham






-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-08-30 20:42
FromGraham Breed
SubjectRe: [Cs-dev] Csound 5 status
Michael Gogins wrote:
> Just put the boost dir with the header files and all its subdirs into /usr/local/include.

scons customCPPPATH='/opt/local/include/boost-1_32/'

does the trick.  Then with GCC 3.3 it fails on

"""
/opt/local/include/boost-1_32/boost/numeric/ublas/vector_expression.hpp:1924: 
error: due
    to a defect in the G++ 3.2 ABI, G++ has assigned the same mangled 
name to
    two different types
"""

which is probably what's expected to go wrong.  Using Apple's GCC 4.0:

"""
In file included from frontends/CsoundVST/Counterpoint.cpp:2:
frontends/CsoundVST/Counterpoint.hpp:66:20: error: malloc.h: No such 
file or directory
In file included from /opt/local/include/boost-1_32/boost/config.hpp:35,
                  from 
/opt/local/include/boost-1_32/boost/numeric/ublas/config.hpp:24,
                  from 
/opt/local/include/boost-1_32/boost/numeric/ublas/matrix.hpp:20,
                  from frontends/CsoundVST/Counterpoint.hpp:67,
                  from frontends/CsoundVST/Counterpoint.cpp:2:
/opt/local/include/boost-1_32/boost/config/compiler/gcc.hpp:92:7: 
warning: #warning "Unknown compiler version - please run the configure 
tests and report the results"
"""

Maybe you have a different GCC4 as it's in a local path.  But we both 
get the "Unknown compiler version" warnings.  Oh yes, malloc.h is in

/usr/include/malloc/malloc.h
/usr/include/objc/malloc.h
/usr/include/sys/malloc.h



                Graham



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net