Csound Csound-dev Csound-tekno Search About

[Csnd] Can't build Csound Doubles unless Csound Floats is built first.

Date2010-08-31 17:47
FromJacob Joaquin
Subject[Csnd] Can't build Csound Doubles unless Csound Floats is built first.
An issue popped up, and I'm not sure how to categorize it.  I seem to
have an issue building Csound doubles if I haven't built the floats
version first. This is on OS X Snow Leopard.


g++ -o frontends/csladspa/csladspa.o -c -fexceptions -fabi-version=0
-Wno-format -g -fomit-frame-pointer -freorder-blocks -fPIC -DMACOSX
-DPIPES -I./frontends/csladspa -DHAVE_LIBSNDFILE=1016 -DUSE_DOUBLE
-DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
-DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H
-DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/include/malloc
-I/opt/local/include/boost-1_32 -I/usr/local/include
-I/usr/local/include frontends/csladspa/csladspa.cpp
In file included from frontends/csladspa/csladspa.cpp:32:
frontends/csladspa/ladspa.h:593: warning: ‘visibility’ attribute ignored
frontends/csladspa/csladspa.cpp: In function ‘unsigned int CountCSD(char**)’:
frontends/csladspa/csladspa.cpp:429: warning: deprecated conversion
from string constant to ‘char*’
frontends/csladspa/csladspa.cpp:441: warning: comparison is always
true due to limited range of data type
g++ -o csladspa.so -bundle -undefined suppress -flat_namespace
-framework CsoundLib frontends/csladspa/csladspa.o -L. -L.
-L/usr/local/lib64 -L. -L. -L/usr/local/lib -lsndfile -lpthread -lgomp
-lm
ld: framework not found CsoundLib
collect2: ld returned 1 exit status
scons: *** [csladspa.so] Error 1
scons: building terminated because of errors.


Here is my scons command:

scons useDouble=1 Word64=1 buildPythonOpcodes=1 pythonVersion=2.6
useGettext=0 buildInterfaces=1 usePortMIDI=0 buildRelease=1
dynamicCsoundLibrary=1 buildJavaWrapper=1 Lib64=1


Adding buildDSSI=0 doesn't help. My guess is that it requires
CsoundLib when only CsoundLib64 exists at this point.

Best,
Jake
-- 
The Csound Blog - http://csoundblog.com/
Slipmat - http://slipmat.noisepages.com/


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2010-08-31 19:08
FromVictor.Lazzarini@nuim.ie
Subject[Csnd] Re: Can't build Csound Doubles unless Csound Floats is built first.
AttachmentsNone  None  

Date2010-09-01 11:51
FromVictor Lazzarini
Subject[Csnd] Re: Re: Can't build Csound Doubles unless Csound Floats is built first.
Fixed in CVS.
On 31 Aug 2010, at 19:08, Victor.Lazzarini@nuim.ie wrote:

> That's an SConstruct bug: -framework CsoundLib  should be  - 
> framework CsoundLib64.
> I can fix this tomorrow when I have a mac computer in front of me.
>
> Victor
>
> ----- Original Message -----
> From: Jacob Joaquin 
> Date: Tuesday, August 31, 2010 5:48 pm
> Subject: [Csnd] Can't build Csound Doubles unless Csound Floats is  
> built first.
> To: csound@lists.bath.ac.uk
>
> > An issue popped up, and I'm not sure how to categorize it.
> > I seem to
> > have an issue building Csound doubles if I haven't built the floats
> > version first. This is on OS X Snow Leopard.
> >
> >
> > g++ -o frontends/csladspa/csladspa.o -c -fexceptions -fabi-version=0
> > -Wno-format -g -fomit-frame-pointer -freorder-blocks -fPIC -DMACOSX
> > -DPIPES -I./frontends/csladspa -DHAVE_LIBSNDFILE=1016 -DUSE_DOUBLE
> > -DHAVE_SYNC_LOCK_TEST_AND_SET -DHAVE_FCNTL_H -DHAVE_UNISTD_H
> > -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H - 
> DHAVE_TERMIOS_H
> > -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/include/malloc
> > -I/opt/local/include/boost-1_32 -I/usr/local/include
> > -I/usr/local/include frontends/csladspa/csladspa.cpp
> > In file included from frontends/csladspa/csladspa.cpp:32:
> > frontends/csladspa/ladspa.h:593: warning: ‘visibility’ attribute
> > ignoredfrontends/csladspa/csladspa.cpp: In function ‘unsigned
> > int CountCSD(char**)’:
> > frontends/csladspa/csladspa.cpp:429: warning: deprecated conversion
> > from string constant to ‘char*’
> > frontends/csladspa/csladspa.cpp:441: warning: comparison is always
> > true due to limited range of data type
> > g++ -o csladspa.so -bundle -undefined suppress -flat_namespace
> > -framework CsoundLib frontends/csladspa/csladspa.o -L. -L.
> > -L/usr/local/lib64 -L. -L. -L/usr/local/lib -lsndfile -lpthread - 
> lgomp
> > -lm
> > ld: framework not found CsoundLib
> > collect2: ld returned 1 exit status
> > scons: *** [csladspa.so] Error 1
> > scons: building terminated because of errors.
> >
> >
> > Here is my scons command:
> >
> > scons useDouble=1 Word64=1 buildPythonOpcodes=1 pythonVersion=2.6
> > useGettext=0 buildInterfaces=1 usePortMIDI=0 buildRelease=1
> > dynamicCsoundLibrary=1 buildJavaWrapper=1 Lib64=1
> >
> >
> > Adding buildDSSI=0 doesn't help. My guess is that it requires
> > CsoundLib when only CsoundLib64 exists at this point.
> >
> > Best,
> > Jake
> > --
> > The Csound Blog - http://csoundblog.com/
> > Slipmat - http://slipmat.noisepages.com/
> >
> >
> > Send bugs reports to the Sourceforge bug tracker
> >             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> > Discussions of bugs and features can be posted here
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
> > "unsubscribe csound"
> >
>
> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
> National University of Ireland, Maynooth



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"