Csound Csound-dev Csound-tekno Search About

[Cs-dev] compiling on OSX 10.6

Date2010-07-30 23:08
FromOeyvind Brandtsegg
Subject[Cs-dev] compiling on OSX 10.6
Following my recent problems (live input/tablewa pitch problems) under
windows, I also tried compiling on OSX here.

I get the following error:

ranlib libcsound.a
gcc -o atsa -framework Carbon -framework CoreAudio -framework CoreMidi
util/atsa_main.o -L. -L. -L/usr/local/lib -L. -L. -L/usr/local/lib
-lsndfile -lpthread -lm -lsndfile -lcsound -lpthread -lm
Undefined symbols:
  "__dyld_func_lookup", referenced from:
      _csoundOpenLibrary in libcsound.a(csmodule.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
scons: *** [atsa] Error 1
scons: building terminated because of errors.

any suggestions welcome
all best
Oeyvind

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-30 23:38
FromVictor Lazzarini
SubjectRe: [Cs-dev] compiling on OSX 10.6
This is because __dyld_func_lookup()  and friends do not exist in  
10.6. The latest CVS code should have replacement code for this in the  
form of dlopen() etc. It should automatically detect it's 10.6 and use  
this code, unless something has been changed there.

Victor
On 30 Jul 2010, at 23:08, Oeyvind Brandtsegg wrote:

> Following my recent problems (live input/tablewa pitch problems) under
> windows, I also tried compiling on OSX here.
>
> I get the following error:
>
> ranlib libcsound.a
> gcc -o atsa -framework Carbon -framework CoreAudio -framework CoreMidi
> util/atsa_main.o -L. -L. -L/usr/local/lib -L. -L. -L/usr/local/lib
> -lsndfile -lpthread -lm -lsndfile -lcsound -lpthread -lm
> Undefined symbols:
>  "__dyld_func_lookup", referenced from:
>      _csoundOpenLibrary in libcsound.a(csmodule.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> scons: *** [atsa] Error 1
> scons: building terminated because of errors.
>
> any suggestions welcome
> all best
> Oeyvind
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-30 23:42
FromSteven Yi
SubjectRe: [Cs-dev] compiling on OSX 10.6
Hi Victor,

This was not working for me either (I was trying to figure out this
bug as I thought it was a CMake build bug).  I had to change
csmodule.c to import AvailabilityMacros.h, otherwise the values that
were being checked were not defined and it always built the
OLD_MACH_CODE.  I made the change to:

#if defined(__MACH__)
#include 
#if defined(MAC_OS_X_VERSION_10_6) && (MAC_OS_X_VERSION_MIN_REQUIRED>=MAC_OS_X_V
ERSION_10_6)


This works now for me. I'm going to check in this change after this
email to trunk.

Oeyvind, could you check this out from CVS and try?

steven



On Fri, Jul 30, 2010 at 6:38 PM, Victor Lazzarini
 wrote:
> This is because __dyld_func_lookup()  and friends do not exist in
> 10.6. The latest CVS code should have replacement code for this in the
> form of dlopen() etc. It should automatically detect it's 10.6 and use
> this code, unless something has been changed there.
>
> Victor
> On 30 Jul 2010, at 23:08, Oeyvind Brandtsegg wrote:
>
>> Following my recent problems (live input/tablewa pitch problems) under
>> windows, I also tried compiling on OSX here.
>>
>> I get the following error:
>>
>> ranlib libcsound.a
>> gcc -o atsa -framework Carbon -framework CoreAudio -framework CoreMidi
>> util/atsa_main.o -L. -L. -L/usr/local/lib -L. -L. -L/usr/local/lib
>> -lsndfile -lpthread -lm -lsndfile -lcsound -lpthread -lm
>> Undefined symbols:
>>  "__dyld_func_lookup", referenced from:
>>      _csoundOpenLibrary in libcsound.a(csmodule.o)
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> scons: *** [atsa] Error 1
>> scons: building terminated because of errors.
>>
>> any suggestions welcome
>> all best
>> Oeyvind
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>> http://p.sf.net/sfu/dev2dev-palm
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-30 23:50
FromVictor Lazzarini
SubjectRe: [Cs-dev] compiling on OSX 10.6
Ok, thanks. This is strange because I swear I had built this on a 10.6  
machine in the lab.
Could you move the availability macros header to sysdep.h so that all  
of Csound code can see it? I use similar conditionals in rtcoreaudio.c.

Victor

On 30 Jul 2010, at 23:42, Steven Yi wrote:

> Hi Victor,
>
> This was not working for me either (I was trying to figure out this
> bug as I thought it was a CMake build bug).  I had to change
> csmodule.c to import AvailabilityMacros.h, otherwise the values that
> were being checked were not defined and it always built the
> OLD_MACH_CODE.  I made the change to:
>
> #if defined(__MACH__)
> #include 
> #if defined(MAC_OS_X_VERSION_10_6) &&  
> (MAC_OS_X_VERSION_MIN_REQUIRED>=MAC_OS_X_V
> ERSION_10_6)
>
>
> This works now for me. I'm going to check in this change after this
> email to trunk.
>
> Oeyvind, could you check this out from CVS and try?
>
> steven
>
>
>
> On Fri, Jul 30, 2010 at 6:38 PM, Victor Lazzarini
>  wrote:
>> This is because __dyld_func_lookup()  and friends do not exist in
>> 10.6. The latest CVS code should have replacement code for this in  
>> the
>> form of dlopen() etc. It should automatically detect it's 10.6 and  
>> use
>> this code, unless something has been changed there.
>>
>> Victor
>> On 30 Jul 2010, at 23:08, Oeyvind Brandtsegg wrote:
>>
>>> Following my recent problems (live input/tablewa pitch problems)  
>>> under
>>> windows, I also tried compiling on OSX here.
>>>
>>> I get the following error:
>>>
>>> ranlib libcsound.a
>>> gcc -o atsa -framework Carbon -framework CoreAudio -framework  
>>> CoreMidi
>>> util/atsa_main.o -L. -L. -L/usr/local/lib -L. -L. -L/usr/local/lib
>>> -lsndfile -lpthread -lm -lsndfile -lcsound -lpthread -lm
>>> Undefined symbols:
>>>  "__dyld_func_lookup", referenced from:
>>>      _csoundOpenLibrary in libcsound.a(csmodule.o)
>>> ld: symbol(s) not found
>>> collect2: ld returned 1 exit status
>>> scons: *** [atsa] Error 1
>>> scons: building terminated because of errors.
>>>
>>> any suggestions welcome
>>> all best
>>> Oeyvind
>>>
>>> ------------------------------------------------------------------------------
>>> The Palm PDK Hot Apps Program offers developers who use the
>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a  
>>> share
>>> of $1 Million in cash or HP Products. Visit us here for more  
>>> details:
>>> http://p.sf.net/sfu/dev2dev-palm
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>> http://p.sf.net/sfu/dev2dev-palm
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-30 23:52
FromSteven Yi
SubjectRe: [Cs-dev] compiling on OSX 10.6
Sure that makes sense, I'll move that over to sysdep.h now and will
commit momentarily.

Thanks!
steven

On Fri, Jul 30, 2010 at 6:50 PM, Victor Lazzarini
 wrote:
> Ok, thanks. This is strange because I swear I had built this on a 10.6
> machine in the lab.
> Could you move the availability macros header to sysdep.h so that all
> of Csound code can see it? I use similar conditionals in rtcoreaudio.c.
>
> Victor
>
> On 30 Jul 2010, at 23:42, Steven Yi wrote:
>
>> Hi Victor,
>>
>> This was not working for me either (I was trying to figure out this
>> bug as I thought it was a CMake build bug).  I had to change
>> csmodule.c to import AvailabilityMacros.h, otherwise the values that
>> were being checked were not defined and it always built the
>> OLD_MACH_CODE.  I made the change to:
>>
>> #if defined(__MACH__)
>> #include 
>> #if defined(MAC_OS_X_VERSION_10_6) &&
>> (MAC_OS_X_VERSION_MIN_REQUIRED>=MAC_OS_X_V
>> ERSION_10_6)
>>
>>
>> This works now for me. I'm going to check in this change after this
>> email to trunk.
>>
>> Oeyvind, could you check this out from CVS and try?
>>
>> steven
>>
>>
>>
>> On Fri, Jul 30, 2010 at 6:38 PM, Victor Lazzarini
>>  wrote:
>>> This is because __dyld_func_lookup()  and friends do not exist in
>>> 10.6. The latest CVS code should have replacement code for this in
>>> the
>>> form of dlopen() etc. It should automatically detect it's 10.6 and
>>> use
>>> this code, unless something has been changed there.
>>>
>>> Victor
>>> On 30 Jul 2010, at 23:08, Oeyvind Brandtsegg wrote:
>>>
>>>> Following my recent problems (live input/tablewa pitch problems)
>>>> under
>>>> windows, I also tried compiling on OSX here.
>>>>
>>>> I get the following error:
>>>>
>>>> ranlib libcsound.a
>>>> gcc -o atsa -framework Carbon -framework CoreAudio -framework
>>>> CoreMidi
>>>> util/atsa_main.o -L. -L. -L/usr/local/lib -L. -L. -L/usr/local/lib
>>>> -lsndfile -lpthread -lm -lsndfile -lcsound -lpthread -lm
>>>> Undefined symbols:
>>>>  "__dyld_func_lookup", referenced from:
>>>>      _csoundOpenLibrary in libcsound.a(csmodule.o)
>>>> ld: symbol(s) not found
>>>> collect2: ld returned 1 exit status
>>>> scons: *** [atsa] Error 1
>>>> scons: building terminated because of errors.
>>>>
>>>> any suggestions welcome
>>>> all best
>>>> Oeyvind
>>>>
>>>> ------------------------------------------------------------------------------
>>>> The Palm PDK Hot Apps Program offers developers who use the
>>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a
>>>> share
>>>> of $1 Million in cash or HP Products. Visit us here for more
>>>> details:
>>>> http://p.sf.net/sfu/dev2dev-palm
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> The Palm PDK Hot Apps Program offers developers who use the
>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>>> of $1 Million in cash or HP Products. Visit us here for more details:
>>> http://p.sf.net/sfu/dev2dev-palm
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>> http://p.sf.net/sfu/dev2dev-palm
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-30 23:53
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] compiling on OSX 10.6
oops.
Now I got some other bunch of (scons?) errors.
I'm sending the whole console print, in case there's something I'm missing

Oeyvind

***
Randi-Martines-iBook:csound5 randi$ python /usr/local/bin/sconsscons:
Reading SConscript files ...

      C S O U N D 5

SCons build file for Csound 5:
API library, plugin opcodes, utilities, and front ends.

By Michael Gogins 

For custom options, run 'scons -h'.
For default options, run 'scons -H'.
If headers or libraries are not found, edit 'custom.py'.
For Linux, run in the standard shell
    with standard Python and just run 'scons'.
For MinGW, run in the MSys shell
    and use www.python.org WIN32 Python to run scons.
For Microsoft Visual C++, run in the Platform SDK
    command shell, and use www.python.org WIN32 Python to run scons.

System platform is 'darwin'.

scons: warning: The Options class is deprecated; use the Variables
class instead.
File "/Users/randi/Desktop/Oeyvind/csound5/SConstruct", line 74, in 
Using options from 'custom.py.'
Build platform is 'darwin'.
SCons tools on this platform:  ['default', 'applelink', 'gcc', 'g++',
'gfortran', 'as', 'ar', 'filesystem', 'm4', 'lex', 'yacc', 'rpcgen',
'swig', 'jar', 'javac', 'javah', 'rmic', 'tar', 'zip', 'CVS', 'RCS']
Checking for C header file libintl.h... (cached) no
CONFIGURATION DECISION: Using single-precision floating point for audio samples.
Mac OS X version 10.6
Apple Python version is 2.6
Current Python version is 2.6, using Apple Python Framework
Checking for C header file stdio.h... (cached) yes
Checking for C library sndfile... (cached) yes
Checking for C library pthread... (cached) yes
CONFIGURATION DECISION: No MP3 support
CONFIGURATION DECISION: No Wiimote support
CONFIGURATION DECISION: No P5 Glove support
Checking for pthread_barrier_init(0, 0, 0) in C library pthread... (cached) no
Checking for __sync_lock_test_and_set((int32_t *)0, 0) in C library
m... (cached) yes
found sync lock
Checking for C++ header file
frontends/CsoundVST/vstsdk2.4/public.sdk/source/vst2.x/audioeffectx.h...
(cached) no
Checking for C header file portaudio.h... (cached) no
Checking for C header file portmidi.h... (cached) no
Checking for C++ header file FL/Fl.H... (cached) no
Checking for C++ header file boost/any.hpp... (cached) no
Checking for C++ header file gmm/gmm.h... (cached) no
Checking for C library asound... (cached) no
Checking for C library lo... (cached) no
Checking for MusicXML2::SXMLFile f = MusicXML2::TXMLFile::create() in
C++ library musicxml2... (cached) no
Checking for C header file jack/jack.h... (cached) no
Checking for C header file pulse/simple.h... (cached) no
Checking for C++ header file Opcodes/stk/include/Stk.h... (cached) no
Checking for C header file m_pd.h... (cached) no
Checking for C header file tcl.h... (cached) yes
Checking for C header file zlib.h... (cached) yes
Checking for C++ header file funknown.h... (cached) no
Checking for C header file lua.h... (cached) no
Checking for SWIG... yes
Python Version: 2.6
Checking for C header file Python.h... (cached) no
Checking for C header file
/System/Library/Frameworks/Python.framework/Headers/Python.h...
(cached) yes
Checking for C++ header file
/System/Library/Frameworks/JavaVM.framework/Headers/jni.h... (cached)
yes
Checking for C header file io.h... (cached) no
Checking for C header file fcntl.h... (cached) yes
Checking for C header file unistd.h... (cached) yes
Checking for C header file stdint.h... (cached) yes
Checking for C header file sys/time.h... (cached) yes
Checking for C header file sys/types.h... (cached) yes
Checking for C header file termios.h... (cached) yes
Checking for C header file values.h... (cached) no
Checking for C header file sys/socket.h... (cached) yes
Checking for libsndfile version 1.0.16 or later... (cached) yes
CONFIGURATION DECISION: Not building with new parser
CONFIGURATION DECISION: Building static Csound library
CONFIGURATION DECISION: Not building Csound C++ interface library.
CONFIGURATION DECISION: Not generating Csound API PDF documentation.
Checking for C library png... (cached) no
CONFIGURATION DECISION: Not building image opcodes
CONFIGURATION DECISION: Not building linear algebra opcodes.
CONFIGURATION DECISION: Not building with FLTK graphs and widgets.
CONFIGURATION DECISION: Building CoreAudio plugin.
CONFIGURATION DECISION: Not building ALSA plugin.
CONFIGURATION DECISION: Not building PortAudio module.
CONFIGURATION DECISION: Not building JACK plugin.
CONFIGURATION DECISION: Not building with PortMIDI.
CONFIGURATION DECISION: Not building OSC plugin.
CONFIGURATION DECISION: Building UDP plugins.
Checking for C header file fluidsynth.h... (cached) no
CONFIGURATION DECISION: Not building fluid opcodes.
CONFIGURATION DECISION: Not building vst4cs opcodes.
Checking for C header file ladspa.h... (cached) no
CONFIGURATION DECISION: Not building DSSI plugin host opcodes.
Checking for C header file Opcodes/Loris/src/loris.h... (cached) no
CONFIGURATION DECISION: Not building Loris Python extension and Csound opcodes.
CONFIGURATION DECISION: Not building STK opcodes.
CONFIGURATION DECISION: Not building Python opcodes.
TypeError: Directory /Users/randi/Desktop/Oeyvind/csound5/csound found
where file expected.:
  File "/Users/randi/Desktop/Oeyvind/csound5/SConstruct", line 2243:
    csoundProgram = csoundProgramEnvironment.Program('csound',
csoundProgramSources)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 258:
    return MethodWrapper.__call__(self, target, source, *args, **kw)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 222:
    return self.method(*nargs, **kwargs)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 632:
    return self._execute(env, target, source, OverrideWarner(kw), ekw)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 553:
    tlist, slist = self._create_nodes(env, target, source)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 500:
    tlist = env.arg2nodes(target, target_factory, target=target, source=source)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 482:
    v = node_factory(self.subst(v, **kw))
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 1219:
    return self._lookup(name, directory, File, create)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 1198:
    return root._lookup_abs(p, fsclass, create)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 2061:
    result.diskcheck_match()
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 2207:
    "Directory %s found where file expected.")
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 331:
    return self.func(*args, **kw)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 352:
    raise TypeError(errorfmt % node.abspath)


2010/7/31 Steven Yi :
> Hi Victor,
>
> This was not working for me either (I was trying to figure out this
> bug as I thought it was a CMake build bug).  I had to change
> csmodule.c to import AvailabilityMacros.h, otherwise the values that
> were being checked were not defined and it always built the
> OLD_MACH_CODE.  I made the change to:
>
> #if defined(__MACH__)
> #include 
> #if defined(MAC_OS_X_VERSION_10_6) && (MAC_OS_X_VERSION_MIN_REQUIRED>=MAC_OS_X_V
> ERSION_10_6)
>
>
> This works now for me. I'm going to check in this change after this
> email to trunk.
>
> Oeyvind, could you check this out from CVS and try?
>
> steven
>
>
>
> On Fri, Jul 30, 2010 at 6:38 PM, Victor Lazzarini
>  wrote:
>> This is because __dyld_func_lookup()  and friends do not exist in
>> 10.6. The latest CVS code should have replacement code for this in the
>> form of dlopen() etc. It should automatically detect it's 10.6 and use
>> this code, unless something has been changed there.
>>
>> Victor
>> On 30 Jul 2010, at 23:08, Oeyvind Brandtsegg wrote:
>>
>>> Following my recent problems (live input/tablewa pitch problems) under
>>> windows, I also tried compiling on OSX here.
>>>
>>> I get the following error:
>>>
>>> ranlib libcsound.a
>>> gcc -o atsa -framework Carbon -framework CoreAudio -framework CoreMidi
>>> util/atsa_main.o -L. -L. -L/usr/local/lib -L. -L. -L/usr/local/lib
>>> -lsndfile -lpthread -lm -lsndfile -lcsound -lpthread -lm
>>> Undefined symbols:
>>>  "__dyld_func_lookup", referenced from:
>>>      _csoundOpenLibrary in libcsound.a(csmodule.o)
>>> ld: symbol(s) not found
>>> collect2: ld returned 1 exit status
>>> scons: *** [atsa] Error 1
>>> scons: building terminated because of errors.
>>>
>>> any suggestions welcome
>>> all best
>>> Oeyvind
>>>
>>> ------------------------------------------------------------------------------
>>> The Palm PDK Hot Apps Program offers developers who use the
>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>>> of $1 Million in cash or HP Products. Visit us here for more details:
>>> http://p.sf.net/sfu/dev2dev-palm
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>> http://p.sf.net/sfu/dev2dev-palm
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-31 00:04
FromSteven Yi
SubjectRe: [Cs-dev] compiling on OSX 10.6
Okay, I've committed the change to CVS that moves AvailabilityMacros.h
to sysdep.h and also reverted csmodules.c to what it was before.
Everything should be set now.  Let me know if there's any more
problems!

On Fri, Jul 30, 2010 at 6:52 PM, Steven Yi  wrote:
> Sure that makes sense, I'll move that over to sysdep.h now and will
> commit momentarily.
>
> Thanks!
> steven
>
> On Fri, Jul 30, 2010 at 6:50 PM, Victor Lazzarini
>  wrote:
>> Ok, thanks. This is strange because I swear I had built this on a 10.6
>> machine in the lab.
>> Could you move the availability macros header to sysdep.h so that all
>> of Csound code can see it? I use similar conditionals in rtcoreaudio.c.
>>
>> Victor
>>
>> On 30 Jul 2010, at 23:42, Steven Yi wrote:
>>
>>> Hi Victor,
>>>
>>> This was not working for me either (I was trying to figure out this
>>> bug as I thought it was a CMake build bug).  I had to change
>>> csmodule.c to import AvailabilityMacros.h, otherwise the values that
>>> were being checked were not defined and it always built the
>>> OLD_MACH_CODE.  I made the change to:
>>>
>>> #if defined(__MACH__)
>>> #include 
>>> #if defined(MAC_OS_X_VERSION_10_6) &&
>>> (MAC_OS_X_VERSION_MIN_REQUIRED>=MAC_OS_X_V
>>> ERSION_10_6)
>>>
>>>
>>> This works now for me. I'm going to check in this change after this
>>> email to trunk.
>>>
>>> Oeyvind, could you check this out from CVS and try?
>>>
>>> steven
>>>
>>>
>>>
>>> On Fri, Jul 30, 2010 at 6:38 PM, Victor Lazzarini
>>>  wrote:
>>>> This is because __dyld_func_lookup()  and friends do not exist in
>>>> 10.6. The latest CVS code should have replacement code for this in
>>>> the
>>>> form of dlopen() etc. It should automatically detect it's 10.6 and
>>>> use
>>>> this code, unless something has been changed there.
>>>>
>>>> Victor
>>>> On 30 Jul 2010, at 23:08, Oeyvind Brandtsegg wrote:
>>>>
>>>>> Following my recent problems (live input/tablewa pitch problems)
>>>>> under
>>>>> windows, I also tried compiling on OSX here.
>>>>>
>>>>> I get the following error:
>>>>>
>>>>> ranlib libcsound.a
>>>>> gcc -o atsa -framework Carbon -framework CoreAudio -framework
>>>>> CoreMidi
>>>>> util/atsa_main.o -L. -L. -L/usr/local/lib -L. -L. -L/usr/local/lib
>>>>> -lsndfile -lpthread -lm -lsndfile -lcsound -lpthread -lm
>>>>> Undefined symbols:
>>>>>  "__dyld_func_lookup", referenced from:
>>>>>      _csoundOpenLibrary in libcsound.a(csmodule.o)
>>>>> ld: symbol(s) not found
>>>>> collect2: ld returned 1 exit status
>>>>> scons: *** [atsa] Error 1
>>>>> scons: building terminated because of errors.
>>>>>
>>>>> any suggestions welcome
>>>>> all best
>>>>> Oeyvind
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> The Palm PDK Hot Apps Program offers developers who use the
>>>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a
>>>>> share
>>>>> of $1 Million in cash or HP Products. Visit us here for more
>>>>> details:
>>>>> http://p.sf.net/sfu/dev2dev-palm
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> The Palm PDK Hot Apps Program offers developers who use the
>>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>>>> of $1 Million in cash or HP Products. Visit us here for more details:
>>>> http://p.sf.net/sfu/dev2dev-palm
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> The Palm PDK Hot Apps Program offers developers who use the
>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>>> of $1 Million in cash or HP Products. Visit us here for more details:
>>> http://p.sf.net/sfu/dev2dev-palm
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>> http://p.sf.net/sfu/dev2dev-palm
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-31 00:05
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] compiling on OSX 10.6
Yes, I checked and found that I have a csound5/csound directory, and
even another csound directory below that.
I checked out clean this evening and have tried to build two times, so
these have appeared in this process.
Oeyvind


2010/7/31 Victor Lazzarini :
> It appears you have a subdirectory called csound and scons does not
> like it.
> On 30 Jul 2010, at 23:53, Oeyvind Brandtsegg wrote:
>
>> TypeError: Directory /Users/randi/Desktop/Oeyvind/csound5/csound found
>> where file expected.:
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-31 00:06
FromVictor Lazzarini
SubjectRe: [Cs-dev] compiling on OSX 10.6
It appears you have a subdirectory called csound and scons does not  
like it.
On 30 Jul 2010, at 23:53, Oeyvind Brandtsegg wrote:

> TypeError: Directory /Users/randi/Desktop/Oeyvind/csound5/csound found
> where file expected.:


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-31 00:09
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] compiling on OSX 10.6
I did probably do the checkout while on the wrong directory level, sorry.

Now I deleted the csound5 dir and checked out again.
Then I get:

Randi-Martines-iBook:csound5 randi$ python /usr/local/bin/sconsscons:
Reading SConscript files ...

      C S O U N D 5

SCons build file for Csound 5:
API library, plugin opcodes, utilities, and front ends.

By Michael Gogins 

For custom options, run 'scons -h'.
For default options, run 'scons -H'.
If headers or libraries are not found, edit 'custom.py'.
For Linux, run in the standard shell
    with standard Python and just run 'scons'.
For MinGW, run in the MSys shell
    and use www.python.org WIN32 Python to run scons.
For Microsoft Visual C++, run in the Platform SDK
    command shell, and use www.python.org WIN32 Python to run scons.

System platform is 'darwin'.

scons: warning: The Options class is deprecated; use the Variables
class instead.
File "/Users/randi/Desktop/Oeyvind/csound5/SConstruct", line 74, in 
Using options from 'custom.py.'
Build platform is 'darwin'.
SCons tools on this platform:  ['default', 'applelink', 'gcc', 'g++',
'gfortran', 'as', 'ar', 'filesystem', 'm4', 'lex', 'yacc', 'rpcgen',
'swig', 'jar', 'javac', 'javah', 'rmic', 'tar', 'zip', 'CVS', 'RCS']
Checking for C header file libintl.h... (cached) no
CONFIGURATION DECISION: Using single-precision floating point for audio samples.
Mac OS X version 10.6
Apple Python version is 2.6
Current Python version is 2.6, using Apple Python Framework
Checking for C header file stdio.h... (cached) yes
Checking for C library sndfile... (cached) yes
Checking for C library pthread... (cached) yes
CONFIGURATION DECISION: No MP3 support
CONFIGURATION DECISION: No Wiimote support
CONFIGURATION DECISION: No P5 Glove support
Checking for pthread_barrier_init(0, 0, 0) in C library pthread... (cached) no
Checking for __sync_lock_test_and_set((int32_t *)0, 0) in C library
m... (cached) yes
found sync lock
Checking for C++ header file
frontends/CsoundVST/vstsdk2.4/public.sdk/source/vst2.x/audioeffectx.h...
(cached) no
Checking for C header file portaudio.h... (cached) no
Checking for C header file portmidi.h... (cached) no
Checking for C++ header file FL/Fl.H... (cached) no
Checking for C++ header file boost/any.hpp... (cached) no
Checking for C++ header file gmm/gmm.h... (cached) no
Checking for C library asound... (cached) no
Checking for C library lo... (cached) no
Checking for MusicXML2::SXMLFile f = MusicXML2::TXMLFile::create() in
C++ library musicxml2... (cached) no
Checking for C header file jack/jack.h... (cached) no
Checking for C header file pulse/simple.h... (cached) no
Checking for C++ header file Opcodes/stk/include/Stk.h... (cached) no
Checking for C header file m_pd.h... (cached) no
Checking for C header file tcl.h... (cached) yes
Checking for C header file zlib.h... (cached) yes
Checking for C++ header file funknown.h... (cached) no
Checking for C header file lua.h... (cached) no
Checking for SWIG... yes
Python Version: 2.6
Checking for C header file Python.h... (cached) no
Checking for C header file
/System/Library/Frameworks/Python.framework/Headers/Python.h...
(cached) yes
Checking for C++ header file
/System/Library/Frameworks/JavaVM.framework/Headers/jni.h... (cached)
yes
Checking for C header file io.h... (cached) no
Checking for C header file fcntl.h... (cached) yes
Checking for C header file unistd.h... (cached) yes
Checking for C header file stdint.h... (cached) yes
Checking for C header file sys/time.h... (cached) yes
Checking for C header file sys/types.h... (cached) yes
Checking for C header file termios.h... (cached) yes
Checking for C header file values.h... (cached) no
Checking for C header file sys/socket.h... (cached) yes
Checking for libsndfile version 1.0.16 or later... (cached) yes
CONFIGURATION DECISION: Not building with new parser
CONFIGURATION DECISION: Building static Csound library
CONFIGURATION DECISION: Not building Csound C++ interface library.
CONFIGURATION DECISION: Not generating Csound API PDF documentation.
Checking for C library png... (cached) no
CONFIGURATION DECISION: Not building image opcodes
CONFIGURATION DECISION: Not building linear algebra opcodes.
CONFIGURATION DECISION: Not building with FLTK graphs and widgets.
CONFIGURATION DECISION: Building CoreAudio plugin.
CONFIGURATION DECISION: Not building ALSA plugin.
CONFIGURATION DECISION: Not building PortAudio module.
CONFIGURATION DECISION: Not building JACK plugin.
CONFIGURATION DECISION: Not building with PortMIDI.
CONFIGURATION DECISION: Not building OSC plugin.
CONFIGURATION DECISION: Building UDP plugins.
Checking for C header file fluidsynth.h... (cached) no
CONFIGURATION DECISION: Not building fluid opcodes.
CONFIGURATION DECISION: Not building vst4cs opcodes.
Checking for C header file ladspa.h... (cached) no
CONFIGURATION DECISION: Not building DSSI plugin host opcodes.
Checking for C header file Opcodes/Loris/src/loris.h... (cached) no
CONFIGURATION DECISION: Not building Loris Python extension and Csound opcodes.
CONFIGURATION DECISION: Not building STK opcodes.
CONFIGURATION DECISION: Not building Python opcodes.
TypeError: Directory /Users/randi/Desktop/Oeyvind/csound5/csound found
where file expected.:
  File "/Users/randi/Desktop/Oeyvind/csound5/SConstruct", line 2243:
    csoundProgram = csoundProgramEnvironment.Program('csound',
csoundProgramSources)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 258:
    return MethodWrapper.__call__(self, target, source, *args, **kw)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 222:
    return self.method(*nargs, **kwargs)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 632:
    return self._execute(env, target, source, OverrideWarner(kw), ekw)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 553:
    tlist, slist = self._create_nodes(env, target, source)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 500:
    tlist = env.arg2nodes(target, target_factory, target=target, source=source)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 482:
    v = node_factory(self.subst(v, **kw))
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 1219:
    return self._lookup(name, directory, File, create)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 1198:
    return root._lookup_abs(p, fsclass, create)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 2061:
    result.diskcheck_match()
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 2207:
    "Directory %s found where file expected.")
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 331:
    return self.func(*args, **kw)
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 352:
    raise TypeError(errorfmt % node.abspath)


2010/7/31 Oeyvind Brandtsegg :
> Yes, I checked and found that I have a csound5/csound directory, and
> even another csound directory below that.
> I checked out clean this evening and have tried to build two times, so
> these have appeared in this process.
> Oeyvind
>
>
> 2010/7/31 Victor Lazzarini :
>> It appears you have a subdirectory called csound and scons does not
>> like it.
>> On 30 Jul 2010, at 23:53, Oeyvind Brandtsegg wrote:
>>
>>> TypeError: Directory /Users/randi/Desktop/Oeyvind/csound5/csound found
>>> where file expected.:
>>
>>
>> ------------------------------------------------------------------------------
>> The Palm PDK Hot Apps Program offers developers who use the
>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>> of $1 Million in cash or HP Products. Visit us here for more details:
>> http://p.sf.net/sfu/dev2dev-palm
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-31 00:10
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] compiling on OSX 10.6
Sorry, the last console print was wrong.
This is the new one:
***


Randi-Martines-iBook:csound randi$ python /usr/local/bin/sconsscons:
Reading SConscript files ...

C S O U N D   4

SCons build file for Csound 4: **UNFINISHED**
plugin opcodes, utilities.

For custom options, run 'scons -h'.
For default options, run 'scons -H'.
If headers or libraries are not found, edit 'custom.py'.
For Linux, run in the standard shell
    with standard Python and just run 'scons'.
For MinGW, run in the MSys shell
    and use www.python.org WIN32 Python to run scons.
For Cygwin, run in the Cygwin shell
    and use Cygwin Python to run 'scons'.

System platform is 'darwin'.

scons: warning: The Options class is deprecated; use the Variables
class instead.
File "/Users/randi/Desktop/Oeyvind/csound/SConstruct", line 63, in 
Build platform is 'darwin'.
SCons tools on this platform:  ['default', 'applelink', 'gcc', 'g++',
'gfortran', 'as', 'ar', 'filesystem', 'm4', 'lex', 'yacc', 'rpcgen',
'swig', 'jar', 'javac', 'javah', 'rmic', 'tar', 'zip', 'CVS', 'RCS']

CONFIGURATION DECISION: Using single-precision floating point for audio samples.
Checking for C++ header file FL/Fl.H... no

scons: warning: The env.Copy() method is deprecated; use the
env.Clone() method instead.
File "/Users/randi/Desktop/Oeyvind/csound/SConstruct", line 243, in 
/bin/sh: fltk-config: command not found
OSError: 'fltk-config --cflags --cxxflags --ldflags' exited 127:
  File "/Users/randi/Desktop/Oeyvind/csound/SConstruct", line 246:
    ustubProgramEnvironment.ParseConfig('fltk-config --cflags
--cxxflags --ldflags')
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 1460:
    return function(self, self.backtick(command))
  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 593:
    raise OSError("'%s' exited %d" % (command, status))
Randi-Martines-iBook:csound randi$


2010/7/31 Oeyvind Brandtsegg :
> I did probably do the checkout while on the wrong directory level, sorry.
>
> Now I deleted the csound5 dir and checked out again.
> Then I get:
>
> Randi-Martines-iBook:csound5 randi$ python /usr/local/bin/sconsscons:
> Reading SConscript files ...
>
>      C S O U N D 5
>
> SCons build file for Csound 5:
> API library, plugin opcodes, utilities, and front ends.
>
> By Michael Gogins 
>
> For custom options, run 'scons -h'.
> For default options, run 'scons -H'.
> If headers or libraries are not found, edit 'custom.py'.
> For Linux, run in the standard shell
>    with standard Python and just run 'scons'.
> For MinGW, run in the MSys shell
>    and use www.python.org WIN32 Python to run scons.
> For Microsoft Visual C++, run in the Platform SDK
>    command shell, and use www.python.org WIN32 Python to run scons.
>
> System platform is 'darwin'.
>
> scons: warning: The Options class is deprecated; use the Variables
> class instead.
> File "/Users/randi/Desktop/Oeyvind/csound5/SConstruct", line 74, in 
> Using options from 'custom.py.'
> Build platform is 'darwin'.
> SCons tools on this platform:  ['default', 'applelink', 'gcc', 'g++',
> 'gfortran', 'as', 'ar', 'filesystem', 'm4', 'lex', 'yacc', 'rpcgen',
> 'swig', 'jar', 'javac', 'javah', 'rmic', 'tar', 'zip', 'CVS', 'RCS']
> Checking for C header file libintl.h... (cached) no
> CONFIGURATION DECISION: Using single-precision floating point for audio samples.
> Mac OS X version 10.6
> Apple Python version is 2.6
> Current Python version is 2.6, using Apple Python Framework
> Checking for C header file stdio.h... (cached) yes
> Checking for C library sndfile... (cached) yes
> Checking for C library pthread... (cached) yes
> CONFIGURATION DECISION: No MP3 support
> CONFIGURATION DECISION: No Wiimote support
> CONFIGURATION DECISION: No P5 Glove support
> Checking for pthread_barrier_init(0, 0, 0) in C library pthread... (cached) no
> Checking for __sync_lock_test_and_set((int32_t *)0, 0) in C library
> m... (cached) yes
> found sync lock
> Checking for C++ header file
> frontends/CsoundVST/vstsdk2.4/public.sdk/source/vst2.x/audioeffectx.h...
> (cached) no
> Checking for C header file portaudio.h... (cached) no
> Checking for C header file portmidi.h... (cached) no
> Checking for C++ header file FL/Fl.H... (cached) no
> Checking for C++ header file boost/any.hpp... (cached) no
> Checking for C++ header file gmm/gmm.h... (cached) no
> Checking for C library asound... (cached) no
> Checking for C library lo... (cached) no
> Checking for MusicXML2::SXMLFile f = MusicXML2::TXMLFile::create() in
> C++ library musicxml2... (cached) no
> Checking for C header file jack/jack.h... (cached) no
> Checking for C header file pulse/simple.h... (cached) no
> Checking for C++ header file Opcodes/stk/include/Stk.h... (cached) no
> Checking for C header file m_pd.h... (cached) no
> Checking for C header file tcl.h... (cached) yes
> Checking for C header file zlib.h... (cached) yes
> Checking for C++ header file funknown.h... (cached) no
> Checking for C header file lua.h... (cached) no
> Checking for SWIG... yes
> Python Version: 2.6
> Checking for C header file Python.h... (cached) no
> Checking for C header file
> /System/Library/Frameworks/Python.framework/Headers/Python.h...
> (cached) yes
> Checking for C++ header file
> /System/Library/Frameworks/JavaVM.framework/Headers/jni.h... (cached)
> yes
> Checking for C header file io.h... (cached) no
> Checking for C header file fcntl.h... (cached) yes
> Checking for C header file unistd.h... (cached) yes
> Checking for C header file stdint.h... (cached) yes
> Checking for C header file sys/time.h... (cached) yes
> Checking for C header file sys/types.h... (cached) yes
> Checking for C header file termios.h... (cached) yes
> Checking for C header file values.h... (cached) no
> Checking for C header file sys/socket.h... (cached) yes
> Checking for libsndfile version 1.0.16 or later... (cached) yes
> CONFIGURATION DECISION: Not building with new parser
> CONFIGURATION DECISION: Building static Csound library
> CONFIGURATION DECISION: Not building Csound C++ interface library.
> CONFIGURATION DECISION: Not generating Csound API PDF documentation.
> Checking for C library png... (cached) no
> CONFIGURATION DECISION: Not building image opcodes
> CONFIGURATION DECISION: Not building linear algebra opcodes.
> CONFIGURATION DECISION: Not building with FLTK graphs and widgets.
> CONFIGURATION DECISION: Building CoreAudio plugin.
> CONFIGURATION DECISION: Not building ALSA plugin.
> CONFIGURATION DECISION: Not building PortAudio module.
> CONFIGURATION DECISION: Not building JACK plugin.
> CONFIGURATION DECISION: Not building with PortMIDI.
> CONFIGURATION DECISION: Not building OSC plugin.
> CONFIGURATION DECISION: Building UDP plugins.
> Checking for C header file fluidsynth.h... (cached) no
> CONFIGURATION DECISION: Not building fluid opcodes.
> CONFIGURATION DECISION: Not building vst4cs opcodes.
> Checking for C header file ladspa.h... (cached) no
> CONFIGURATION DECISION: Not building DSSI plugin host opcodes.
> Checking for C header file Opcodes/Loris/src/loris.h... (cached) no
> CONFIGURATION DECISION: Not building Loris Python extension and Csound opcodes.
> CONFIGURATION DECISION: Not building STK opcodes.
> CONFIGURATION DECISION: Not building Python opcodes.
> TypeError: Directory /Users/randi/Desktop/Oeyvind/csound5/csound found
> where file expected.:
>  File "/Users/randi/Desktop/Oeyvind/csound5/SConstruct", line 2243:
>    csoundProgram = csoundProgramEnvironment.Program('csound',
> csoundProgramSources)
>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 258:
>    return MethodWrapper.__call__(self, target, source, *args, **kw)
>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 222:
>    return self.method(*nargs, **kwargs)
>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 632:
>    return self._execute(env, target, source, OverrideWarner(kw), ekw)
>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 553:
>    tlist, slist = self._create_nodes(env, target, source)
>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 500:
>    tlist = env.arg2nodes(target, target_factory, target=target, source=source)
>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 482:
>    v = node_factory(self.subst(v, **kw))
>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 1219:
>    return self._lookup(name, directory, File, create)
>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 1198:
>    return root._lookup_abs(p, fsclass, create)
>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 2061:
>    result.diskcheck_match()
>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 2207:
>    "Directory %s found where file expected.")
>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 331:
>    return self.func(*args, **kw)
>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 352:
>    raise TypeError(errorfmt % node.abspath)
>
>
> 2010/7/31 Oeyvind Brandtsegg :
>> Yes, I checked and found that I have a csound5/csound directory, and
>> even another csound directory below that.
>> I checked out clean this evening and have tried to build two times, so
>> these have appeared in this process.
>> Oeyvind
>>
>>
>> 2010/7/31 Victor Lazzarini :
>>> It appears you have a subdirectory called csound and scons does not
>>> like it.
>>> On 30 Jul 2010, at 23:53, Oeyvind Brandtsegg wrote:
>>>
>>>> TypeError: Directory /Users/randi/Desktop/Oeyvind/csound5/csound found
>>>> where file expected.:
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> The Palm PDK Hot Apps Program offers developers who use the
>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>>> of $1 Million in cash or HP Products. Visit us here for more details:
>>> http://p.sf.net/sfu/dev2dev-palm
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-31 00:17
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] compiling on OSX 10.6
o no. That was way too quick I guess. I realize I checked out csound 4...
be back in a mo
Oeyvind

2010/7/31 Oeyvind Brandtsegg :
> Sorry, the last console print was wrong.
> This is the new one:
> ***
>
>
> Randi-Martines-iBook:csound randi$ python /usr/local/bin/sconsscons:
> Reading SConscript files ...
>
> C S O U N D   4
>
> SCons build file for Csound 4: **UNFINISHED**
> plugin opcodes, utilities.
>
> For custom options, run 'scons -h'.
> For default options, run 'scons -H'.
> If headers or libraries are not found, edit 'custom.py'.
> For Linux, run in the standard shell
>    with standard Python and just run 'scons'.
> For MinGW, run in the MSys shell
>    and use www.python.org WIN32 Python to run scons.
> For Cygwin, run in the Cygwin shell
>    and use Cygwin Python to run 'scons'.
>
> System platform is 'darwin'.
>
> scons: warning: The Options class is deprecated; use the Variables
> class instead.
> File "/Users/randi/Desktop/Oeyvind/csound/SConstruct", line 63, in 
> Build platform is 'darwin'.
> SCons tools on this platform:  ['default', 'applelink', 'gcc', 'g++',
> 'gfortran', 'as', 'ar', 'filesystem', 'm4', 'lex', 'yacc', 'rpcgen',
> 'swig', 'jar', 'javac', 'javah', 'rmic', 'tar', 'zip', 'CVS', 'RCS']
>
> CONFIGURATION DECISION: Using single-precision floating point for audio samples.
> Checking for C++ header file FL/Fl.H... no
>
> scons: warning: The env.Copy() method is deprecated; use the
> env.Clone() method instead.
> File "/Users/randi/Desktop/Oeyvind/csound/SConstruct", line 243, in 
> /bin/sh: fltk-config: command not found
> OSError: 'fltk-config --cflags --cxxflags --ldflags' exited 127:
>  File "/Users/randi/Desktop/Oeyvind/csound/SConstruct", line 246:
>    ustubProgramEnvironment.ParseConfig('fltk-config --cflags
> --cxxflags --ldflags')
>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 1460:
>    return function(self, self.backtick(command))
>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 593:
>    raise OSError("'%s' exited %d" % (command, status))
> Randi-Martines-iBook:csound randi$
>
>
> 2010/7/31 Oeyvind Brandtsegg :
>> I did probably do the checkout while on the wrong directory level, sorry.
>>
>> Now I deleted the csound5 dir and checked out again.
>> Then I get:
>>
>> Randi-Martines-iBook:csound5 randi$ python /usr/local/bin/sconsscons:
>> Reading SConscript files ...
>>
>>      C S O U N D 5
>>
>> SCons build file for Csound 5:
>> API library, plugin opcodes, utilities, and front ends.
>>
>> By Michael Gogins 
>>
>> For custom options, run 'scons -h'.
>> For default options, run 'scons -H'.
>> If headers or libraries are not found, edit 'custom.py'.
>> For Linux, run in the standard shell
>>    with standard Python and just run 'scons'.
>> For MinGW, run in the MSys shell
>>    and use www.python.org WIN32 Python to run scons.
>> For Microsoft Visual C++, run in the Platform SDK
>>    command shell, and use www.python.org WIN32 Python to run scons.
>>
>> System platform is 'darwin'.
>>
>> scons: warning: The Options class is deprecated; use the Variables
>> class instead.
>> File "/Users/randi/Desktop/Oeyvind/csound5/SConstruct", line 74, in 
>> Using options from 'custom.py.'
>> Build platform is 'darwin'.
>> SCons tools on this platform:  ['default', 'applelink', 'gcc', 'g++',
>> 'gfortran', 'as', 'ar', 'filesystem', 'm4', 'lex', 'yacc', 'rpcgen',
>> 'swig', 'jar', 'javac', 'javah', 'rmic', 'tar', 'zip', 'CVS', 'RCS']
>> Checking for C header file libintl.h... (cached) no
>> CONFIGURATION DECISION: Using single-precision floating point for audio samples.
>> Mac OS X version 10.6
>> Apple Python version is 2.6
>> Current Python version is 2.6, using Apple Python Framework
>> Checking for C header file stdio.h... (cached) yes
>> Checking for C library sndfile... (cached) yes
>> Checking for C library pthread... (cached) yes
>> CONFIGURATION DECISION: No MP3 support
>> CONFIGURATION DECISION: No Wiimote support
>> CONFIGURATION DECISION: No P5 Glove support
>> Checking for pthread_barrier_init(0, 0, 0) in C library pthread... (cached) no
>> Checking for __sync_lock_test_and_set((int32_t *)0, 0) in C library
>> m... (cached) yes
>> found sync lock
>> Checking for C++ header file
>> frontends/CsoundVST/vstsdk2.4/public.sdk/source/vst2.x/audioeffectx.h...
>> (cached) no
>> Checking for C header file portaudio.h... (cached) no
>> Checking for C header file portmidi.h... (cached) no
>> Checking for C++ header file FL/Fl.H... (cached) no
>> Checking for C++ header file boost/any.hpp... (cached) no
>> Checking for C++ header file gmm/gmm.h... (cached) no
>> Checking for C library asound... (cached) no
>> Checking for C library lo... (cached) no
>> Checking for MusicXML2::SXMLFile f = MusicXML2::TXMLFile::create() in
>> C++ library musicxml2... (cached) no
>> Checking for C header file jack/jack.h... (cached) no
>> Checking for C header file pulse/simple.h... (cached) no
>> Checking for C++ header file Opcodes/stk/include/Stk.h... (cached) no
>> Checking for C header file m_pd.h... (cached) no
>> Checking for C header file tcl.h... (cached) yes
>> Checking for C header file zlib.h... (cached) yes
>> Checking for C++ header file funknown.h... (cached) no
>> Checking for C header file lua.h... (cached) no
>> Checking for SWIG... yes
>> Python Version: 2.6
>> Checking for C header file Python.h... (cached) no
>> Checking for C header file
>> /System/Library/Frameworks/Python.framework/Headers/Python.h...
>> (cached) yes
>> Checking for C++ header file
>> /System/Library/Frameworks/JavaVM.framework/Headers/jni.h... (cached)
>> yes
>> Checking for C header file io.h... (cached) no
>> Checking for C header file fcntl.h... (cached) yes
>> Checking for C header file unistd.h... (cached) yes
>> Checking for C header file stdint.h... (cached) yes
>> Checking for C header file sys/time.h... (cached) yes
>> Checking for C header file sys/types.h... (cached) yes
>> Checking for C header file termios.h... (cached) yes
>> Checking for C header file values.h... (cached) no
>> Checking for C header file sys/socket.h... (cached) yes
>> Checking for libsndfile version 1.0.16 or later... (cached) yes
>> CONFIGURATION DECISION: Not building with new parser
>> CONFIGURATION DECISION: Building static Csound library
>> CONFIGURATION DECISION: Not building Csound C++ interface library.
>> CONFIGURATION DECISION: Not generating Csound API PDF documentation.
>> Checking for C library png... (cached) no
>> CONFIGURATION DECISION: Not building image opcodes
>> CONFIGURATION DECISION: Not building linear algebra opcodes.
>> CONFIGURATION DECISION: Not building with FLTK graphs and widgets.
>> CONFIGURATION DECISION: Building CoreAudio plugin.
>> CONFIGURATION DECISION: Not building ALSA plugin.
>> CONFIGURATION DECISION: Not building PortAudio module.
>> CONFIGURATION DECISION: Not building JACK plugin.
>> CONFIGURATION DECISION: Not building with PortMIDI.
>> CONFIGURATION DECISION: Not building OSC plugin.
>> CONFIGURATION DECISION: Building UDP plugins.
>> Checking for C header file fluidsynth.h... (cached) no
>> CONFIGURATION DECISION: Not building fluid opcodes.
>> CONFIGURATION DECISION: Not building vst4cs opcodes.
>> Checking for C header file ladspa.h... (cached) no
>> CONFIGURATION DECISION: Not building DSSI plugin host opcodes.
>> Checking for C header file Opcodes/Loris/src/loris.h... (cached) no
>> CONFIGURATION DECISION: Not building Loris Python extension and Csound opcodes.
>> CONFIGURATION DECISION: Not building STK opcodes.
>> CONFIGURATION DECISION: Not building Python opcodes.
>> TypeError: Directory /Users/randi/Desktop/Oeyvind/csound5/csound found
>> where file expected.:
>>  File "/Users/randi/Desktop/Oeyvind/csound5/SConstruct", line 2243:
>>    csoundProgram = csoundProgramEnvironment.Program('csound',
>> csoundProgramSources)
>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 258:
>>    return MethodWrapper.__call__(self, target, source, *args, **kw)
>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 222:
>>    return self.method(*nargs, **kwargs)
>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 632:
>>    return self._execute(env, target, source, OverrideWarner(kw), ekw)
>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 553:
>>    tlist, slist = self._create_nodes(env, target, source)
>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 500:
>>    tlist = env.arg2nodes(target, target_factory, target=target, source=source)
>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 482:
>>    v = node_factory(self.subst(v, **kw))
>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 1219:
>>    return self._lookup(name, directory, File, create)
>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 1198:
>>    return root._lookup_abs(p, fsclass, create)
>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 2061:
>>    result.diskcheck_match()
>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 2207:
>>    "Directory %s found where file expected.")
>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 331:
>>    return self.func(*args, **kw)
>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 352:
>>    raise TypeError(errorfmt % node.abspath)
>>
>>
>> 2010/7/31 Oeyvind Brandtsegg :
>>> Yes, I checked and found that I have a csound5/csound directory, and
>>> even another csound directory below that.
>>> I checked out clean this evening and have tried to build two times, so
>>> these have appeared in this process.
>>> Oeyvind
>>>
>>>
>>> 2010/7/31 Victor Lazzarini :
>>>> It appears you have a subdirectory called csound and scons does not
>>>> like it.
>>>> On 30 Jul 2010, at 23:53, Oeyvind Brandtsegg wrote:
>>>>
>>>>> TypeError: Directory /Users/randi/Desktop/Oeyvind/csound5/csound found
>>>>> where file expected.:
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> The Palm PDK Hot Apps Program offers developers who use the
>>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>>>> of $1 Million in cash or HP Products. Visit us here for more details:
>>>> http://p.sf.net/sfu/dev2dev-palm
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-31 00:23
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] compiling on OSX 10.6
Now, this is the latest csound5, and I get this error:

gcc -o mixer -framework Carbon -framework CoreAudio -framework
CoreMidi util/mixer_main.o -L. -L. -L/usr/local/lib -L. -L.
-L/usr/local/lib -lsndfile -lpthread -lm -lsndfile -lcsound -lpthread
-lm
msgfmt -o po/de/LC_MESSAGES/csound5.mo po/german.po
sh: msgfmt: command not found
scons: *** [po/de/LC_MESSAGES/csound5.mo] Error 127

Oeyvind

2010/7/31 Oeyvind Brandtsegg :
> o no. That was way too quick I guess. I realize I checked out csound 4...
> be back in a mo
> Oeyvind
>
> 2010/7/31 Oeyvind Brandtsegg :
>> Sorry, the last console print was wrong.
>> This is the new one:
>> ***
>>
>>
>> Randi-Martines-iBook:csound randi$ python /usr/local/bin/sconsscons:
>> Reading SConscript files ...
>>
>> C S O U N D   4
>>
>> SCons build file for Csound 4: **UNFINISHED**
>> plugin opcodes, utilities.
>>
>> For custom options, run 'scons -h'.
>> For default options, run 'scons -H'.
>> If headers or libraries are not found, edit 'custom.py'.
>> For Linux, run in the standard shell
>>    with standard Python and just run 'scons'.
>> For MinGW, run in the MSys shell
>>    and use www.python.org WIN32 Python to run scons.
>> For Cygwin, run in the Cygwin shell
>>    and use Cygwin Python to run 'scons'.
>>
>> System platform is 'darwin'.
>>
>> scons: warning: The Options class is deprecated; use the Variables
>> class instead.
>> File "/Users/randi/Desktop/Oeyvind/csound/SConstruct", line 63, in 
>> Build platform is 'darwin'.
>> SCons tools on this platform:  ['default', 'applelink', 'gcc', 'g++',
>> 'gfortran', 'as', 'ar', 'filesystem', 'm4', 'lex', 'yacc', 'rpcgen',
>> 'swig', 'jar', 'javac', 'javah', 'rmic', 'tar', 'zip', 'CVS', 'RCS']
>>
>> CONFIGURATION DECISION: Using single-precision floating point for audio samples.
>> Checking for C++ header file FL/Fl.H... no
>>
>> scons: warning: The env.Copy() method is deprecated; use the
>> env.Clone() method instead.
>> File "/Users/randi/Desktop/Oeyvind/csound/SConstruct", line 243, in 
>> /bin/sh: fltk-config: command not found
>> OSError: 'fltk-config --cflags --cxxflags --ldflags' exited 127:
>>  File "/Users/randi/Desktop/Oeyvind/csound/SConstruct", line 246:
>>    ustubProgramEnvironment.ParseConfig('fltk-config --cflags
>> --cxxflags --ldflags')
>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 1460:
>>    return function(self, self.backtick(command))
>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 593:
>>    raise OSError("'%s' exited %d" % (command, status))
>> Randi-Martines-iBook:csound randi$
>>
>>
>> 2010/7/31 Oeyvind Brandtsegg :
>>> I did probably do the checkout while on the wrong directory level, sorry.
>>>
>>> Now I deleted the csound5 dir and checked out again.
>>> Then I get:
>>>
>>> Randi-Martines-iBook:csound5 randi$ python /usr/local/bin/sconsscons:
>>> Reading SConscript files ...
>>>
>>>      C S O U N D 5
>>>
>>> SCons build file for Csound 5:
>>> API library, plugin opcodes, utilities, and front ends.
>>>
>>> By Michael Gogins 
>>>
>>> For custom options, run 'scons -h'.
>>> For default options, run 'scons -H'.
>>> If headers or libraries are not found, edit 'custom.py'.
>>> For Linux, run in the standard shell
>>>    with standard Python and just run 'scons'.
>>> For MinGW, run in the MSys shell
>>>    and use www.python.org WIN32 Python to run scons.
>>> For Microsoft Visual C++, run in the Platform SDK
>>>    command shell, and use www.python.org WIN32 Python to run scons.
>>>
>>> System platform is 'darwin'.
>>>
>>> scons: warning: The Options class is deprecated; use the Variables
>>> class instead.
>>> File "/Users/randi/Desktop/Oeyvind/csound5/SConstruct", line 74, in 
>>> Using options from 'custom.py.'
>>> Build platform is 'darwin'.
>>> SCons tools on this platform:  ['default', 'applelink', 'gcc', 'g++',
>>> 'gfortran', 'as', 'ar', 'filesystem', 'm4', 'lex', 'yacc', 'rpcgen',
>>> 'swig', 'jar', 'javac', 'javah', 'rmic', 'tar', 'zip', 'CVS', 'RCS']
>>> Checking for C header file libintl.h... (cached) no
>>> CONFIGURATION DECISION: Using single-precision floating point for audio samples.
>>> Mac OS X version 10.6
>>> Apple Python version is 2.6
>>> Current Python version is 2.6, using Apple Python Framework
>>> Checking for C header file stdio.h... (cached) yes
>>> Checking for C library sndfile... (cached) yes
>>> Checking for C library pthread... (cached) yes
>>> CONFIGURATION DECISION: No MP3 support
>>> CONFIGURATION DECISION: No Wiimote support
>>> CONFIGURATION DECISION: No P5 Glove support
>>> Checking for pthread_barrier_init(0, 0, 0) in C library pthread... (cached) no
>>> Checking for __sync_lock_test_and_set((int32_t *)0, 0) in C library
>>> m... (cached) yes
>>> found sync lock
>>> Checking for C++ header file
>>> frontends/CsoundVST/vstsdk2.4/public.sdk/source/vst2.x/audioeffectx.h...
>>> (cached) no
>>> Checking for C header file portaudio.h... (cached) no
>>> Checking for C header file portmidi.h... (cached) no
>>> Checking for C++ header file FL/Fl.H... (cached) no
>>> Checking for C++ header file boost/any.hpp... (cached) no
>>> Checking for C++ header file gmm/gmm.h... (cached) no
>>> Checking for C library asound... (cached) no
>>> Checking for C library lo... (cached) no
>>> Checking for MusicXML2::SXMLFile f = MusicXML2::TXMLFile::create() in
>>> C++ library musicxml2... (cached) no
>>> Checking for C header file jack/jack.h... (cached) no
>>> Checking for C header file pulse/simple.h... (cached) no
>>> Checking for C++ header file Opcodes/stk/include/Stk.h... (cached) no
>>> Checking for C header file m_pd.h... (cached) no
>>> Checking for C header file tcl.h... (cached) yes
>>> Checking for C header file zlib.h... (cached) yes
>>> Checking for C++ header file funknown.h... (cached) no
>>> Checking for C header file lua.h... (cached) no
>>> Checking for SWIG... yes
>>> Python Version: 2.6
>>> Checking for C header file Python.h... (cached) no
>>> Checking for C header file
>>> /System/Library/Frameworks/Python.framework/Headers/Python.h...
>>> (cached) yes
>>> Checking for C++ header file
>>> /System/Library/Frameworks/JavaVM.framework/Headers/jni.h... (cached)
>>> yes
>>> Checking for C header file io.h... (cached) no
>>> Checking for C header file fcntl.h... (cached) yes
>>> Checking for C header file unistd.h... (cached) yes
>>> Checking for C header file stdint.h... (cached) yes
>>> Checking for C header file sys/time.h... (cached) yes
>>> Checking for C header file sys/types.h... (cached) yes
>>> Checking for C header file termios.h... (cached) yes
>>> Checking for C header file values.h... (cached) no
>>> Checking for C header file sys/socket.h... (cached) yes
>>> Checking for libsndfile version 1.0.16 or later... (cached) yes
>>> CONFIGURATION DECISION: Not building with new parser
>>> CONFIGURATION DECISION: Building static Csound library
>>> CONFIGURATION DECISION: Not building Csound C++ interface library.
>>> CONFIGURATION DECISION: Not generating Csound API PDF documentation.
>>> Checking for C library png... (cached) no
>>> CONFIGURATION DECISION: Not building image opcodes
>>> CONFIGURATION DECISION: Not building linear algebra opcodes.
>>> CONFIGURATION DECISION: Not building with FLTK graphs and widgets.
>>> CONFIGURATION DECISION: Building CoreAudio plugin.
>>> CONFIGURATION DECISION: Not building ALSA plugin.
>>> CONFIGURATION DECISION: Not building PortAudio module.
>>> CONFIGURATION DECISION: Not building JACK plugin.
>>> CONFIGURATION DECISION: Not building with PortMIDI.
>>> CONFIGURATION DECISION: Not building OSC plugin.
>>> CONFIGURATION DECISION: Building UDP plugins.
>>> Checking for C header file fluidsynth.h... (cached) no
>>> CONFIGURATION DECISION: Not building fluid opcodes.
>>> CONFIGURATION DECISION: Not building vst4cs opcodes.
>>> Checking for C header file ladspa.h... (cached) no
>>> CONFIGURATION DECISION: Not building DSSI plugin host opcodes.
>>> Checking for C header file Opcodes/Loris/src/loris.h... (cached) no
>>> CONFIGURATION DECISION: Not building Loris Python extension and Csound opcodes.
>>> CONFIGURATION DECISION: Not building STK opcodes.
>>> CONFIGURATION DECISION: Not building Python opcodes.
>>> TypeError: Directory /Users/randi/Desktop/Oeyvind/csound5/csound found
>>> where file expected.:
>>>  File "/Users/randi/Desktop/Oeyvind/csound5/SConstruct", line 2243:
>>>    csoundProgram = csoundProgramEnvironment.Program('csound',
>>> csoundProgramSources)
>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 258:
>>>    return MethodWrapper.__call__(self, target, source, *args, **kw)
>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 222:
>>>    return self.method(*nargs, **kwargs)
>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 632:
>>>    return self._execute(env, target, source, OverrideWarner(kw), ekw)
>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 553:
>>>    tlist, slist = self._create_nodes(env, target, source)
>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 500:
>>>    tlist = env.arg2nodes(target, target_factory, target=target, source=source)
>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 482:
>>>    v = node_factory(self.subst(v, **kw))
>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 1219:
>>>    return self._lookup(name, directory, File, create)
>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 1198:
>>>    return root._lookup_abs(p, fsclass, create)
>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 2061:
>>>    result.diskcheck_match()
>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 2207:
>>>    "Directory %s found where file expected.")
>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 331:
>>>    return self.func(*args, **kw)
>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 352:
>>>    raise TypeError(errorfmt % node.abspath)
>>>
>>>
>>> 2010/7/31 Oeyvind Brandtsegg :
>>>> Yes, I checked and found that I have a csound5/csound directory, and
>>>> even another csound directory below that.
>>>> I checked out clean this evening and have tried to build two times, so
>>>> these have appeared in this process.
>>>> Oeyvind
>>>>
>>>>
>>>> 2010/7/31 Victor Lazzarini :
>>>>> It appears you have a subdirectory called csound and scons does not
>>>>> like it.
>>>>> On 30 Jul 2010, at 23:53, Oeyvind Brandtsegg wrote:
>>>>>
>>>>>> TypeError: Directory /Users/randi/Desktop/Oeyvind/csound5/csound found
>>>>>> where file expected.:
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> The Palm PDK Hot Apps Program offers developers who use the
>>>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>>>>> of $1 Million in cash or HP Products. Visit us here for more details:
>>>>> http://p.sf.net/sfu/dev2dev-palm
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>
>>>
>>
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-07-31 00:48
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] compiling on OSX 10.6
... and it compiles fine if I use
useGettext=0

Thanks a lot, and sorry for the noise
Oeyvind

2010/7/31 Oeyvind Brandtsegg :
> Now, this is the latest csound5, and I get this error:
>
> gcc -o mixer -framework Carbon -framework CoreAudio -framework
> CoreMidi util/mixer_main.o -L. -L. -L/usr/local/lib -L. -L.
> -L/usr/local/lib -lsndfile -lpthread -lm -lsndfile -lcsound -lpthread
> -lm
> msgfmt -o po/de/LC_MESSAGES/csound5.mo po/german.po
> sh: msgfmt: command not found
> scons: *** [po/de/LC_MESSAGES/csound5.mo] Error 127
>
> Oeyvind
>
> 2010/7/31 Oeyvind Brandtsegg :
>> o no. That was way too quick I guess. I realize I checked out csound 4...
>> be back in a mo
>> Oeyvind
>>
>> 2010/7/31 Oeyvind Brandtsegg :
>>> Sorry, the last console print was wrong.
>>> This is the new one:
>>> ***
>>>
>>>
>>> Randi-Martines-iBook:csound randi$ python /usr/local/bin/sconsscons:
>>> Reading SConscript files ...
>>>
>>> C S O U N D   4
>>>
>>> SCons build file for Csound 4: **UNFINISHED**
>>> plugin opcodes, utilities.
>>>
>>> For custom options, run 'scons -h'.
>>> For default options, run 'scons -H'.
>>> If headers or libraries are not found, edit 'custom.py'.
>>> For Linux, run in the standard shell
>>>    with standard Python and just run 'scons'.
>>> For MinGW, run in the MSys shell
>>>    and use www.python.org WIN32 Python to run scons.
>>> For Cygwin, run in the Cygwin shell
>>>    and use Cygwin Python to run 'scons'.
>>>
>>> System platform is 'darwin'.
>>>
>>> scons: warning: The Options class is deprecated; use the Variables
>>> class instead.
>>> File "/Users/randi/Desktop/Oeyvind/csound/SConstruct", line 63, in 
>>> Build platform is 'darwin'.
>>> SCons tools on this platform:  ['default', 'applelink', 'gcc', 'g++',
>>> 'gfortran', 'as', 'ar', 'filesystem', 'm4', 'lex', 'yacc', 'rpcgen',
>>> 'swig', 'jar', 'javac', 'javah', 'rmic', 'tar', 'zip', 'CVS', 'RCS']
>>>
>>> CONFIGURATION DECISION: Using single-precision floating point for audio samples.
>>> Checking for C++ header file FL/Fl.H... no
>>>
>>> scons: warning: The env.Copy() method is deprecated; use the
>>> env.Clone() method instead.
>>> File "/Users/randi/Desktop/Oeyvind/csound/SConstruct", line 243, in 
>>> /bin/sh: fltk-config: command not found
>>> OSError: 'fltk-config --cflags --cxxflags --ldflags' exited 127:
>>>  File "/Users/randi/Desktop/Oeyvind/csound/SConstruct", line 246:
>>>    ustubProgramEnvironment.ParseConfig('fltk-config --cflags
>>> --cxxflags --ldflags')
>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 1460:
>>>    return function(self, self.backtick(command))
>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 593:
>>>    raise OSError("'%s' exited %d" % (command, status))
>>> Randi-Martines-iBook:csound randi$
>>>
>>>
>>> 2010/7/31 Oeyvind Brandtsegg :
>>>> I did probably do the checkout while on the wrong directory level, sorry.
>>>>
>>>> Now I deleted the csound5 dir and checked out again.
>>>> Then I get:
>>>>
>>>> Randi-Martines-iBook:csound5 randi$ python /usr/local/bin/sconsscons:
>>>> Reading SConscript files ...
>>>>
>>>>      C S O U N D 5
>>>>
>>>> SCons build file for Csound 5:
>>>> API library, plugin opcodes, utilities, and front ends.
>>>>
>>>> By Michael Gogins 
>>>>
>>>> For custom options, run 'scons -h'.
>>>> For default options, run 'scons -H'.
>>>> If headers or libraries are not found, edit 'custom.py'.
>>>> For Linux, run in the standard shell
>>>>    with standard Python and just run 'scons'.
>>>> For MinGW, run in the MSys shell
>>>>    and use www.python.org WIN32 Python to run scons.
>>>> For Microsoft Visual C++, run in the Platform SDK
>>>>    command shell, and use www.python.org WIN32 Python to run scons.
>>>>
>>>> System platform is 'darwin'.
>>>>
>>>> scons: warning: The Options class is deprecated; use the Variables
>>>> class instead.
>>>> File "/Users/randi/Desktop/Oeyvind/csound5/SConstruct", line 74, in 
>>>> Using options from 'custom.py.'
>>>> Build platform is 'darwin'.
>>>> SCons tools on this platform:  ['default', 'applelink', 'gcc', 'g++',
>>>> 'gfortran', 'as', 'ar', 'filesystem', 'm4', 'lex', 'yacc', 'rpcgen',
>>>> 'swig', 'jar', 'javac', 'javah', 'rmic', 'tar', 'zip', 'CVS', 'RCS']
>>>> Checking for C header file libintl.h... (cached) no
>>>> CONFIGURATION DECISION: Using single-precision floating point for audio samples.
>>>> Mac OS X version 10.6
>>>> Apple Python version is 2.6
>>>> Current Python version is 2.6, using Apple Python Framework
>>>> Checking for C header file stdio.h... (cached) yes
>>>> Checking for C library sndfile... (cached) yes
>>>> Checking for C library pthread... (cached) yes
>>>> CONFIGURATION DECISION: No MP3 support
>>>> CONFIGURATION DECISION: No Wiimote support
>>>> CONFIGURATION DECISION: No P5 Glove support
>>>> Checking for pthread_barrier_init(0, 0, 0) in C library pthread... (cached) no
>>>> Checking for __sync_lock_test_and_set((int32_t *)0, 0) in C library
>>>> m... (cached) yes
>>>> found sync lock
>>>> Checking for C++ header file
>>>> frontends/CsoundVST/vstsdk2.4/public.sdk/source/vst2.x/audioeffectx.h...
>>>> (cached) no
>>>> Checking for C header file portaudio.h... (cached) no
>>>> Checking for C header file portmidi.h... (cached) no
>>>> Checking for C++ header file FL/Fl.H... (cached) no
>>>> Checking for C++ header file boost/any.hpp... (cached) no
>>>> Checking for C++ header file gmm/gmm.h... (cached) no
>>>> Checking for C library asound... (cached) no
>>>> Checking for C library lo... (cached) no
>>>> Checking for MusicXML2::SXMLFile f = MusicXML2::TXMLFile::create() in
>>>> C++ library musicxml2... (cached) no
>>>> Checking for C header file jack/jack.h... (cached) no
>>>> Checking for C header file pulse/simple.h... (cached) no
>>>> Checking for C++ header file Opcodes/stk/include/Stk.h... (cached) no
>>>> Checking for C header file m_pd.h... (cached) no
>>>> Checking for C header file tcl.h... (cached) yes
>>>> Checking for C header file zlib.h... (cached) yes
>>>> Checking for C++ header file funknown.h... (cached) no
>>>> Checking for C header file lua.h... (cached) no
>>>> Checking for SWIG... yes
>>>> Python Version: 2.6
>>>> Checking for C header file Python.h... (cached) no
>>>> Checking for C header file
>>>> /System/Library/Frameworks/Python.framework/Headers/Python.h...
>>>> (cached) yes
>>>> Checking for C++ header file
>>>> /System/Library/Frameworks/JavaVM.framework/Headers/jni.h... (cached)
>>>> yes
>>>> Checking for C header file io.h... (cached) no
>>>> Checking for C header file fcntl.h... (cached) yes
>>>> Checking for C header file unistd.h... (cached) yes
>>>> Checking for C header file stdint.h... (cached) yes
>>>> Checking for C header file sys/time.h... (cached) yes
>>>> Checking for C header file sys/types.h... (cached) yes
>>>> Checking for C header file termios.h... (cached) yes
>>>> Checking for C header file values.h... (cached) no
>>>> Checking for C header file sys/socket.h... (cached) yes
>>>> Checking for libsndfile version 1.0.16 or later... (cached) yes
>>>> CONFIGURATION DECISION: Not building with new parser
>>>> CONFIGURATION DECISION: Building static Csound library
>>>> CONFIGURATION DECISION: Not building Csound C++ interface library.
>>>> CONFIGURATION DECISION: Not generating Csound API PDF documentation.
>>>> Checking for C library png... (cached) no
>>>> CONFIGURATION DECISION: Not building image opcodes
>>>> CONFIGURATION DECISION: Not building linear algebra opcodes.
>>>> CONFIGURATION DECISION: Not building with FLTK graphs and widgets.
>>>> CONFIGURATION DECISION: Building CoreAudio plugin.
>>>> CONFIGURATION DECISION: Not building ALSA plugin.
>>>> CONFIGURATION DECISION: Not building PortAudio module.
>>>> CONFIGURATION DECISION: Not building JACK plugin.
>>>> CONFIGURATION DECISION: Not building with PortMIDI.
>>>> CONFIGURATION DECISION: Not building OSC plugin.
>>>> CONFIGURATION DECISION: Building UDP plugins.
>>>> Checking for C header file fluidsynth.h... (cached) no
>>>> CONFIGURATION DECISION: Not building fluid opcodes.
>>>> CONFIGURATION DECISION: Not building vst4cs opcodes.
>>>> Checking for C header file ladspa.h... (cached) no
>>>> CONFIGURATION DECISION: Not building DSSI plugin host opcodes.
>>>> Checking for C header file Opcodes/Loris/src/loris.h... (cached) no
>>>> CONFIGURATION DECISION: Not building Loris Python extension and Csound opcodes.
>>>> CONFIGURATION DECISION: Not building STK opcodes.
>>>> CONFIGURATION DECISION: Not building Python opcodes.
>>>> TypeError: Directory /Users/randi/Desktop/Oeyvind/csound5/csound found
>>>> where file expected.:
>>>>  File "/Users/randi/Desktop/Oeyvind/csound5/SConstruct", line 2243:
>>>>    csoundProgram = csoundProgramEnvironment.Program('csound',
>>>> csoundProgramSources)
>>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 258:
>>>>    return MethodWrapper.__call__(self, target, source, *args, **kw)
>>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 222:
>>>>    return self.method(*nargs, **kwargs)
>>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 632:
>>>>    return self._execute(env, target, source, OverrideWarner(kw), ekw)
>>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 553:
>>>>    tlist, slist = self._create_nodes(env, target, source)
>>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Builder.py", line 500:
>>>>    tlist = env.arg2nodes(target, target_factory, target=target, source=source)
>>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Environment.py", line 482:
>>>>    v = node_factory(self.subst(v, **kw))
>>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 1219:
>>>>    return self._lookup(name, directory, File, create)
>>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 1198:
>>>>    return root._lookup_abs(p, fsclass, create)
>>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 2061:
>>>>    result.diskcheck_match()
>>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 2207:
>>>>    "Directory %s found where file expected.")
>>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 331:
>>>>    return self.func(*args, **kw)
>>>>  File "/usr/local/lib/scons-2.0.0.final.0/SCons/Node/FS.py", line 352:
>>>>    raise TypeError(errorfmt % node.abspath)
>>>>
>>>>
>>>> 2010/7/31 Oeyvind Brandtsegg :
>>>>> Yes, I checked and found that I have a csound5/csound directory, and
>>>>> even another csound directory below that.
>>>>> I checked out clean this evening and have tried to build two times, so
>>>>> these have appeared in this process.
>>>>> Oeyvind
>>>>>
>>>>>
>>>>> 2010/7/31 Victor Lazzarini :
>>>>>> It appears you have a subdirectory called csound and scons does not
>>>>>> like it.
>>>>>> On 30 Jul 2010, at 23:53, Oeyvind Brandtsegg wrote:
>>>>>>
>>>>>>> TypeError: Directory /Users/randi/Desktop/Oeyvind/csound5/csound found
>>>>>>> where file expected.:
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> The Palm PDK Hot Apps Program offers developers who use the
>>>>>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
>>>>>> of $1 Million in cash or HP Products. Visit us here for more details:
>>>>>> http://p.sf.net/sfu/dev2dev-palm
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>
>>>
>>
>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net