Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Building csound on osx, saga continued....

Date2008-08-13 23:37
Fromvictor
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
Because there is a step in SConstruct that copies the framework to
the right place so it can continue building. I guess it's not there
for 64bit. Try copying it by hand and continuing

Victor
----- Original Message ----- 
From: "peiman" 
To: 
Sent: Wednesday, August 13, 2008 11:16 PM
Subject: Re: [Cs-dev] Building csound on osx, saga continued....


>
> Ahhhhh if I knew it's so much trouble!!!
>
> So I deleted the old CsoundLib.framework from /Library/Frameworks do a 
> clean
> uninstall of csound and now csound won't build. It seems there must have
> been something in that directory that csound was trying to link to.
>
> This is the error I get:
>
> frontends/csladspa/ladspa.h:593: warning: 'visibility' attribute ignored
> g++ -o csladspa.so -bundle -undefined suppress -flat_namespace -framework
> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/local/lib -L. -L.
> -lsndfile
> /usr/bin/ld: can't locate framework for: -framework CsoundLib
> collect2: ld returned 1 exit status
> scons: *** [csladspa.so] Error 1
> scons: building terminated because of errors.
>
> Best
> Peiman
>
>
> peiman wrote:
>>
>> Hi Victor,
>>
>> I've installed portaudio v.19 dylib and rebuilt csound with
>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the command export
>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the source directory
>> (which is where the build rests at the moment) and type
>>
>>                         ./csound -otest ./tests/test1.csd
>>
>> the csd runs succesfully in realtime giving me no errors, whether its
>> working as double or float I don't know though, is there a way to find
>> out?
>>
>> So I still need to install the files in the right locations I guess.
>>
>> Best
>> Peiman
>>
>>
>>
>>
>>
>> Victor Lazzarini wrote:
>>>
>>> Do you mean portaudio v.19 dylib or the csound module librtpa.dylib?
>>> The latter should go in the plugins dir with the rest of the modules,
>>> the portaudio lib should be installed with its own script (generally
>>> it ends up in /usr/local/lib.)
>>>
>>> Victor
>>>
>>> At 12:13 13/08/2008, you wrote:
>>>
>>>>OK so I went ahead and decided to test the build from inside the
> directory.
>>>>
>>>>I wrote:
>>>>
>>>>./csound ./tests/test1.csd
>>>>
>>>>No problems...
>>>>
>>>>But realtime (./csound -odac ./tests/test1.csd) doesn't work. I get 
>>>>these
>>>>errors:
>>>>
>>>> 
>>>> ################################################################
>>>>         #              WARNING: OPCODEDIR64 IS NOT SET ! 
>>>> #
>>>>         # Csound requires this environment variable to be set to find 
>>>> #
>>>>         # its plugin libraries. If it is not set, you may experience 
>>>> #
>>>>         # missing opcodes, audio/MIDI drivers, or utilities. 
>>>> #
>>>> 
>>>> ################################################################
>>>>  *** error: unknown rtaudio module: 'PortAudio'
>>>>
>>>>
>>>>Now this makes sense to me because I didn't install PortAudio. I build 
>>>>it
>>>>but their readme file said not to install it. Then I wasn't sure where 
>>>>to
>>>>put it.
>>>>
>>>>In csound's custom.py it says:
>>>>
>>>>     # If you want real-time audio you need PortAudio.
>>>>     # If it is not in a standard location add it here
>>>>     # (of course you must build it first):
>>>>     #customCPPPATH.append('D:/utah/opt/portaudio_varga/include')
>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
>>>>
>>>>So where is the normal place for PortAudio to live? Or should I just 
>>>>call
>>>>"install" from within the PortAudio source directory, despite the readme
>>>>file specifically saying not to?
>>>>
>>>>Then to have real-time do I need to specify a variable for scons or is 
>>>>it
>>>>enabled by default?
>>>>
>>>>Then of course it is the question of setting OPCODEDIR64 is this just a
>>>>normal environmental variable set in .bash_profile?
>>>>
>>>>Sorry about all these questions!!
>>>>
>>>>Best
>>>>Peiman
>>>>
>>>>
>>>>
>>>>
>>>>peiman wrote:
>>>> >
>>>> > As Victor suggested I'm moving the discussion into csound-Dev list.
>>>> >
>>>> > So I've gone as far as building csound with the only extra option of
>>>> > useDouble=1 (I didn't bother with FLTK). So now I need to make the
>>>> > installer.
>>>> >
>>>> > Thanks Victor, your script would be much appreciated :-)
>>>> >
>>>> > Best
>>>> > Peiman
>>>> >
>>>>
>>>>--
>>>>View this message in context:
>>>>http://www.nabble.com/Building-csound-on-osx%2C-saga-continued....-tp18960495p18961102.html
>>>>Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>>
>>>>
>>>>-------------------------------------------------------------------------
>>>>This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
>>>>Build the coolest Linux based applications with Moblin SDK & win great
> prizes
>>>>Grand prize is a trip for two to an Open Source event anywhere in the
> world
>>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>_______________________________________________
>>>>Csound-devel mailing list
>>>>Csound-devel@lists.sourceforge.net
>>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Victor Lazzarini
>>> Music Technology Laboratory
>>> Music Department
>>> National University of Ireland, Maynooth
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Building-csound-on-osx%2C-saga-continued....-tp18960495p18972247.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the 
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


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

Date2008-08-13 23:56
Frompeiman khosravi
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
Thanks Victor,

I tried that and no change. Possibly because the content of  
CsoundLib.framework is not complete in the source directory as it's  
not being effected by the build process (CsoundLib64.framework is  
however). The double version is installed to CsoundLib64.framework so  
should it be looking for CsoundLib.framework? Maybe SConstruct is  
looking for the wrong folder, CsoundLib.framework instead of  
CsoundLib64.framework?

Best
Peiman

On 13 Aug 2008, at 23:37, victor wrote:

> Because there is a step in SConstruct that copies the framework to
> the right place so it can continue building. I guess it's not there
> for 64bit. Try copying it by hand and continuing
>
> Victor
> ----- Original Message -----
> From: "peiman" 
> To: 
> Sent: Wednesday, August 13, 2008 11:16 PM
> Subject: Re: [Cs-dev] Building csound on osx, saga continued....
>
>
>>
>> Ahhhhh if I knew it's so much trouble!!!
>>
>> So I deleted the old CsoundLib.framework from /Library/Frameworks  
>> do a
>> clean
>> uninstall of csound and now csound won't build. It seems there  
>> must have
>> been something in that directory that csound was trying to link to.
>>
>> This is the error I get:
>>
>> frontends/csladspa/ladspa.h:593: warning: 'visibility' attribute  
>> ignored
>> g++ -o csladspa.so -bundle -undefined suppress -flat_namespace - 
>> framework
>> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/local/lib - 
>> L. -L.
>> -lsndfile
>> /usr/bin/ld: can't locate framework for: -framework CsoundLib
>> collect2: ld returned 1 exit status
>> scons: *** [csladspa.so] Error 1
>> scons: building terminated because of errors.
>>
>> Best
>> Peiman
>>
>>
>> peiman wrote:
>>>
>>> Hi Victor,
>>>
>>> I've installed portaudio v.19 dylib and rebuilt csound with
>>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the command export
>>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the source  
>>> directory
>>> (which is where the build rests at the moment) and type
>>>
>>>                         ./csound -otest ./tests/test1.csd
>>>
>>> the csd runs succesfully in realtime giving me no errors, whether  
>>> its
>>> working as double or float I don't know though, is there a way to  
>>> find
>>> out?
>>>
>>> So I still need to install the files in the right locations I guess.
>>>
>>> Best
>>> Peiman
>>>
>>>
>>>
>>>
>>>
>>> Victor Lazzarini wrote:
>>>>
>>>> Do you mean portaudio v.19 dylib or the csound module  
>>>> librtpa.dylib?
>>>> The latter should go in the plugins dir with the rest of the  
>>>> modules,
>>>> the portaudio lib should be installed with its own script  
>>>> (generally
>>>> it ends up in /usr/local/lib.)
>>>>
>>>> Victor
>>>>
>>>> At 12:13 13/08/2008, you wrote:
>>>>
>>>>> OK so I went ahead and decided to test the build from inside the
>> directory.
>>>>>
>>>>> I wrote:
>>>>>
>>>>> ./csound ./tests/test1.csd
>>>>>
>>>>> No problems...
>>>>>
>>>>> But realtime (./csound -odac ./tests/test1.csd) doesn't work. I  
>>>>> get
>>>>> these
>>>>> errors:
>>>>>
>>>>>
>>>>> ################################################################
>>>>>         #              WARNING: OPCODEDIR64 IS NOT SET !
>>>>> #
>>>>>         # Csound requires this environment variable to be set  
>>>>> to find
>>>>> #
>>>>>         # its plugin libraries. If it is not set, you may  
>>>>> experience
>>>>> #
>>>>>         # missing opcodes, audio/MIDI drivers, or utilities.
>>>>> #
>>>>>
>>>>> ################################################################
>>>>>  *** error: unknown rtaudio module: 'PortAudio'
>>>>>
>>>>>
>>>>> Now this makes sense to me because I didn't install PortAudio.  
>>>>> I build
>>>>> it
>>>>> but their readme file said not to install it. Then I wasn't  
>>>>> sure where
>>>>> to
>>>>> put it.
>>>>>
>>>>> In csound's custom.py it says:
>>>>>
>>>>>     # If you want real-time audio you need PortAudio.
>>>>>     # If it is not in a standard location add it here
>>>>>     # (of course you must build it first):
>>>>>     #customCPPPATH.append('D:/utah/opt/portaudio_varga/include')
>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
>>>>>
>>>>> So where is the normal place for PortAudio to live? Or should I  
>>>>> just
>>>>> call
>>>>> "install" from within the PortAudio source directory, despite  
>>>>> the readme
>>>>> file specifically saying not to?
>>>>>
>>>>> Then to have real-time do I need to specify a variable for  
>>>>> scons or is
>>>>> it
>>>>> enabled by default?
>>>>>
>>>>> Then of course it is the question of setting OPCODEDIR64 is  
>>>>> this just a
>>>>> normal environmental variable set in .bash_profile?
>>>>>
>>>>> Sorry about all these questions!!
>>>>>
>>>>> Best
>>>>> Peiman
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> peiman wrote:
>>>>>>
>>>>>> As Victor suggested I'm moving the discussion into csound-Dev  
>>>>>> list.
>>>>>>
>>>>>> So I've gone as far as building csound with the only extra  
>>>>>> option of
>>>>>> useDouble=1 (I didn't bother with FLTK). So now I need to make  
>>>>>> the
>>>>>> installer.
>>>>>>
>>>>>> Thanks Victor, your script would be much appreciated :-)
>>>>>>
>>>>>> Best
>>>>>> Peiman
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga- 
>>>>> continued....-tp18960495p18961102.html
>>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------ 
>>>>> -------
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK &  
>>>>> win great
>> prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere  
>>>>> in the
>> world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Victor Lazzarini
>>>> Music Technology Laboratory
>>>> Music Department
>>>> National University of Ireland, Maynooth
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> ------
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win  
>>>> great
>>>> prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere  
>>>> in the
>>>> world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Building-csound-on-osx%2C-saga-continued....- 
>> tp18960495p18972247.html
>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


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

Date2008-08-14 01:32
Frompeiman khosravi
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
OK found the problem. In SConstruct, line 2278 is:

   csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined suppress - 
flat_namespace -framework CsoundLib'''))

Now this is a problem because up to this point 'CsoundLib' doesn't  
exists with a Double build. So I've added a conditional:

    if commonEnvironment['useDouble'] == '1':	
    	csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined  
suppress -flat_namespace -framework CsoundLib64'''))
    else:
    	csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined  
suppress -flat_namespace -framework CsoundLib'''))

It's now building with no errors.

Best
Peiman


On 13 Aug 2008, at 23:37, victor wrote:

> Because there is a step in SConstruct that copies the framework to
> the right place so it can continue building. I guess it's not there
> for 64bit. Try copying it by hand and continuing
>
> Victor
> ----- Original Message -----
> From: "peiman" 
> To: 
> Sent: Wednesday, August 13, 2008 11:16 PM
> Subject: Re: [Cs-dev] Building csound on osx, saga continued....
>
>
>>
>> Ahhhhh if I knew it's so much trouble!!!
>>
>> So I deleted the old CsoundLib.framework from /Library/Frameworks  
>> do a
>> clean
>> uninstall of csound and now csound won't build. It seems there  
>> must have
>> been something in that directory that csound was trying to link to.
>>
>> This is the error I get:
>>
>> frontends/csladspa/ladspa.h:593: warning: 'visibility' attribute  
>> ignored
>> g++ -o csladspa.so -bundle -undefined suppress -flat_namespace - 
>> framework
>> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/local/lib - 
>> L. -L.
>> -lsndfile
>> /usr/bin/ld: can't locate framework for: -framework CsoundLib
>> collect2: ld returned 1 exit status
>> scons: *** [csladspa.so] Error 1
>> scons: building terminated because of errors.
>>
>> Best
>> Peiman
>>
>>
>> peiman wrote:
>>>
>>> Hi Victor,
>>>
>>> I've installed portaudio v.19 dylib and rebuilt csound with
>>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the command export
>>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the source  
>>> directory
>>> (which is where the build rests at the moment) and type
>>>
>>>                         ./csound -otest ./tests/test1.csd
>>>
>>> the csd runs succesfully in realtime giving me no errors, whether  
>>> its
>>> working as double or float I don't know though, is there a way to  
>>> find
>>> out?
>>>
>>> So I still need to install the files in the right locations I guess.
>>>
>>> Best
>>> Peiman
>>>
>>>
>>>
>>>
>>>
>>> Victor Lazzarini wrote:
>>>>
>>>> Do you mean portaudio v.19 dylib or the csound module  
>>>> librtpa.dylib?
>>>> The latter should go in the plugins dir with the rest of the  
>>>> modules,
>>>> the portaudio lib should be installed with its own script  
>>>> (generally
>>>> it ends up in /usr/local/lib.)
>>>>
>>>> Victor
>>>>
>>>> At 12:13 13/08/2008, you wrote:
>>>>
>>>>> OK so I went ahead and decided to test the build from inside the
>> directory.
>>>>>
>>>>> I wrote:
>>>>>
>>>>> ./csound ./tests/test1.csd
>>>>>
>>>>> No problems...
>>>>>
>>>>> But realtime (./csound -odac ./tests/test1.csd) doesn't work. I  
>>>>> get
>>>>> these
>>>>> errors:
>>>>>
>>>>>
>>>>> ################################################################
>>>>>         #              WARNING: OPCODEDIR64 IS NOT SET !
>>>>> #
>>>>>         # Csound requires this environment variable to be set  
>>>>> to find
>>>>> #
>>>>>         # its plugin libraries. If it is not set, you may  
>>>>> experience
>>>>> #
>>>>>         # missing opcodes, audio/MIDI drivers, or utilities.
>>>>> #
>>>>>
>>>>> ################################################################
>>>>>  *** error: unknown rtaudio module: 'PortAudio'
>>>>>
>>>>>
>>>>> Now this makes sense to me because I didn't install PortAudio.  
>>>>> I build
>>>>> it
>>>>> but their readme file said not to install it. Then I wasn't  
>>>>> sure where
>>>>> to
>>>>> put it.
>>>>>
>>>>> In csound's custom.py it says:
>>>>>
>>>>>     # If you want real-time audio you need PortAudio.
>>>>>     # If it is not in a standard location add it here
>>>>>     # (of course you must build it first):
>>>>>     #customCPPPATH.append('D:/utah/opt/portaudio_varga/include')
>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
>>>>>
>>>>> So where is the normal place for PortAudio to live? Or should I  
>>>>> just
>>>>> call
>>>>> "install" from within the PortAudio source directory, despite  
>>>>> the readme
>>>>> file specifically saying not to?
>>>>>
>>>>> Then to have real-time do I need to specify a variable for  
>>>>> scons or is
>>>>> it
>>>>> enabled by default?
>>>>>
>>>>> Then of course it is the question of setting OPCODEDIR64 is  
>>>>> this just a
>>>>> normal environmental variable set in .bash_profile?
>>>>>
>>>>> Sorry about all these questions!!
>>>>>
>>>>> Best
>>>>> Peiman
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> peiman wrote:
>>>>>>
>>>>>> As Victor suggested I'm moving the discussion into csound-Dev  
>>>>>> list.
>>>>>>
>>>>>> So I've gone as far as building csound with the only extra  
>>>>>> option of
>>>>>> useDouble=1 (I didn't bother with FLTK). So now I need to make  
>>>>>> the
>>>>>> installer.
>>>>>>
>>>>>> Thanks Victor, your script would be much appreciated :-)
>>>>>>
>>>>>> Best
>>>>>> Peiman
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga- 
>>>>> continued....-tp18960495p18961102.html
>>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------ 
>>>>> -------
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK &  
>>>>> win great
>> prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere  
>>>>> in the
>> world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>> Victor Lazzarini
>>>> Music Technology Laboratory
>>>> Music Department
>>>> National University of Ireland, Maynooth
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> ------
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win  
>>>> great
>>>> prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere  
>>>> in the
>>>> world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Building-csound-on-osx%2C-saga-continued....- 
>> tp18960495p18972247.html
>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


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

Date2008-08-14 02:15
Frompeiman
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
I had to modify install.py too, basically commenting out the self-check stage
as it would give an error every-time. Now it seems to install and work,
except that the interfaces (e.g. csnd.jar) aren't installed in the right
place or properly, or else they're not build properly. 

Is a double precision build of csnd.jar different from the float one?

An osx installer is really needed as I don't think install.py works properly
on osx.

Best
Peiman


peiman wrote:
> 
> OK found the problem. In SConstruct, line 2278 is:
> 
>    csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined suppress - 
> flat_namespace -framework CsoundLib'''))
> 
> Now this is a problem because up to this point 'CsoundLib' doesn't  
> exists with a Double build. So I've added a conditional:
> 
>     if commonEnvironment['useDouble'] == '1':	
>     	csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined  
> suppress -flat_namespace -framework CsoundLib64'''))
>     else:
>     	csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined  
> suppress -flat_namespace -framework CsoundLib'''))
> 
> It's now building with no errors.
> 
> Best
> Peiman
> 
> 
> On 13 Aug 2008, at 23:37, victor wrote:
> 
>> Because there is a step in SConstruct that copies the framework to
>> the right place so it can continue building. I guess it's not there
>> for 64bit. Try copying it by hand and continuing
>>
>> Victor
>> ----- Original Message -----
>> From: "peiman" 
>> To: 
>> Sent: Wednesday, August 13, 2008 11:16 PM
>> Subject: Re: [Cs-dev] Building csound on osx, saga continued....
>>
>>
>>>
>>> Ahhhhh if I knew it's so much trouble!!!
>>>
>>> So I deleted the old CsoundLib.framework from /Library/Frameworks  
>>> do a
>>> clean
>>> uninstall of csound and now csound won't build. It seems there  
>>> must have
>>> been something in that directory that csound was trying to link to.
>>>
>>> This is the error I get:
>>>
>>> frontends/csladspa/ladspa.h:593: warning: 'visibility' attribute  
>>> ignored
>>> g++ -o csladspa.so -bundle -undefined suppress -flat_namespace - 
>>> framework
>>> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/local/lib - 
>>> L. -L.
>>> -lsndfile
>>> /usr/bin/ld: can't locate framework for: -framework CsoundLib
>>> collect2: ld returned 1 exit status
>>> scons: *** [csladspa.so] Error 1
>>> scons: building terminated because of errors.
>>>
>>> Best
>>> Peiman
>>>
>>>
>>> peiman wrote:
>>>>
>>>> Hi Victor,
>>>>
>>>> I've installed portaudio v.19 dylib and rebuilt csound with
>>>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the command export
>>>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the source  
>>>> directory
>>>> (which is where the build rests at the moment) and type
>>>>
>>>>                         ./csound -otest ./tests/test1.csd
>>>>
>>>> the csd runs succesfully in realtime giving me no errors, whether  
>>>> its
>>>> working as double or float I don't know though, is there a way to  
>>>> find
>>>> out?
>>>>
>>>> So I still need to install the files in the right locations I guess.
>>>>
>>>> Best
>>>> Peiman
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Victor Lazzarini wrote:
>>>>>
>>>>> Do you mean portaudio v.19 dylib or the csound module  
>>>>> librtpa.dylib?
>>>>> The latter should go in the plugins dir with the rest of the  
>>>>> modules,
>>>>> the portaudio lib should be installed with its own script  
>>>>> (generally
>>>>> it ends up in /usr/local/lib.)
>>>>>
>>>>> Victor
>>>>>
>>>>> At 12:13 13/08/2008, you wrote:
>>>>>
>>>>>> OK so I went ahead and decided to test the build from inside the
>>> directory.
>>>>>>
>>>>>> I wrote:
>>>>>>
>>>>>> ./csound ./tests/test1.csd
>>>>>>
>>>>>> No problems...
>>>>>>
>>>>>> But realtime (./csound -odac ./tests/test1.csd) doesn't work. I  
>>>>>> get
>>>>>> these
>>>>>> errors:
>>>>>>
>>>>>>
>>>>>> ################################################################
>>>>>>         #              WARNING: OPCODEDIR64 IS NOT SET !
>>>>>> #
>>>>>>         # Csound requires this environment variable to be set  
>>>>>> to find
>>>>>> #
>>>>>>         # its plugin libraries. If it is not set, you may  
>>>>>> experience
>>>>>> #
>>>>>>         # missing opcodes, audio/MIDI drivers, or utilities.
>>>>>> #
>>>>>>
>>>>>> ################################################################
>>>>>>  *** error: unknown rtaudio module: 'PortAudio'
>>>>>>
>>>>>>
>>>>>> Now this makes sense to me because I didn't install PortAudio.  
>>>>>> I build
>>>>>> it
>>>>>> but their readme file said not to install it. Then I wasn't  
>>>>>> sure where
>>>>>> to
>>>>>> put it.
>>>>>>
>>>>>> In csound's custom.py it says:
>>>>>>
>>>>>>     # If you want real-time audio you need PortAudio.
>>>>>>     # If it is not in a standard location add it here
>>>>>>     # (of course you must build it first):
>>>>>>     #customCPPPATH.append('D:/utah/opt/portaudio_varga/include')
>>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
>>>>>>
>>>>>> So where is the normal place for PortAudio to live? Or should I  
>>>>>> just
>>>>>> call
>>>>>> "install" from within the PortAudio source directory, despite  
>>>>>> the readme
>>>>>> file specifically saying not to?
>>>>>>
>>>>>> Then to have real-time do I need to specify a variable for  
>>>>>> scons or is
>>>>>> it
>>>>>> enabled by default?
>>>>>>
>>>>>> Then of course it is the question of setting OPCODEDIR64 is  
>>>>>> this just a
>>>>>> normal environmental variable set in .bash_profile?
>>>>>>
>>>>>> Sorry about all these questions!!
>>>>>>
>>>>>> Best
>>>>>> Peiman
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> peiman wrote:
>>>>>>>
>>>>>>> As Victor suggested I'm moving the discussion into csound-Dev  
>>>>>>> list.
>>>>>>>
>>>>>>> So I've gone as far as building csound with the only extra  
>>>>>>> option of
>>>>>>> useDouble=1 (I didn't bother with FLTK). So now I need to make  
>>>>>>> the
>>>>>>> installer.
>>>>>>>
>>>>>>> Thanks Victor, your script would be much appreciated :-)
>>>>>>>
>>>>>>> Best
>>>>>>> Peiman
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga- 
>>>>>> continued....-tp18960495p18961102.html
>>>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------ 
>>>>>> -------
>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>>>>> Build the coolest Linux based applications with Moblin SDK &  
>>>>>> win great
>>> prizes
>>>>>> Grand prize is a trip for two to an Open Source event anywhere  
>>>>>> in the
>>> world
>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Victor Lazzarini
>>>>> Music Technology Laboratory
>>>>> Music Department
>>>>> National University of Ireland, Maynooth
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------- 
>>>>> ------
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win  
>>>>> great
>>>>> prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere  
>>>>> in the
>>>>> world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>
>>>>
>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-continued....- 
>>> tp18960495p18972247.html
>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>
>>>
>>> --------------------------------------------------------------------- 
>>> ----
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win  
>>> great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ---------------------------------------------------------------------- 
>> ---
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 

-- 
View this message in context: http://www.nabble.com/Building-csound-on-osx%2C-saga-continued....-tp18960495p18974186.html
Sent from the Csound - Dev mailing list archive at Nabble.com.


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

Date2008-08-14 02:27
FromDavidW
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
Congrats on getting the 64bit versionup.

On 14/08/2008, at 11:15 AM, peiman wrote:

> I had to modify install.py too, basically commenting out the self- 
> check stage
> as it would give an error every-time. Now it seems to install and  
> work,
> except that the interfaces (e.g. csnd.jar) aren't installed in the  
> right
> place or properly, or else they're not build properly.
>
> Is a double precision build of csnd.jar different from the float one?
>
> An osx installer is really needed
agreed.
> as I don't think install.py works properly
> on osx.
>
No it doesn't; never has. I mentioned this at least last year. There  
needs to be a note _in the file_ to that effect.
D.

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

Date2008-08-14 04:00
From"Steven Yi"
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
AttachmentsNone  

Date2008-08-14 11:23
Frompeiman khosravi
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
Thanks Steven,

That makes sense. I'll hang on, sooner or later a miracle will  
happen ;-)

Best
Peiman

On 14 Aug 2008, at 04:00, Steven Yi wrote:

> Hi Peiman,
>
> The double version of csnd.jar should be different from the float one.
>  The method signatures of the java library methods should be for
> doulbe instead of float, and it will expect to link to a native
> library that uses doubles.
>
> steven
>
> On Wed, Aug 13, 2008 at 6:15 PM, peiman   
> wrote:
>>
>> I had to modify install.py too, basically commenting out the self- 
>> check stage
>> as it would give an error every-time. Now it seems to install and  
>> work,
>> except that the interfaces (e.g. csnd.jar) aren't installed in the  
>> right
>> place or properly, or else they're not build properly.
>>
>> Is a double precision build of csnd.jar different from the float one?
>>
>> An osx installer is really needed as I don't think install.py  
>> works properly
>> on osx.
>>
>> Best
>> Peiman
>>
>>
>> peiman wrote:
>>>
>>> OK found the problem. In SConstruct, line 2278 is:
>>>
>>>    csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined  
>>> suppress -
>>> flat_namespace -framework CsoundLib'''))
>>>
>>> Now this is a problem because up to this point 'CsoundLib' doesn't
>>> exists with a Double build. So I've added a conditional:
>>>
>>>     if commonEnvironment['useDouble'] == '1':
>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>> suppress -flat_namespace -framework CsoundLib64'''))
>>>     else:
>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>> suppress -flat_namespace -framework CsoundLib'''))
>>>
>>> It's now building with no errors.
>>>
>>> Best
>>> Peiman
>>>
>>>
>>> On 13 Aug 2008, at 23:37, victor wrote:
>>>
>>>> Because there is a step in SConstruct that copies the framework to
>>>> the right place so it can continue building. I guess it's not there
>>>> for 64bit. Try copying it by hand and continuing
>>>>
>>>> Victor
>>>> ----- Original Message -----
>>>> From: "peiman" 
>>>> To: 
>>>> Sent: Wednesday, August 13, 2008 11:16 PM
>>>> Subject: Re: [Cs-dev] Building csound on osx, saga continued....
>>>>
>>>>
>>>>>
>>>>> Ahhhhh if I knew it's so much trouble!!!
>>>>>
>>>>> So I deleted the old CsoundLib.framework from /Library/Frameworks
>>>>> do a
>>>>> clean
>>>>> uninstall of csound and now csound won't build. It seems there
>>>>> must have
>>>>> been something in that directory that csound was trying to link  
>>>>> to.
>>>>>
>>>>> This is the error I get:
>>>>>
>>>>> frontends/csladspa/ladspa.h:593: warning: 'visibility' attribute
>>>>> ignored
>>>>> g++ -o csladspa.so -bundle -undefined suppress -flat_namespace -
>>>>> framework
>>>>> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/local/lib -
>>>>> L. -L.
>>>>> -lsndfile
>>>>> /usr/bin/ld: can't locate framework for: -framework CsoundLib
>>>>> collect2: ld returned 1 exit status
>>>>> scons: *** [csladspa.so] Error 1
>>>>> scons: building terminated because of errors.
>>>>>
>>>>> Best
>>>>> Peiman
>>>>>
>>>>>
>>>>> peiman wrote:
>>>>>>
>>>>>> Hi Victor,
>>>>>>
>>>>>> I've installed portaudio v.19 dylib and rebuilt csound with
>>>>>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the command  
>>>>>> export
>>>>>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the source
>>>>>> directory
>>>>>> (which is where the build rests at the moment) and type
>>>>>>
>>>>>>                         ./csound -otest ./tests/test1.csd
>>>>>>
>>>>>> the csd runs succesfully in realtime giving me no errors, whether
>>>>>> its
>>>>>> working as double or float I don't know though, is there a way to
>>>>>> find
>>>>>> out?
>>>>>>
>>>>>> So I still need to install the files in the right locations I  
>>>>>> guess.
>>>>>>
>>>>>> Best
>>>>>> Peiman
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Victor Lazzarini wrote:
>>>>>>>
>>>>>>> Do you mean portaudio v.19 dylib or the csound module
>>>>>>> librtpa.dylib?
>>>>>>> The latter should go in the plugins dir with the rest of the
>>>>>>> modules,
>>>>>>> the portaudio lib should be installed with its own script
>>>>>>> (generally
>>>>>>> it ends up in /usr/local/lib.)
>>>>>>>
>>>>>>> Victor
>>>>>>>
>>>>>>> At 12:13 13/08/2008, you wrote:
>>>>>>>
>>>>>>>> OK so I went ahead and decided to test the build from inside  
>>>>>>>> the
>>>>> directory.
>>>>>>>>
>>>>>>>> I wrote:
>>>>>>>>
>>>>>>>> ./csound ./tests/test1.csd
>>>>>>>>
>>>>>>>> No problems...
>>>>>>>>
>>>>>>>> But realtime (./csound -odac ./tests/test1.csd) doesn't work. I
>>>>>>>> get
>>>>>>>> these
>>>>>>>> errors:
>>>>>>>>
>>>>>>>>
>>>>>>>> ############################################################### 
>>>>>>>> #
>>>>>>>>         #              WARNING: OPCODEDIR64 IS NOT SET !
>>>>>>>> #
>>>>>>>>         # Csound requires this environment variable to be set
>>>>>>>> to find
>>>>>>>> #
>>>>>>>>         # its plugin libraries. If it is not set, you may
>>>>>>>> experience
>>>>>>>> #
>>>>>>>>         # missing opcodes, audio/MIDI drivers, or utilities.
>>>>>>>> #
>>>>>>>>
>>>>>>>> ############################################################### 
>>>>>>>> #
>>>>>>>>  *** error: unknown rtaudio module: 'PortAudio'
>>>>>>>>
>>>>>>>>
>>>>>>>> Now this makes sense to me because I didn't install PortAudio.
>>>>>>>> I build
>>>>>>>> it
>>>>>>>> but their readme file said not to install it. Then I wasn't
>>>>>>>> sure where
>>>>>>>> to
>>>>>>>> put it.
>>>>>>>>
>>>>>>>> In csound's custom.py it says:
>>>>>>>>
>>>>>>>>     # If you want real-time audio you need PortAudio.
>>>>>>>>     # If it is not in a standard location add it here
>>>>>>>>     # (of course you must build it first):
>>>>>>>>     #customCPPPATH.append('D:/utah/opt/portaudio_varga/ 
>>>>>>>> include')
>>>>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
>>>>>>>>
>>>>>>>> So where is the normal place for PortAudio to live? Or should I
>>>>>>>> just
>>>>>>>> call
>>>>>>>> "install" from within the PortAudio source directory, despite
>>>>>>>> the readme
>>>>>>>> file specifically saying not to?
>>>>>>>>
>>>>>>>> Then to have real-time do I need to specify a variable for
>>>>>>>> scons or is
>>>>>>>> it
>>>>>>>> enabled by default?
>>>>>>>>
>>>>>>>> Then of course it is the question of setting OPCODEDIR64 is
>>>>>>>> this just a
>>>>>>>> normal environmental variable set in .bash_profile?
>>>>>>>>
>>>>>>>> Sorry about all these questions!!
>>>>>>>>
>>>>>>>> Best
>>>>>>>> Peiman
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> peiman wrote:
>>>>>>>>>
>>>>>>>>> As Victor suggested I'm moving the discussion into csound-Dev
>>>>>>>>> list.
>>>>>>>>>
>>>>>>>>> So I've gone as far as building csound with the only extra
>>>>>>>>> option of
>>>>>>>>> useDouble=1 (I didn't bother with FLTK). So now I need to make
>>>>>>>>> the
>>>>>>>>> installer.
>>>>>>>>>
>>>>>>>>> Thanks Victor, your script would be much appreciated :-)
>>>>>>>>>
>>>>>>>>> Best
>>>>>>>>> Peiman
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> View this message in context:
>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>> continued....-tp18960495p18961102.html
>>>>>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>>>>>>
>>>>>>>>
>>>>>>>> --------------------------------------------------------------- 
>>>>>>>> ---
>>>>>>>> -------
>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>>>> Developer's
>>>>> challenge
>>>>>>>> Build the coolest Linux based applications with Moblin SDK &
>>>>>>>> win great
>>>>> prizes
>>>>>>>> Grand prize is a trip for two to an Open Source event anywhere
>>>>>>>> in the
>>>>> world
>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Victor Lazzarini
>>>>>>> Music Technology Laboratory
>>>>>>> Music Department
>>>>>>> National University of Ireland, Maynooth
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------- 
>>>>>>> ---
>>>>>>> ------
>>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>>> Developer's
>>>>>>> challenge
>>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>>> great
>>>>>>> prizes
>>>>>>> Grand prize is a trip for two to an Open Source event anywhere
>>>>>>> in the
>>>>>>> world
>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga- 
>>>>> continued....-
>>>>> tp18960495p18972247.html
>>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------ 
>>>>> ---
>>>>> ----
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>> great
>>>>> prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere  
>>>>> in the
>>>>> world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> ---
>>>> ---
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>> great prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>> the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> -----
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win  
>>> great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in  
>>> the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>
>> --
>> View this message in context: http://www.nabble.com/Building- 
>> csound-on-osx%2C-saga-continued....-tp18960495p18974186.html
>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


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

Date2008-08-14 13:38
Frompeiman khosravi
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
So I have the double build now. In /Library/Frameworks/ 
CsoundLib64.Framework/Versions/5.1/Resources/java/ I have only two  
files csnd.jar and lib_jcsound.jnilib. I have put lib_jcsound.jnilib  
in /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/Resources/ 
java/. But java api is still not working, is there anyway of checking  
the integrity of csnd.jar?

Best
Peiman


On 14 Aug 2008, at 04:00, Steven Yi wrote:

> Hi Peiman,
>
> The double version of csnd.jar should be different from the float one.
>  The method signatures of the java library methods should be for
> doulbe instead of float, and it will expect to link to a native
> library that uses doubles.
>
> steven
>
> On Wed, Aug 13, 2008 at 6:15 PM, peiman   
> wrote:
>>
>> I had to modify install.py too, basically commenting out the self- 
>> check stage
>> as it would give an error every-time. Now it seems to install and  
>> work,
>> except that the interfaces (e.g. csnd.jar) aren't installed in the  
>> right
>> place or properly, or else they're not build properly.
>>
>> Is a double precision build of csnd.jar different from the float one?
>>
>> An osx installer is really needed as I don't think install.py  
>> works properly
>> on osx.
>>
>> Best
>> Peiman
>>
>>
>> peiman wrote:
>>>
>>> OK found the problem. In SConstruct, line 2278 is:
>>>
>>>    csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined  
>>> suppress -
>>> flat_namespace -framework CsoundLib'''))
>>>
>>> Now this is a problem because up to this point 'CsoundLib' doesn't
>>> exists with a Double build. So I've added a conditional:
>>>
>>>     if commonEnvironment['useDouble'] == '1':
>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>> suppress -flat_namespace -framework CsoundLib64'''))
>>>     else:
>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>> suppress -flat_namespace -framework CsoundLib'''))
>>>
>>> It's now building with no errors.
>>>
>>> Best
>>> Peiman
>>>
>>>
>>> On 13 Aug 2008, at 23:37, victor wrote:
>>>
>>>> Because there is a step in SConstruct that copies the framework to
>>>> the right place so it can continue building. I guess it's not there
>>>> for 64bit. Try copying it by hand and continuing
>>>>
>>>> Victor
>>>> ----- Original Message -----
>>>> From: "peiman" 
>>>> To: 
>>>> Sent: Wednesday, August 13, 2008 11:16 PM
>>>> Subject: Re: [Cs-dev] Building csound on osx, saga continued....
>>>>
>>>>
>>>>>
>>>>> Ahhhhh if I knew it's so much trouble!!!
>>>>>
>>>>> So I deleted the old CsoundLib.framework from /Library/Frameworks
>>>>> do a
>>>>> clean
>>>>> uninstall of csound and now csound won't build. It seems there
>>>>> must have
>>>>> been something in that directory that csound was trying to link  
>>>>> to.
>>>>>
>>>>> This is the error I get:
>>>>>
>>>>> frontends/csladspa/ladspa.h:593: warning: 'visibility' attribute
>>>>> ignored
>>>>> g++ -o csladspa.so -bundle -undefined suppress -flat_namespace -
>>>>> framework
>>>>> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/local/lib -
>>>>> L. -L.
>>>>> -lsndfile
>>>>> /usr/bin/ld: can't locate framework for: -framework CsoundLib
>>>>> collect2: ld returned 1 exit status
>>>>> scons: *** [csladspa.so] Error 1
>>>>> scons: building terminated because of errors.
>>>>>
>>>>> Best
>>>>> Peiman
>>>>>
>>>>>
>>>>> peiman wrote:
>>>>>>
>>>>>> Hi Victor,
>>>>>>
>>>>>> I've installed portaudio v.19 dylib and rebuilt csound with
>>>>>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the command  
>>>>>> export
>>>>>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the source
>>>>>> directory
>>>>>> (which is where the build rests at the moment) and type
>>>>>>
>>>>>>                         ./csound -otest ./tests/test1.csd
>>>>>>
>>>>>> the csd runs succesfully in realtime giving me no errors, whether
>>>>>> its
>>>>>> working as double or float I don't know though, is there a way to
>>>>>> find
>>>>>> out?
>>>>>>
>>>>>> So I still need to install the files in the right locations I  
>>>>>> guess.
>>>>>>
>>>>>> Best
>>>>>> Peiman
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Victor Lazzarini wrote:
>>>>>>>
>>>>>>> Do you mean portaudio v.19 dylib or the csound module
>>>>>>> librtpa.dylib?
>>>>>>> The latter should go in the plugins dir with the rest of the
>>>>>>> modules,
>>>>>>> the portaudio lib should be installed with its own script
>>>>>>> (generally
>>>>>>> it ends up in /usr/local/lib.)
>>>>>>>
>>>>>>> Victor
>>>>>>>
>>>>>>> At 12:13 13/08/2008, you wrote:
>>>>>>>
>>>>>>>> OK so I went ahead and decided to test the build from inside  
>>>>>>>> the
>>>>> directory.
>>>>>>>>
>>>>>>>> I wrote:
>>>>>>>>
>>>>>>>> ./csound ./tests/test1.csd
>>>>>>>>
>>>>>>>> No problems...
>>>>>>>>
>>>>>>>> But realtime (./csound -odac ./tests/test1.csd) doesn't work. I
>>>>>>>> get
>>>>>>>> these
>>>>>>>> errors:
>>>>>>>>
>>>>>>>>
>>>>>>>> ############################################################### 
>>>>>>>> #
>>>>>>>>         #              WARNING: OPCODEDIR64 IS NOT SET !
>>>>>>>> #
>>>>>>>>         # Csound requires this environment variable to be set
>>>>>>>> to find
>>>>>>>> #
>>>>>>>>         # its plugin libraries. If it is not set, you may
>>>>>>>> experience
>>>>>>>> #
>>>>>>>>         # missing opcodes, audio/MIDI drivers, or utilities.
>>>>>>>> #
>>>>>>>>
>>>>>>>> ############################################################### 
>>>>>>>> #
>>>>>>>>  *** error: unknown rtaudio module: 'PortAudio'
>>>>>>>>
>>>>>>>>
>>>>>>>> Now this makes sense to me because I didn't install PortAudio.
>>>>>>>> I build
>>>>>>>> it
>>>>>>>> but their readme file said not to install it. Then I wasn't
>>>>>>>> sure where
>>>>>>>> to
>>>>>>>> put it.
>>>>>>>>
>>>>>>>> In csound's custom.py it says:
>>>>>>>>
>>>>>>>>     # If you want real-time audio you need PortAudio.
>>>>>>>>     # If it is not in a standard location add it here
>>>>>>>>     # (of course you must build it first):
>>>>>>>>     #customCPPPATH.append('D:/utah/opt/portaudio_varga/ 
>>>>>>>> include')
>>>>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
>>>>>>>>
>>>>>>>> So where is the normal place for PortAudio to live? Or should I
>>>>>>>> just
>>>>>>>> call
>>>>>>>> "install" from within the PortAudio source directory, despite
>>>>>>>> the readme
>>>>>>>> file specifically saying not to?
>>>>>>>>
>>>>>>>> Then to have real-time do I need to specify a variable for
>>>>>>>> scons or is
>>>>>>>> it
>>>>>>>> enabled by default?
>>>>>>>>
>>>>>>>> Then of course it is the question of setting OPCODEDIR64 is
>>>>>>>> this just a
>>>>>>>> normal environmental variable set in .bash_profile?
>>>>>>>>
>>>>>>>> Sorry about all these questions!!
>>>>>>>>
>>>>>>>> Best
>>>>>>>> Peiman
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> peiman wrote:
>>>>>>>>>
>>>>>>>>> As Victor suggested I'm moving the discussion into csound-Dev
>>>>>>>>> list.
>>>>>>>>>
>>>>>>>>> So I've gone as far as building csound with the only extra
>>>>>>>>> option of
>>>>>>>>> useDouble=1 (I didn't bother with FLTK). So now I need to make
>>>>>>>>> the
>>>>>>>>> installer.
>>>>>>>>>
>>>>>>>>> Thanks Victor, your script would be much appreciated :-)
>>>>>>>>>
>>>>>>>>> Best
>>>>>>>>> Peiman
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> View this message in context:
>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>> continued....-tp18960495p18961102.html
>>>>>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>>>>>>
>>>>>>>>
>>>>>>>> --------------------------------------------------------------- 
>>>>>>>> ---
>>>>>>>> -------
>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>>>> Developer's
>>>>> challenge
>>>>>>>> Build the coolest Linux based applications with Moblin SDK &
>>>>>>>> win great
>>>>> prizes
>>>>>>>> Grand prize is a trip for two to an Open Source event anywhere
>>>>>>>> in the
>>>>> world
>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Victor Lazzarini
>>>>>>> Music Technology Laboratory
>>>>>>> Music Department
>>>>>>> National University of Ireland, Maynooth
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------- 
>>>>>>> ---
>>>>>>> ------
>>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>>> Developer's
>>>>>>> challenge
>>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>>> great
>>>>>>> prizes
>>>>>>> Grand prize is a trip for two to an Open Source event anywhere
>>>>>>> in the
>>>>>>> world
>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga- 
>>>>> continued....-
>>>>> tp18960495p18972247.html
>>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------ 
>>>>> ---
>>>>> ----
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>> great
>>>>> prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere  
>>>>> in the
>>>>> world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> ---
>>>> ---
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>> great prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>> the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> -----
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win  
>>> great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in  
>>> the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>
>> --
>> View this message in context: http://www.nabble.com/Building- 
>> csound-on-osx%2C-saga-continued....-tp18960495p18974186.html
>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


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

Date2008-08-14 13:45
FromVictor Lazzarini
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
I think the files have to go in the Java framework.

At 13:38 14/08/2008, you wrote:

>So I have the double build now. In /Library/Frameworks/
>CsoundLib64.Framework/Versions/5.1/Resources/java/ I have only two
>files csnd.jar and lib_jcsound.jnilib. I have put lib_jcsound.jnilib
>in /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/Resources/
>java/. But java api is still not working, is there anyway of checking
>the integrity of csnd.jar?
>
>Best
>Peiman
>
>
>On 14 Aug 2008, at 04:00, Steven Yi wrote:
>
> > Hi Peiman,
> >
> > The double version of csnd.jar should be different from the float one.
> >  The method signatures of the java library methods should be for
> > doulbe instead of float, and it will expect to link to a native
> > library that uses doubles.
> >
> > steven
> >
> > On Wed, Aug 13, 2008 at 6:15 PM, peiman 
> > wrote:
> >>
> >> I had to modify install.py too, basically commenting out the self-
> >> check stage
> >> as it would give an error every-time. Now it seems to install and
> >> work,
> >> except that the interfaces (e.g. csnd.jar) aren't installed in the
> >> right
> >> place or properly, or else they're not build properly.
> >>
> >> Is a double precision build of csnd.jar different from the float one?
> >>
> >> An osx installer is really needed as I don't think install.py
> >> works properly
> >> on osx.
> >>
> >> Best
> >> Peiman
> >>
> >>
> >> peiman wrote:
> >>>
> >>> OK found the problem. In SConstruct, line 2278 is:
> >>>
> >>>    csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
> >>> suppress -
> >>> flat_namespace -framework CsoundLib'''))
> >>>
> >>> Now this is a problem because up to this point 'CsoundLib' doesn't
> >>> exists with a Double build. So I've added a conditional:
> >>>
> >>>     if commonEnvironment['useDouble'] == '1':
> >>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
> >>> suppress -flat_namespace -framework CsoundLib64'''))
> >>>     else:
> >>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
> >>> suppress -flat_namespace -framework CsoundLib'''))
> >>>
> >>> It's now building with no errors.
> >>>
> >>> Best
> >>> Peiman
> >>>
> >>>
> >>> On 13 Aug 2008, at 23:37, victor wrote:
> >>>
> >>>> Because there is a step in SConstruct that copies the framework to
> >>>> the right place so it can continue building. I guess it's not there
> >>>> for 64bit. Try copying it by hand and continuing
> >>>>
> >>>> Victor
> >>>> ----- Original Message -----
> >>>> From: "peiman" 
> >>>> To: 
> >>>> Sent: Wednesday, August 13, 2008 11:16 PM
> >>>> Subject: Re: [Cs-dev] Building csound on osx, saga continued....
> >>>>
> >>>>
> >>>>>
> >>>>> Ahhhhh if I knew it's so much trouble!!!
> >>>>>
> >>>>> So I deleted the old CsoundLib.framework from /Library/Frameworks
> >>>>> do a
> >>>>> clean
> >>>>> uninstall of csound and now csound won't build. It seems there
> >>>>> must have
> >>>>> been something in that directory that csound was trying to link
> >>>>> to.
> >>>>>
> >>>>> This is the error I get:
> >>>>>
> >>>>> frontends/csladspa/ladspa.h:593: warning: 'visibility' attribute
> >>>>> ignored
> >>>>> g++ -o csladspa.so -bundle -undefined suppress -flat_namespace -
> >>>>> framework
> >>>>> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/local/lib -
> >>>>> L. -L.
> >>>>> -lsndfile
> >>>>> /usr/bin/ld: can't locate framework for: -framework CsoundLib
> >>>>> collect2: ld returned 1 exit status
> >>>>> scons: *** [csladspa.so] Error 1
> >>>>> scons: building terminated because of errors.
> >>>>>
> >>>>> Best
> >>>>> Peiman
> >>>>>
> >>>>>
> >>>>> peiman wrote:
> >>>>>>
> >>>>>> Hi Victor,
> >>>>>>
> >>>>>> I've installed portaudio v.19 dylib and rebuilt csound with
> >>>>>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the command
> >>>>>> export
> >>>>>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the source
> >>>>>> directory
> >>>>>> (which is where the build rests at the moment) and type
> >>>>>>
> >>>>>>                         ./csound -otest ./tests/test1.csd
> >>>>>>
> >>>>>> the csd runs succesfully in realtime giving me no errors, whether
> >>>>>> its
> >>>>>> working as double or float I don't know though, is there a way to
> >>>>>> find
> >>>>>> out?
> >>>>>>
> >>>>>> So I still need to install the files in the right locations I
> >>>>>> guess.
> >>>>>>
> >>>>>> Best
> >>>>>> Peiman
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Victor Lazzarini wrote:
> >>>>>>>
> >>>>>>> Do you mean portaudio v.19 dylib or the csound module
> >>>>>>> librtpa.dylib?
> >>>>>>> The latter should go in the plugins dir with the rest of the
> >>>>>>> modules,
> >>>>>>> the portaudio lib should be installed with its own script
> >>>>>>> (generally
> >>>>>>> it ends up in /usr/local/lib.)
> >>>>>>>
> >>>>>>> Victor
> >>>>>>>
> >>>>>>> At 12:13 13/08/2008, you wrote:
> >>>>>>>
> >>>>>>>> OK so I went ahead and decided to test the build from inside
> >>>>>>>> the
> >>>>> directory.
> >>>>>>>>
> >>>>>>>> I wrote:
> >>>>>>>>
> >>>>>>>> ./csound ./tests/test1.csd
> >>>>>>>>
> >>>>>>>> No problems...
> >>>>>>>>
> >>>>>>>> But realtime (./csound -odac ./tests/test1.csd) doesn't work. I
> >>>>>>>> get
> >>>>>>>> these
> >>>>>>>> errors:
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> ###############################################################
> >>>>>>>> #
> >>>>>>>>         #              WARNING: OPCODEDIR64 IS NOT SET !
> >>>>>>>> #
> >>>>>>>>         # Csound requires this environment variable to be set
> >>>>>>>> to find
> >>>>>>>> #
> >>>>>>>>         # its plugin libraries. If it is not set, you may
> >>>>>>>> experience
> >>>>>>>> #
> >>>>>>>>         # missing opcodes, audio/MIDI drivers, or utilities.
> >>>>>>>> #
> >>>>>>>>
> >>>>>>>> ###############################################################
> >>>>>>>> #
> >>>>>>>>  *** error: unknown rtaudio module: 'PortAudio'
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Now this makes sense to me because I didn't install PortAudio.
> >>>>>>>> I build
> >>>>>>>> it
> >>>>>>>> but their readme file said not to install it. Then I wasn't
> >>>>>>>> sure where
> >>>>>>>> to
> >>>>>>>> put it.
> >>>>>>>>
> >>>>>>>> In csound's custom.py it says:
> >>>>>>>>
> >>>>>>>>     # If you want real-time audio you need PortAudio.
> >>>>>>>>     # If it is not in a standard location add it here
> >>>>>>>>     # (of course you must build it first):
> >>>>>>>>     #customCPPPATH.append('D:/utah/opt/portaudio_varga/
> >>>>>>>> include')
> >>>>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
> >>>>>>>>
> >>>>>>>> So where is the normal place for PortAudio to live? Or should I
> >>>>>>>> just
> >>>>>>>> call
> >>>>>>>> "install" from within the PortAudio source directory, despite
> >>>>>>>> the readme
> >>>>>>>> file specifically saying not to?
> >>>>>>>>
> >>>>>>>> Then to have real-time do I need to specify a variable for
> >>>>>>>> scons or is
> >>>>>>>> it
> >>>>>>>> enabled by default?
> >>>>>>>>
> >>>>>>>> Then of course it is the question of setting OPCODEDIR64 is
> >>>>>>>> this just a
> >>>>>>>> normal environmental variable set in .bash_profile?
> >>>>>>>>
> >>>>>>>> Sorry about all these questions!!
> >>>>>>>>
> >>>>>>>> Best
> >>>>>>>> Peiman
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> peiman wrote:
> >>>>>>>>>
> >>>>>>>>> As Victor suggested I'm moving the discussion into csound-Dev
> >>>>>>>>> list.
> >>>>>>>>>
> >>>>>>>>> So I've gone as far as building csound with the only extra
> >>>>>>>>> option of
> >>>>>>>>> useDouble=1 (I didn't bother with FLTK). So now I need to make
> >>>>>>>>> the
> >>>>>>>>> installer.
> >>>>>>>>>
> >>>>>>>>> Thanks Victor, your script would be much appreciated :-)
> >>>>>>>>>
> >>>>>>>>> Best
> >>>>>>>>> Peiman
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> View this message in context:
> >>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
> >>>>>>>> continued....-tp18960495p18961102.html
> >>>>>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> ---------------------------------------------------------------
> >>>>>>>> ---
> >>>>>>>> -------
> >>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>>>> Developer's
> >>>>> challenge
> >>>>>>>> Build the coolest Linux based applications with Moblin SDK &
> >>>>>>>> win great
> >>>>> prizes
> >>>>>>>> Grand prize is a trip for two to an Open Source event anywhere
> >>>>>>>> in the
> >>>>> world
> >>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>>>>> _______________________________________________
> >>>>>>>> Csound-devel mailing list
> >>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>
> >>>>>>> Victor Lazzarini
> >>>>>>> Music Technology Laboratory
> >>>>>>> Music Department
> >>>>>>> National University of Ireland, Maynooth
> >>>>>>>
> >>>>>>>
> >>>>>>> ----------------------------------------------------------------
> >>>>>>> ---
> >>>>>>> ------
> >>>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>>> Developer's
> >>>>>>> challenge
> >>>>>>> Build the coolest Linux based applications with Moblin SDK & win
> >>>>>>> great
> >>>>>>> prizes
> >>>>>>> Grand prize is a trip for two to an Open Source event anywhere
> >>>>>>> in the
> >>>>>>> world
> >>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>>>> _______________________________________________
> >>>>>>> Csound-devel mailing list
> >>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> --
> >>>>> View this message in context:
> >>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
> >>>>> continued....-
> >>>>> tp18960495p18972247.html
> >>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
> >>>>>
> >>>>>
> >>>>> ------------------------------------------------------------------
> >>>>> ---
> >>>>> ----
> >>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >>>>> challenge
> >>>>> Build the coolest Linux based applications with Moblin SDK & win
> >>>>> great
> >>>>> prizes
> >>>>> Grand prize is a trip for two to an Open Source event anywhere
> >>>>> in the
> >>>>> world
> >>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>> _______________________________________________
> >>>>> Csound-devel mailing list
> >>>>> Csound-devel@lists.sourceforge.net
> >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>
> >>>>
> >>>> -------------------------------------------------------------------
> >>>> ---
> >>>> ---
> >>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >>>> challenge
> >>>> Build the coolest Linux based applications with Moblin SDK & win
> >>>> great prizes
> >>>> Grand prize is a trip for two to an Open Source event anywhere in
> >>>> the world
> >>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>> _______________________________________________
> >>>> Csound-devel mailing list
> >>>> Csound-devel@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>
> >>>
> >>> --------------------------------------------------------------------
> >>> -----
> >>> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >>> challenge
> >>> Build the coolest Linux based applications with Moblin SDK & win
> >>> great
> >>> prizes
> >>> Grand prize is a trip for two to an Open Source event anywhere in
> >>> the
> >>> world
> >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>> _______________________________________________
> >>> Csound-devel mailing list
> >>> Csound-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>
> >>>
> >>
> >> --
> >> View this message in context: http://www.nabble.com/Building-
> >> csound-on-osx%2C-saga-continued....-tp18960495p18974186.html
> >> Sent from the Csound - Dev mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> ----
> >> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >> challenge
> >> Build the coolest Linux based applications with Moblin SDK & win
> >> great prizes
> >> Grand prize is a trip for two to an Open Source event anywhere in
> >> the world
> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> _______________________________________________
> >> Csound-devel mailing list
> >> Csound-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>
> >
> > ----------------------------------------------------------------------
> > ---
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win
> > great prizes
> > Grand prize is a trip for two to an Open Source event anywhere in
> > the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 


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

Date2008-08-14 13:50
Frompeiman khosravi
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
Do you mean /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/ 
Resources/java?

Thanks
On 14 Aug 2008, at 13:45, Victor Lazzarini wrote:

> I think the files have to go in the Java framework.
>
> At 13:38 14/08/2008, you wrote:
>
>> So I have the double build now. In /Library/Frameworks/
>> CsoundLib64.Framework/Versions/5.1/Resources/java/ I have only two
>> files csnd.jar and lib_jcsound.jnilib. I have put lib_jcsound.jnilib
>> in /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/Resources/
>> java/. But java api is still not working, is there anyway of checking
>> the integrity of csnd.jar?
>>
>> Best
>> Peiman
>>
>>
>> On 14 Aug 2008, at 04:00, Steven Yi wrote:
>>
>>> Hi Peiman,
>>>
>>> The double version of csnd.jar should be different from the float  
>>> one.
>>>  The method signatures of the java library methods should be for
>>> doulbe instead of float, and it will expect to link to a native
>>> library that uses doubles.
>>>
>>> steven
>>>
>>> On Wed, Aug 13, 2008 at 6:15 PM, peiman 
>>> wrote:
>>>>
>>>> I had to modify install.py too, basically commenting out the self-
>>>> check stage
>>>> as it would give an error every-time. Now it seems to install and
>>>> work,
>>>> except that the interfaces (e.g. csnd.jar) aren't installed in the
>>>> right
>>>> place or properly, or else they're not build properly.
>>>>
>>>> Is a double precision build of csnd.jar different from the float  
>>>> one?
>>>>
>>>> An osx installer is really needed as I don't think install.py
>>>> works properly
>>>> on osx.
>>>>
>>>> Best
>>>> Peiman
>>>>
>>>>
>>>> peiman wrote:
>>>>>
>>>>> OK found the problem. In SConstruct, line 2278 is:
>>>>>
>>>>>    csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>>>> suppress -
>>>>> flat_namespace -framework CsoundLib'''))
>>>>>
>>>>> Now this is a problem because up to this point 'CsoundLib' doesn't
>>>>> exists with a Double build. So I've added a conditional:
>>>>>
>>>>>     if commonEnvironment['useDouble'] == '1':
>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>>>> suppress -flat_namespace -framework CsoundLib64'''))
>>>>>     else:
>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>>>> suppress -flat_namespace -framework CsoundLib'''))
>>>>>
>>>>> It's now building with no errors.
>>>>>
>>>>> Best
>>>>> Peiman
>>>>>
>>>>>
>>>>> On 13 Aug 2008, at 23:37, victor wrote:
>>>>>
>>>>>> Because there is a step in SConstruct that copies the  
>>>>>> framework to
>>>>>> the right place so it can continue building. I guess it's not  
>>>>>> there
>>>>>> for 64bit. Try copying it by hand and continuing
>>>>>>
>>>>>> Victor
>>>>>> ----- Original Message -----
>>>>>> From: "peiman" 
>>>>>> To: 
>>>>>> Sent: Wednesday, August 13, 2008 11:16 PM
>>>>>> Subject: Re: [Cs-dev] Building csound on osx, saga continued....
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> Ahhhhh if I knew it's so much trouble!!!
>>>>>>>
>>>>>>> So I deleted the old CsoundLib.framework from /Library/ 
>>>>>>> Frameworks
>>>>>>> do a
>>>>>>> clean
>>>>>>> uninstall of csound and now csound won't build. It seems there
>>>>>>> must have
>>>>>>> been something in that directory that csound was trying to link
>>>>>>> to.
>>>>>>>
>>>>>>> This is the error I get:
>>>>>>>
>>>>>>> frontends/csladspa/ladspa.h:593: warning: 'visibility' attribute
>>>>>>> ignored
>>>>>>> g++ -o csladspa.so -bundle -undefined suppress -flat_namespace -
>>>>>>> framework
>>>>>>> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/local/ 
>>>>>>> lib -
>>>>>>> L. -L.
>>>>>>> -lsndfile
>>>>>>> /usr/bin/ld: can't locate framework for: -framework CsoundLib
>>>>>>> collect2: ld returned 1 exit status
>>>>>>> scons: *** [csladspa.so] Error 1
>>>>>>> scons: building terminated because of errors.
>>>>>>>
>>>>>>> Best
>>>>>>> Peiman
>>>>>>>
>>>>>>>
>>>>>>> peiman wrote:
>>>>>>>>
>>>>>>>> Hi Victor,
>>>>>>>>
>>>>>>>> I've installed portaudio v.19 dylib and rebuilt csound with
>>>>>>>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the command
>>>>>>>> export
>>>>>>>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the source
>>>>>>>> directory
>>>>>>>> (which is where the build rests at the moment) and type
>>>>>>>>
>>>>>>>>                         ./csound -otest ./tests/test1.csd
>>>>>>>>
>>>>>>>> the csd runs succesfully in realtime giving me no errors,  
>>>>>>>> whether
>>>>>>>> its
>>>>>>>> working as double or float I don't know though, is there a  
>>>>>>>> way to
>>>>>>>> find
>>>>>>>> out?
>>>>>>>>
>>>>>>>> So I still need to install the files in the right locations I
>>>>>>>> guess.
>>>>>>>>
>>>>>>>> Best
>>>>>>>> Peiman
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Victor Lazzarini wrote:
>>>>>>>>>
>>>>>>>>> Do you mean portaudio v.19 dylib or the csound module
>>>>>>>>> librtpa.dylib?
>>>>>>>>> The latter should go in the plugins dir with the rest of the
>>>>>>>>> modules,
>>>>>>>>> the portaudio lib should be installed with its own script
>>>>>>>>> (generally
>>>>>>>>> it ends up in /usr/local/lib.)
>>>>>>>>>
>>>>>>>>> Victor
>>>>>>>>>
>>>>>>>>> At 12:13 13/08/2008, you wrote:
>>>>>>>>>
>>>>>>>>>> OK so I went ahead and decided to test the build from inside
>>>>>>>>>> the
>>>>>>> directory.
>>>>>>>>>>
>>>>>>>>>> I wrote:
>>>>>>>>>>
>>>>>>>>>> ./csound ./tests/test1.csd
>>>>>>>>>>
>>>>>>>>>> No problems...
>>>>>>>>>>
>>>>>>>>>> But realtime (./csound -odac ./tests/test1.csd) doesn't  
>>>>>>>>>> work. I
>>>>>>>>>> get
>>>>>>>>>> these
>>>>>>>>>> errors:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ############################################################# 
>>>>>>>>>> ##
>>>>>>>>>> #
>>>>>>>>>>         #              WARNING: OPCODEDIR64 IS NOT SET !
>>>>>>>>>> #
>>>>>>>>>>         # Csound requires this environment variable to be set
>>>>>>>>>> to find
>>>>>>>>>> #
>>>>>>>>>>         # its plugin libraries. If it is not set, you may
>>>>>>>>>> experience
>>>>>>>>>> #
>>>>>>>>>>         # missing opcodes, audio/MIDI drivers, or utilities.
>>>>>>>>>> #
>>>>>>>>>>
>>>>>>>>>> ############################################################# 
>>>>>>>>>> ##
>>>>>>>>>> #
>>>>>>>>>>  *** error: unknown rtaudio module: 'PortAudio'
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Now this makes sense to me because I didn't install  
>>>>>>>>>> PortAudio.
>>>>>>>>>> I build
>>>>>>>>>> it
>>>>>>>>>> but their readme file said not to install it. Then I wasn't
>>>>>>>>>> sure where
>>>>>>>>>> to
>>>>>>>>>> put it.
>>>>>>>>>>
>>>>>>>>>> In csound's custom.py it says:
>>>>>>>>>>
>>>>>>>>>>     # If you want real-time audio you need PortAudio.
>>>>>>>>>>     # If it is not in a standard location add it here
>>>>>>>>>>     # (of course you must build it first):
>>>>>>>>>>     #customCPPPATH.append('D:/utah/opt/portaudio_varga/
>>>>>>>>>> include')
>>>>>>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
>>>>>>>>>>
>>>>>>>>>> So where is the normal place for PortAudio to live? Or  
>>>>>>>>>> should I
>>>>>>>>>> just
>>>>>>>>>> call
>>>>>>>>>> "install" from within the PortAudio source directory, despite
>>>>>>>>>> the readme
>>>>>>>>>> file specifically saying not to?
>>>>>>>>>>
>>>>>>>>>> Then to have real-time do I need to specify a variable for
>>>>>>>>>> scons or is
>>>>>>>>>> it
>>>>>>>>>> enabled by default?
>>>>>>>>>>
>>>>>>>>>> Then of course it is the question of setting OPCODEDIR64 is
>>>>>>>>>> this just a
>>>>>>>>>> normal environmental variable set in .bash_profile?
>>>>>>>>>>
>>>>>>>>>> Sorry about all these questions!!
>>>>>>>>>>
>>>>>>>>>> Best
>>>>>>>>>> Peiman
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> peiman wrote:
>>>>>>>>>>>
>>>>>>>>>>> As Victor suggested I'm moving the discussion into csound- 
>>>>>>>>>>> Dev
>>>>>>>>>>> list.
>>>>>>>>>>>
>>>>>>>>>>> So I've gone as far as building csound with the only extra
>>>>>>>>>>> option of
>>>>>>>>>>> useDouble=1 (I didn't bother with FLTK). So now I need to  
>>>>>>>>>>> make
>>>>>>>>>>> the
>>>>>>>>>>> installer.
>>>>>>>>>>>
>>>>>>>>>>> Thanks Victor, your script would be much appreciated :-)
>>>>>>>>>>>
>>>>>>>>>>> Best
>>>>>>>>>>> Peiman
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> View this message in context:
>>>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>>>> continued....-tp18960495p18961102.html
>>>>>>>>>> Sent from the Csound - Dev mailing list archive at  
>>>>>>>>>> Nabble.com.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------- 
>>>>>>>>>> --
>>>>>>>>>> ---
>>>>>>>>>> -------
>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>> Developer's
>>>>>>> challenge
>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK &
>>>>>>>>>> win great
>>>>>>> prizes
>>>>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>>>>> anywhere
>>>>>>>>>> in the
>>>>>>> world
>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>> Victor Lazzarini
>>>>>>>>> Music Technology Laboratory
>>>>>>>>> Music Department
>>>>>>>>> National University of Ireland, Maynooth
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -------------------------------------------------------------- 
>>>>>>>>> --
>>>>>>>>> ---
>>>>>>>>> ------
>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>> Developer's
>>>>>>>>> challenge
>>>>>>>>> Build the coolest Linux based applications with Moblin SDK  
>>>>>>>>> & win
>>>>>>>>> great
>>>>>>>>> prizes
>>>>>>>>> Grand prize is a trip for two to an Open Source event anywhere
>>>>>>>>> in the
>>>>>>>>> world
>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>> continued....-
>>>>>>> tp18960495p18972247.html
>>>>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------- 
>>>>>>> --
>>>>>>> ---
>>>>>>> ----
>>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>>> Developer's
>>>>>>> challenge
>>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>>> great
>>>>>>> prizes
>>>>>>> Grand prize is a trip for two to an Open Source event anywhere
>>>>>>> in the
>>>>>>> world
>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>> ----------------------------------------------------------------- 
>>>>>> --
>>>>>> ---
>>>>>> ---
>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>> Developer's
>>>>>> challenge
>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>> great prizes
>>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>>>> the world
>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------ 
>>>>> --
>>>>> -----
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>> great
>>>>> prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>>> the
>>>>> world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context: http://www.nabble.com/Building-
>>>> csound-on-osx%2C-saga-continued....-tp18960495p18974186.html
>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> --
>>>> ----
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>> great prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>> the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> -------------------------------------------------------------------- 
>>> --
>>> ---
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
>>> great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in
>>> the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


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

Date2008-08-14 14:15
FromVictor Lazzarini
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
No I mean JavaVM.framework in /System/Libraries/Frameworks
see where the jni files are and copy the jni file to it. Perhaps do the
same for the jar file.

At 13:50 14/08/2008, you wrote:
>Do you mean /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/
>Resources/java?
>
>Thanks
>On 14 Aug 2008, at 13:45, Victor Lazzarini wrote:
>
> > I think the files have to go in the Java framework.
> >
> > At 13:38 14/08/2008, you wrote:
> >
> >> So I have the double build now. In /Library/Frameworks/
> >> CsoundLib64.Framework/Versions/5.1/Resources/java/ I have only two
> >> files csnd.jar and lib_jcsound.jnilib. I have put lib_jcsound.jnilib
> >> in /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/Resources/
> >> java/. But java api is still not working, is there anyway of checking
> >> the integrity of csnd.jar?
> >>
> >> Best
> >> Peiman
> >>
> >>
> >> On 14 Aug 2008, at 04:00, Steven Yi wrote:
> >>
> >>> Hi Peiman,
> >>>
> >>> The double version of csnd.jar should be different from the float
> >>> one.
> >>>  The method signatures of the java library methods should be for
> >>> doulbe instead of float, and it will expect to link to a native
> >>> library that uses doubles.
> >>>
> >>> steven
> >>>
> >>> On Wed, Aug 13, 2008 at 6:15 PM, peiman 
> >>> wrote:
> >>>>
> >>>> I had to modify install.py too, basically commenting out the self-
> >>>> check stage
> >>>> as it would give an error every-time. Now it seems to install and
> >>>> work,
> >>>> except that the interfaces (e.g. csnd.jar) aren't installed in the
> >>>> right
> >>>> place or properly, or else they're not build properly.
> >>>>
> >>>> Is a double precision build of csnd.jar different from the float
> >>>> one?
> >>>>
> >>>> An osx installer is really needed as I don't think install.py
> >>>> works properly
> >>>> on osx.
> >>>>
> >>>> Best
> >>>> Peiman
> >>>>
> >>>>
> >>>> peiman wrote:
> >>>>>
> >>>>> OK found the problem. In SConstruct, line 2278 is:
> >>>>>
> >>>>>    csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
> >>>>> suppress -
> >>>>> flat_namespace -framework CsoundLib'''))
> >>>>>
> >>>>> Now this is a problem because up to this point 'CsoundLib' doesn't
> >>>>> exists with a Double build. So I've added a conditional:
> >>>>>
> >>>>>     if commonEnvironment['useDouble'] == '1':
> >>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
> >>>>> suppress -flat_namespace -framework CsoundLib64'''))
> >>>>>     else:
> >>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
> >>>>> suppress -flat_namespace -framework CsoundLib'''))
> >>>>>
> >>>>> It's now building with no errors.
> >>>>>
> >>>>> Best
> >>>>> Peiman
> >>>>>
> >>>>>
> >>>>> On 13 Aug 2008, at 23:37, victor wrote:
> >>>>>
> >>>>>> Because there is a step in SConstruct that copies the
> >>>>>> framework to
> >>>>>> the right place so it can continue building. I guess it's not
> >>>>>> there
> >>>>>> for 64bit. Try copying it by hand and continuing
> >>>>>>
> >>>>>> Victor
> >>>>>> ----- Original Message -----
> >>>>>> From: "peiman" 
> >>>>>> To: 
> >>>>>> Sent: Wednesday, August 13, 2008 11:16 PM
> >>>>>> Subject: Re: [Cs-dev] Building csound on osx, saga continued....
> >>>>>>
> >>>>>>
> >>>>>>>
> >>>>>>> Ahhhhh if I knew it's so much trouble!!!
> >>>>>>>
> >>>>>>> So I deleted the old CsoundLib.framework from /Library/
> >>>>>>> Frameworks
> >>>>>>> do a
> >>>>>>> clean
> >>>>>>> uninstall of csound and now csound won't build. It seems there
> >>>>>>> must have
> >>>>>>> been something in that directory that csound was trying to link
> >>>>>>> to.
> >>>>>>>
> >>>>>>> This is the error I get:
> >>>>>>>
> >>>>>>> frontends/csladspa/ladspa.h:593: warning: 'visibility' attribute
> >>>>>>> ignored
> >>>>>>> g++ -o csladspa.so -bundle -undefined suppress -flat_namespace -
> >>>>>>> framework
> >>>>>>> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/local/
> >>>>>>> lib -
> >>>>>>> L. -L.
> >>>>>>> -lsndfile
> >>>>>>> /usr/bin/ld: can't locate framework for: -framework CsoundLib
> >>>>>>> collect2: ld returned 1 exit status
> >>>>>>> scons: *** [csladspa.so] Error 1
> >>>>>>> scons: building terminated because of errors.
> >>>>>>>
> >>>>>>> Best
> >>>>>>> Peiman
> >>>>>>>
> >>>>>>>
> >>>>>>> peiman wrote:
> >>>>>>>>
> >>>>>>>> Hi Victor,
> >>>>>>>>
> >>>>>>>> I've installed portaudio v.19 dylib and rebuilt csound with
> >>>>>>>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the command
> >>>>>>>> export
> >>>>>>>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the source
> >>>>>>>> directory
> >>>>>>>> (which is where the build rests at the moment) and type
> >>>>>>>>
> >>>>>>>>                         ./csound -otest ./tests/test1.csd
> >>>>>>>>
> >>>>>>>> the csd runs succesfully in realtime giving me no errors,
> >>>>>>>> whether
> >>>>>>>> its
> >>>>>>>> working as double or float I don't know though, is there a
> >>>>>>>> way to
> >>>>>>>> find
> >>>>>>>> out?
> >>>>>>>>
> >>>>>>>> So I still need to install the files in the right locations I
> >>>>>>>> guess.
> >>>>>>>>
> >>>>>>>> Best
> >>>>>>>> Peiman
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Victor Lazzarini wrote:
> >>>>>>>>>
> >>>>>>>>> Do you mean portaudio v.19 dylib or the csound module
> >>>>>>>>> librtpa.dylib?
> >>>>>>>>> The latter should go in the plugins dir with the rest of the
> >>>>>>>>> modules,
> >>>>>>>>> the portaudio lib should be installed with its own script
> >>>>>>>>> (generally
> >>>>>>>>> it ends up in /usr/local/lib.)
> >>>>>>>>>
> >>>>>>>>> Victor
> >>>>>>>>>
> >>>>>>>>> At 12:13 13/08/2008, you wrote:
> >>>>>>>>>
> >>>>>>>>>> OK so I went ahead and decided to test the build from inside
> >>>>>>>>>> the
> >>>>>>> directory.
> >>>>>>>>>>
> >>>>>>>>>> I wrote:
> >>>>>>>>>>
> >>>>>>>>>> ./csound ./tests/test1.csd
> >>>>>>>>>>
> >>>>>>>>>> No problems...
> >>>>>>>>>>
> >>>>>>>>>> But realtime (./csound -odac ./tests/test1.csd) doesn't
> >>>>>>>>>> work. I
> >>>>>>>>>> get
> >>>>>>>>>> these
> >>>>>>>>>> errors:
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> #############################################################
> >>>>>>>>>> ##
> >>>>>>>>>> #
> >>>>>>>>>>         #              WARNING: OPCODEDIR64 IS NOT SET !
> >>>>>>>>>> #
> >>>>>>>>>>         # Csound requires this environment variable to be set
> >>>>>>>>>> to find
> >>>>>>>>>> #
> >>>>>>>>>>         # its plugin libraries. If it is not set, you may
> >>>>>>>>>> experience
> >>>>>>>>>> #
> >>>>>>>>>>         # missing opcodes, audio/MIDI drivers, or utilities.
> >>>>>>>>>> #
> >>>>>>>>>>
> >>>>>>>>>> #############################################################
> >>>>>>>>>> ##
> >>>>>>>>>> #
> >>>>>>>>>>  *** error: unknown rtaudio module: 'PortAudio'
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> Now this makes sense to me because I didn't install
> >>>>>>>>>> PortAudio.
> >>>>>>>>>> I build
> >>>>>>>>>> it
> >>>>>>>>>> but their readme file said not to install it. Then I wasn't
> >>>>>>>>>> sure where
> >>>>>>>>>> to
> >>>>>>>>>> put it.
> >>>>>>>>>>
> >>>>>>>>>> In csound's custom.py it says:
> >>>>>>>>>>
> >>>>>>>>>>     # If you want real-time audio you need PortAudio.
> >>>>>>>>>>     # If it is not in a standard location add it here
> >>>>>>>>>>     # (of course you must build it first):
> >>>>>>>>>>     #customCPPPATH.append('D:/utah/opt/portaudio_varga/
> >>>>>>>>>> include')
> >>>>>>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
> >>>>>>>>>>
> >>>>>>>>>> So where is the normal place for PortAudio to live? Or
> >>>>>>>>>> should I
> >>>>>>>>>> just
> >>>>>>>>>> call
> >>>>>>>>>> "install" from within the PortAudio source directory, despite
> >>>>>>>>>> the readme
> >>>>>>>>>> file specifically saying not to?
> >>>>>>>>>>
> >>>>>>>>>> Then to have real-time do I need to specify a variable for
> >>>>>>>>>> scons or is
> >>>>>>>>>> it
> >>>>>>>>>> enabled by default?
> >>>>>>>>>>
> >>>>>>>>>> Then of course it is the question of setting OPCODEDIR64 is
> >>>>>>>>>> this just a
> >>>>>>>>>> normal environmental variable set in .bash_profile?
> >>>>>>>>>>
> >>>>>>>>>> Sorry about all these questions!!
> >>>>>>>>>>
> >>>>>>>>>> Best
> >>>>>>>>>> Peiman
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> peiman wrote:
> >>>>>>>>>>>
> >>>>>>>>>>> As Victor suggested I'm moving the discussion into csound-
> >>>>>>>>>>> Dev
> >>>>>>>>>>> list.
> >>>>>>>>>>>
> >>>>>>>>>>> So I've gone as far as building csound with the only extra
> >>>>>>>>>>> option of
> >>>>>>>>>>> useDouble=1 (I didn't bother with FLTK). So now I need to
> >>>>>>>>>>> make
> >>>>>>>>>>> the
> >>>>>>>>>>> installer.
> >>>>>>>>>>>
> >>>>>>>>>>> Thanks Victor, your script would be much appreciated :-)
> >>>>>>>>>>>
> >>>>>>>>>>> Best
> >>>>>>>>>>> Peiman
> >>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> --
> >>>>>>>>>> View this message in context:
> >>>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
> >>>>>>>>>> continued....-tp18960495p18961102.html
> >>>>>>>>>> Sent from the Csound - Dev mailing list archive at
> >>>>>>>>>> Nabble.com.
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> -------------------------------------------------------------
> >>>>>>>>>> --
> >>>>>>>>>> ---
> >>>>>>>>>> -------
> >>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>>>>>> Developer's
> >>>>>>> challenge
> >>>>>>>>>> Build the coolest Linux based applications with Moblin SDK &
> >>>>>>>>>> win great
> >>>>>>> prizes
> >>>>>>>>>> Grand prize is a trip for two to an Open Source event
> >>>>>>>>>> anywhere
> >>>>>>>>>> in the
> >>>>>>> world
> >>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>>>>>>> _______________________________________________
> >>>>>>>>>> Csound-devel mailing list
> >>>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>>
> >>>>>>>>> Victor Lazzarini
> >>>>>>>>> Music Technology Laboratory
> >>>>>>>>> Music Department
> >>>>>>>>> National University of Ireland, Maynooth
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> --------------------------------------------------------------
> >>>>>>>>> --
> >>>>>>>>> ---
> >>>>>>>>> ------
> >>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>>>>> Developer's
> >>>>>>>>> challenge
> >>>>>>>>> Build the coolest Linux based applications with Moblin SDK
> >>>>>>>>> & win
> >>>>>>>>> great
> >>>>>>>>> prizes
> >>>>>>>>> Grand prize is a trip for two to an Open Source event anywhere
> >>>>>>>>> in the
> >>>>>>>>> world
> >>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>>>>>> _______________________________________________
> >>>>>>>>> Csound-devel mailing list
> >>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> View this message in context:
> >>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
> >>>>>>> continued....-
> >>>>>>> tp18960495p18972247.html
> >>>>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
> >>>>>>>
> >>>>>>>
> >>>>>>> ----------------------------------------------------------------
> >>>>>>> --
> >>>>>>> ---
> >>>>>>> ----
> >>>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>>> Developer's
> >>>>>>> challenge
> >>>>>>> Build the coolest Linux based applications with Moblin SDK & win
> >>>>>>> great
> >>>>>>> prizes
> >>>>>>> Grand prize is a trip for two to an Open Source event anywhere
> >>>>>>> in the
> >>>>>>> world
> >>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>>>> _______________________________________________
> >>>>>>> Csound-devel mailing list
> >>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>
> >>>>>>
> >>>>>> -----------------------------------------------------------------
> >>>>>> --
> >>>>>> ---
> >>>>>> ---
> >>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>> Developer's
> >>>>>> challenge
> >>>>>> Build the coolest Linux based applications with Moblin SDK & win
> >>>>>> great prizes
> >>>>>> Grand prize is a trip for two to an Open Source event anywhere in
> >>>>>> the world
> >>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>>> _______________________________________________
> >>>>>> Csound-devel mailing list
> >>>>>> Csound-devel@lists.sourceforge.net
> >>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>
> >>>>>
> >>>>> ------------------------------------------------------------------
> >>>>> --
> >>>>> -----
> >>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >>>>> challenge
> >>>>> Build the coolest Linux based applications with Moblin SDK & win
> >>>>> great
> >>>>> prizes
> >>>>> Grand prize is a trip for two to an Open Source event anywhere in
> >>>>> the
> >>>>> world
> >>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>> _______________________________________________
> >>>>> Csound-devel mailing list
> >>>>> Csound-devel@lists.sourceforge.net
> >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>
> >>>>>
> >>>>
> >>>> --
> >>>> View this message in context: http://www.nabble.com/Building-
> >>>> csound-on-osx%2C-saga-continued....-tp18960495p18974186.html
> >>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
> >>>>
> >>>>
> >>>> -------------------------------------------------------------------
> >>>> --
> >>>> ----
> >>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >>>> challenge
> >>>> Build the coolest Linux based applications with Moblin SDK & win
> >>>> great prizes
> >>>> Grand prize is a trip for two to an Open Source event anywhere in
> >>>> the world
> >>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>> _______________________________________________
> >>>> Csound-devel mailing list
> >>>> Csound-devel@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>
> >>>
> >>> --------------------------------------------------------------------
> >>> --
> >>> ---
> >>> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >>> challenge
> >>> Build the coolest Linux based applications with Moblin SDK & win
> >>> great prizes
> >>> Grand prize is a trip for two to an Open Source event anywhere in
> >>> the world
> >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>> _______________________________________________
> >>> Csound-devel mailing list
> >>> Csound-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>
> >>
> >> ---------------------------------------------------------------------
> >> ----
> >> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >> challenge
> >> Build the coolest Linux based applications with Moblin SDK & win
> >> great prizes
> >> Grand prize is a trip for two to an Open Source event anywhere in
> >> the world
> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> _______________________________________________
> >> Csound-devel mailing list
> >> Csound-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> > Victor Lazzarini
> > Music Technology Laboratory
> > Music Department
> > National University of Ireland, Maynooth
> >
> >
> > ----------------------------------------------------------------------
> > ---
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win
> > great prizes
> > Grand prize is a trip for two to an Open Source event anywhere in
> > the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 


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

Date2008-08-14 14:51
Frompeiman khosravi
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
OK I feel it's getting closer. I found a link there that must have  
been made by the previous installer. I deleted it and then copied the  
files. But still not working :-(

Thanks
Peiman

On 14 Aug 2008, at 14:15, Victor Lazzarini wrote:

> No I mean JavaVM.framework in /System/Libraries/Frameworks
> see where the jni files are and copy the jni file to it. Perhaps do  
> the
> same for the jar file.
>
> At 13:50 14/08/2008, you wrote:
>> Do you mean /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/
>> Resources/java?
>>
>> Thanks
>> On 14 Aug 2008, at 13:45, Victor Lazzarini wrote:
>>
>>> I think the files have to go in the Java framework.
>>>
>>> At 13:38 14/08/2008, you wrote:
>>>
>>>> So I have the double build now. In /Library/Frameworks/
>>>> CsoundLib64.Framework/Versions/5.1/Resources/java/ I have only two
>>>> files csnd.jar and lib_jcsound.jnilib. I have put  
>>>> lib_jcsound.jnilib
>>>> in /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/ 
>>>> Resources/
>>>> java/. But java api is still not working, is there anyway of  
>>>> checking
>>>> the integrity of csnd.jar?
>>>>
>>>> Best
>>>> Peiman
>>>>
>>>>
>>>> On 14 Aug 2008, at 04:00, Steven Yi wrote:
>>>>
>>>>> Hi Peiman,
>>>>>
>>>>> The double version of csnd.jar should be different from the float
>>>>> one.
>>>>>  The method signatures of the java library methods should be for
>>>>> doulbe instead of float, and it will expect to link to a native
>>>>> library that uses doubles.
>>>>>
>>>>> steven
>>>>>
>>>>> On Wed, Aug 13, 2008 at 6:15 PM, peiman 
>>>>> wrote:
>>>>>>
>>>>>> I had to modify install.py too, basically commenting out the  
>>>>>> self-
>>>>>> check stage
>>>>>> as it would give an error every-time. Now it seems to install and
>>>>>> work,
>>>>>> except that the interfaces (e.g. csnd.jar) aren't installed in  
>>>>>> the
>>>>>> right
>>>>>> place or properly, or else they're not build properly.
>>>>>>
>>>>>> Is a double precision build of csnd.jar different from the float
>>>>>> one?
>>>>>>
>>>>>> An osx installer is really needed as I don't think install.py
>>>>>> works properly
>>>>>> on osx.
>>>>>>
>>>>>> Best
>>>>>> Peiman
>>>>>>
>>>>>>
>>>>>> peiman wrote:
>>>>>>>
>>>>>>> OK found the problem. In SConstruct, line 2278 is:
>>>>>>>
>>>>>>>    csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>>>>>> suppress -
>>>>>>> flat_namespace -framework CsoundLib'''))
>>>>>>>
>>>>>>> Now this is a problem because up to this point 'CsoundLib'  
>>>>>>> doesn't
>>>>>>> exists with a Double build. So I've added a conditional:
>>>>>>>
>>>>>>>     if commonEnvironment['useDouble'] == '1':
>>>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>>>>>> suppress -flat_namespace -framework CsoundLib64'''))
>>>>>>>     else:
>>>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>>>>>> suppress -flat_namespace -framework CsoundLib'''))
>>>>>>>
>>>>>>> It's now building with no errors.
>>>>>>>
>>>>>>> Best
>>>>>>> Peiman
>>>>>>>
>>>>>>>
>>>>>>> On 13 Aug 2008, at 23:37, victor wrote:
>>>>>>>
>>>>>>>> Because there is a step in SConstruct that copies the
>>>>>>>> framework to
>>>>>>>> the right place so it can continue building. I guess it's not
>>>>>>>> there
>>>>>>>> for 64bit. Try copying it by hand and continuing
>>>>>>>>
>>>>>>>> Victor
>>>>>>>> ----- Original Message -----
>>>>>>>> From: "peiman" 
>>>>>>>> To: 
>>>>>>>> Sent: Wednesday, August 13, 2008 11:16 PM
>>>>>>>> Subject: Re: [Cs-dev] Building csound on osx, saga  
>>>>>>>> continued....
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Ahhhhh if I knew it's so much trouble!!!
>>>>>>>>>
>>>>>>>>> So I deleted the old CsoundLib.framework from /Library/
>>>>>>>>> Frameworks
>>>>>>>>> do a
>>>>>>>>> clean
>>>>>>>>> uninstall of csound and now csound won't build. It seems there
>>>>>>>>> must have
>>>>>>>>> been something in that directory that csound was trying to  
>>>>>>>>> link
>>>>>>>>> to.
>>>>>>>>>
>>>>>>>>> This is the error I get:
>>>>>>>>>
>>>>>>>>> frontends/csladspa/ladspa.h:593: warning: 'visibility'  
>>>>>>>>> attribute
>>>>>>>>> ignored
>>>>>>>>> g++ -o csladspa.so -bundle -undefined suppress - 
>>>>>>>>> flat_namespace -
>>>>>>>>> framework
>>>>>>>>> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/local/
>>>>>>>>> lib -
>>>>>>>>> L. -L.
>>>>>>>>> -lsndfile
>>>>>>>>> /usr/bin/ld: can't locate framework for: -framework CsoundLib
>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>> scons: *** [csladspa.so] Error 1
>>>>>>>>> scons: building terminated because of errors.
>>>>>>>>>
>>>>>>>>> Best
>>>>>>>>> Peiman
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> peiman wrote:
>>>>>>>>>>
>>>>>>>>>> Hi Victor,
>>>>>>>>>>
>>>>>>>>>> I've installed portaudio v.19 dylib and rebuilt csound with
>>>>>>>>>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the command
>>>>>>>>>> export
>>>>>>>>>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the source
>>>>>>>>>> directory
>>>>>>>>>> (which is where the build rests at the moment) and type
>>>>>>>>>>
>>>>>>>>>>                         ./csound -otest ./tests/test1.csd
>>>>>>>>>>
>>>>>>>>>> the csd runs succesfully in realtime giving me no errors,
>>>>>>>>>> whether
>>>>>>>>>> its
>>>>>>>>>> working as double or float I don't know though, is there a
>>>>>>>>>> way to
>>>>>>>>>> find
>>>>>>>>>> out?
>>>>>>>>>>
>>>>>>>>>> So I still need to install the files in the right locations I
>>>>>>>>>> guess.
>>>>>>>>>>
>>>>>>>>>> Best
>>>>>>>>>> Peiman
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Victor Lazzarini wrote:
>>>>>>>>>>>
>>>>>>>>>>> Do you mean portaudio v.19 dylib or the csound module
>>>>>>>>>>> librtpa.dylib?
>>>>>>>>>>> The latter should go in the plugins dir with the rest of the
>>>>>>>>>>> modules,
>>>>>>>>>>> the portaudio lib should be installed with its own script
>>>>>>>>>>> (generally
>>>>>>>>>>> it ends up in /usr/local/lib.)
>>>>>>>>>>>
>>>>>>>>>>> Victor
>>>>>>>>>>>
>>>>>>>>>>> At 12:13 13/08/2008, you wrote:
>>>>>>>>>>>
>>>>>>>>>>>> OK so I went ahead and decided to test the build from  
>>>>>>>>>>>> inside
>>>>>>>>>>>> the
>>>>>>>>> directory.
>>>>>>>>>>>>
>>>>>>>>>>>> I wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> ./csound ./tests/test1.csd
>>>>>>>>>>>>
>>>>>>>>>>>> No problems...
>>>>>>>>>>>>
>>>>>>>>>>>> But realtime (./csound -odac ./tests/test1.csd) doesn't
>>>>>>>>>>>> work. I
>>>>>>>>>>>> get
>>>>>>>>>>>> these
>>>>>>>>>>>> errors:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ########################################################### 
>>>>>>>>>>>> ##
>>>>>>>>>>>> ##
>>>>>>>>>>>> #
>>>>>>>>>>>>         #              WARNING: OPCODEDIR64 IS NOT SET !
>>>>>>>>>>>> #
>>>>>>>>>>>>         # Csound requires this environment variable to  
>>>>>>>>>>>> be set
>>>>>>>>>>>> to find
>>>>>>>>>>>> #
>>>>>>>>>>>>         # its plugin libraries. If it is not set, you may
>>>>>>>>>>>> experience
>>>>>>>>>>>> #
>>>>>>>>>>>>         # missing opcodes, audio/MIDI drivers, or  
>>>>>>>>>>>> utilities.
>>>>>>>>>>>> #
>>>>>>>>>>>>
>>>>>>>>>>>> ########################################################### 
>>>>>>>>>>>> ##
>>>>>>>>>>>> ##
>>>>>>>>>>>> #
>>>>>>>>>>>>  *** error: unknown rtaudio module: 'PortAudio'
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Now this makes sense to me because I didn't install
>>>>>>>>>>>> PortAudio.
>>>>>>>>>>>> I build
>>>>>>>>>>>> it
>>>>>>>>>>>> but their readme file said not to install it. Then I wasn't
>>>>>>>>>>>> sure where
>>>>>>>>>>>> to
>>>>>>>>>>>> put it.
>>>>>>>>>>>>
>>>>>>>>>>>> In csound's custom.py it says:
>>>>>>>>>>>>
>>>>>>>>>>>>     # If you want real-time audio you need PortAudio.
>>>>>>>>>>>>     # If it is not in a standard location add it here
>>>>>>>>>>>>     # (of course you must build it first):
>>>>>>>>>>>>     #customCPPPATH.append('D:/utah/opt/portaudio_varga/
>>>>>>>>>>>> include')
>>>>>>>>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
>>>>>>>>>>>>
>>>>>>>>>>>> So where is the normal place for PortAudio to live? Or
>>>>>>>>>>>> should I
>>>>>>>>>>>> just
>>>>>>>>>>>> call
>>>>>>>>>>>> "install" from within the PortAudio source directory,  
>>>>>>>>>>>> despite
>>>>>>>>>>>> the readme
>>>>>>>>>>>> file specifically saying not to?
>>>>>>>>>>>>
>>>>>>>>>>>> Then to have real-time do I need to specify a variable for
>>>>>>>>>>>> scons or is
>>>>>>>>>>>> it
>>>>>>>>>>>> enabled by default?
>>>>>>>>>>>>
>>>>>>>>>>>> Then of course it is the question of setting OPCODEDIR64 is
>>>>>>>>>>>> this just a
>>>>>>>>>>>> normal environmental variable set in .bash_profile?
>>>>>>>>>>>>
>>>>>>>>>>>> Sorry about all these questions!!
>>>>>>>>>>>>
>>>>>>>>>>>> Best
>>>>>>>>>>>> Peiman
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> peiman wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> As Victor suggested I'm moving the discussion into csound-
>>>>>>>>>>>>> Dev
>>>>>>>>>>>>> list.
>>>>>>>>>>>>>
>>>>>>>>>>>>> So I've gone as far as building csound with the only extra
>>>>>>>>>>>>> option of
>>>>>>>>>>>>> useDouble=1 (I didn't bother with FLTK). So now I need to
>>>>>>>>>>>>> make
>>>>>>>>>>>>> the
>>>>>>>>>>>>> installer.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks Victor, your script would be much appreciated :-)
>>>>>>>>>>>>>
>>>>>>>>>>>>> Best
>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>>>>>> continued....-tp18960495p18961102.html
>>>>>>>>>>>> Sent from the Csound - Dev mailing list archive at
>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ----------------------------------------------------------- 
>>>>>>>>>>>> --
>>>>>>>>>>>> --
>>>>>>>>>>>> ---
>>>>>>>>>>>> -------
>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>> Developer's
>>>>>>>>> challenge
>>>>>>>>>>>> Build the coolest Linux based applications with Moblin  
>>>>>>>>>>>> SDK &
>>>>>>>>>>>> win great
>>>>>>>>> prizes
>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>> anywhere
>>>>>>>>>>>> in the
>>>>>>>>> world
>>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>> Victor Lazzarini
>>>>>>>>>>> Music Technology Laboratory
>>>>>>>>>>> Music Department
>>>>>>>>>>> National University of Ireland, Maynooth
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------ 
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> ---
>>>>>>>>>>> ------
>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>> Developer's
>>>>>>>>>>> challenge
>>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK
>>>>>>>>>>> & win
>>>>>>>>>>> great
>>>>>>>>>>> prizes
>>>>>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>>>>>> anywhere
>>>>>>>>>>> in the
>>>>>>>>>>> world
>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> View this message in context:
>>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>>> continued....-
>>>>>>>>> tp18960495p18972247.html
>>>>>>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -------------------------------------------------------------- 
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> ---
>>>>>>>>> ----
>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>> Developer's
>>>>>>>>> challenge
>>>>>>>>> Build the coolest Linux based applications with Moblin SDK  
>>>>>>>>> & win
>>>>>>>>> great
>>>>>>>>> prizes
>>>>>>>>> Grand prize is a trip for two to an Open Source event anywhere
>>>>>>>>> in the
>>>>>>>>> world
>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>> --------------------------------------------------------------- 
>>>>>>>> --
>>>>>>>> --
>>>>>>>> ---
>>>>>>>> ---
>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>> Developer's
>>>>>>>> challenge
>>>>>>>> Build the coolest Linux based applications with Moblin SDK &  
>>>>>>>> win
>>>>>>>> great prizes
>>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>>> anywhere in
>>>>>>>> the world
>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------- 
>>>>>>> --
>>>>>>> --
>>>>>>> -----
>>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>>> Developer's
>>>>>>> challenge
>>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>>> great
>>>>>>> prizes
>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>> anywhere in
>>>>>>> the
>>>>>>> world
>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context: http://www.nabble.com/Building-
>>>>>> csound-on-osx%2C-saga-continued....-tp18960495p18974186.html
>>>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>> ----------------------------------------------------------------- 
>>>>>> --
>>>>>> --
>>>>>> ----
>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>> Developer's
>>>>>> challenge
>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>> great prizes
>>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>>>> the world
>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------ 
>>>>> --
>>>>> --
>>>>> ---
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>> great prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>>> the world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> --
>>>> ----
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>> great prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>> the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Victor Lazzarini
>>> Music Technology Laboratory
>>> Music Department
>>> National University of Ireland, Maynooth
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> --
>>> ---
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
>>> great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in
>>> the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


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

Date2008-08-14 17:59
From"Steven Yi"
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
AttachmentsNone  

Date2008-08-15 03:06
Frompeiman khosravi
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
Thanks Steven,

I just tried that and this is all I get:

      0 Thu Aug 14 01:39:10 BST 2008 META-INF/
     70 Thu Aug 14 01:39:10 BST 2008 META-INF/MANIFEST.MF
      0 Sun Mar 16 11:45:58 GMT 2008 csnd/

I have a feeling it doesn't look right since .class is not mentioned  
anywhere!

Best
Peiman

On 14 Aug 2008, at 17:59, Steven Yi wrote:

> Hi Peiman,
>
> Could you run:
>
> jar tvf csnd.jar
>
> and see if the jar has a number of .class files inside it.  I remember
> it used to be that sometimes you had to run the build twice for Java
> to get it to build correctly.  Otherwise, I'll look into what's going
> on with JNI and OSX and see if there's anything in particular that
> needs to be done with OSX.
>
> steven
>
> On Thu, Aug 14, 2008 at 6:51 AM, peiman khosravi
>  wrote:
>> OK I feel it's getting closer. I found a link there that must have
>> been made by the previous installer. I deleted it and then copied the
>> files. But still not working :-(
>>
>> Thanks
>> Peiman
>>
>> On 14 Aug 2008, at 14:15, Victor Lazzarini wrote:
>>
>>> No I mean JavaVM.framework in /System/Libraries/Frameworks
>>> see where the jni files are and copy the jni file to it. Perhaps do
>>> the
>>> same for the jar file.
>>>
>>> At 13:50 14/08/2008, you wrote:
>>>> Do you mean /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/
>>>> Resources/java?
>>>>
>>>> Thanks
>>>> On 14 Aug 2008, at 13:45, Victor Lazzarini wrote:
>>>>
>>>>> I think the files have to go in the Java framework.
>>>>>
>>>>> At 13:38 14/08/2008, you wrote:
>>>>>
>>>>>> So I have the double build now. In /Library/Frameworks/
>>>>>> CsoundLib64.Framework/Versions/5.1/Resources/java/ I have only  
>>>>>> two
>>>>>> files csnd.jar and lib_jcsound.jnilib. I have put
>>>>>> lib_jcsound.jnilib
>>>>>> in /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/
>>>>>> Resources/
>>>>>> java/. But java api is still not working, is there anyway of
>>>>>> checking
>>>>>> the integrity of csnd.jar?
>>>>>>
>>>>>> Best
>>>>>> Peiman
>>>>>>
>>>>>>
>>>>>> On 14 Aug 2008, at 04:00, Steven Yi wrote:
>>>>>>
>>>>>>> Hi Peiman,
>>>>>>>
>>>>>>> The double version of csnd.jar should be different from the  
>>>>>>> float
>>>>>>> one.
>>>>>>>  The method signatures of the java library methods should be for
>>>>>>> doulbe instead of float, and it will expect to link to a native
>>>>>>> library that uses doubles.
>>>>>>>
>>>>>>> steven
>>>>>>>
>>>>>>> On Wed, Aug 13, 2008 at 6:15 PM, peiman  
>>>>>>> 
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> I had to modify install.py too, basically commenting out the
>>>>>>>> self-
>>>>>>>> check stage
>>>>>>>> as it would give an error every-time. Now it seems to  
>>>>>>>> install and
>>>>>>>> work,
>>>>>>>> except that the interfaces (e.g. csnd.jar) aren't installed in
>>>>>>>> the
>>>>>>>> right
>>>>>>>> place or properly, or else they're not build properly.
>>>>>>>>
>>>>>>>> Is a double precision build of csnd.jar different from the  
>>>>>>>> float
>>>>>>>> one?
>>>>>>>>
>>>>>>>> An osx installer is really needed as I don't think install.py
>>>>>>>> works properly
>>>>>>>> on osx.
>>>>>>>>
>>>>>>>> Best
>>>>>>>> Peiman
>>>>>>>>
>>>>>>>>
>>>>>>>> peiman wrote:
>>>>>>>>>
>>>>>>>>> OK found the problem. In SConstruct, line 2278 is:
>>>>>>>>>
>>>>>>>>>    csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>>>>>>>> suppress -
>>>>>>>>> flat_namespace -framework CsoundLib'''))
>>>>>>>>>
>>>>>>>>> Now this is a problem because up to this point 'CsoundLib'
>>>>>>>>> doesn't
>>>>>>>>> exists with a Double build. So I've added a conditional:
>>>>>>>>>
>>>>>>>>>     if commonEnvironment['useDouble'] == '1':
>>>>>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>>>>>>>> suppress -flat_namespace -framework CsoundLib64'''))
>>>>>>>>>     else:
>>>>>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>>>>>>>> suppress -flat_namespace -framework CsoundLib'''))
>>>>>>>>>
>>>>>>>>> It's now building with no errors.
>>>>>>>>>
>>>>>>>>> Best
>>>>>>>>> Peiman
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 13 Aug 2008, at 23:37, victor wrote:
>>>>>>>>>
>>>>>>>>>> Because there is a step in SConstruct that copies the
>>>>>>>>>> framework to
>>>>>>>>>> the right place so it can continue building. I guess it's not
>>>>>>>>>> there
>>>>>>>>>> for 64bit. Try copying it by hand and continuing
>>>>>>>>>>
>>>>>>>>>> Victor
>>>>>>>>>> ----- Original Message -----
>>>>>>>>>> From: "peiman" 
>>>>>>>>>> To: 
>>>>>>>>>> Sent: Wednesday, August 13, 2008 11:16 PM
>>>>>>>>>> Subject: Re: [Cs-dev] Building csound on osx, saga
>>>>>>>>>> continued....
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Ahhhhh if I knew it's so much trouble!!!
>>>>>>>>>>>
>>>>>>>>>>> So I deleted the old CsoundLib.framework from /Library/
>>>>>>>>>>> Frameworks
>>>>>>>>>>> do a
>>>>>>>>>>> clean
>>>>>>>>>>> uninstall of csound and now csound won't build. It seems  
>>>>>>>>>>> there
>>>>>>>>>>> must have
>>>>>>>>>>> been something in that directory that csound was trying to
>>>>>>>>>>> link
>>>>>>>>>>> to.
>>>>>>>>>>>
>>>>>>>>>>> This is the error I get:
>>>>>>>>>>>
>>>>>>>>>>> frontends/csladspa/ladspa.h:593: warning: 'visibility'
>>>>>>>>>>> attribute
>>>>>>>>>>> ignored
>>>>>>>>>>> g++ -o csladspa.so -bundle -undefined suppress -
>>>>>>>>>>> flat_namespace -
>>>>>>>>>>> framework
>>>>>>>>>>> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/ 
>>>>>>>>>>> local/
>>>>>>>>>>> lib -
>>>>>>>>>>> L. -L.
>>>>>>>>>>> -lsndfile
>>>>>>>>>>> /usr/bin/ld: can't locate framework for: -framework  
>>>>>>>>>>> CsoundLib
>>>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>>>> scons: *** [csladspa.so] Error 1
>>>>>>>>>>> scons: building terminated because of errors.
>>>>>>>>>>>
>>>>>>>>>>> Best
>>>>>>>>>>> Peiman
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> peiman wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Hi Victor,
>>>>>>>>>>>>
>>>>>>>>>>>> I've installed portaudio v.19 dylib and rebuilt csound with
>>>>>>>>>>>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the  
>>>>>>>>>>>> command
>>>>>>>>>>>> export
>>>>>>>>>>>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the source
>>>>>>>>>>>> directory
>>>>>>>>>>>> (which is where the build rests at the moment) and type
>>>>>>>>>>>>
>>>>>>>>>>>>                         ./csound -otest ./tests/test1.csd
>>>>>>>>>>>>
>>>>>>>>>>>> the csd runs succesfully in realtime giving me no errors,
>>>>>>>>>>>> whether
>>>>>>>>>>>> its
>>>>>>>>>>>> working as double or float I don't know though, is there a
>>>>>>>>>>>> way to
>>>>>>>>>>>> find
>>>>>>>>>>>> out?
>>>>>>>>>>>>
>>>>>>>>>>>> So I still need to install the files in the right  
>>>>>>>>>>>> locations I
>>>>>>>>>>>> guess.
>>>>>>>>>>>>
>>>>>>>>>>>> Best
>>>>>>>>>>>> Peiman
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Victor Lazzarini wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Do you mean portaudio v.19 dylib or the csound module
>>>>>>>>>>>>> librtpa.dylib?
>>>>>>>>>>>>> The latter should go in the plugins dir with the rest  
>>>>>>>>>>>>> of the
>>>>>>>>>>>>> modules,
>>>>>>>>>>>>> the portaudio lib should be installed with its own script
>>>>>>>>>>>>> (generally
>>>>>>>>>>>>> it ends up in /usr/local/lib.)
>>>>>>>>>>>>>
>>>>>>>>>>>>> Victor
>>>>>>>>>>>>>
>>>>>>>>>>>>> At 12:13 13/08/2008, you wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> OK so I went ahead and decided to test the build from
>>>>>>>>>>>>>> inside
>>>>>>>>>>>>>> the
>>>>>>>>>>> directory.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ./csound ./tests/test1.csd
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> No problems...
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> But realtime (./csound -odac ./tests/test1.csd) doesn't
>>>>>>>>>>>>>> work. I
>>>>>>>>>>>>>> get
>>>>>>>>>>>>>> these
>>>>>>>>>>>>>> errors:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ######################################################### 
>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>         #              WARNING: OPCODEDIR64 IS NOT SET !
>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>         # Csound requires this environment variable to
>>>>>>>>>>>>>> be set
>>>>>>>>>>>>>> to find
>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>         # its plugin libraries. If it is not set, you may
>>>>>>>>>>>>>> experience
>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>         # missing opcodes, audio/MIDI drivers, or
>>>>>>>>>>>>>> utilities.
>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ######################################################### 
>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>  *** error: unknown rtaudio module: 'PortAudio'
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Now this makes sense to me because I didn't install
>>>>>>>>>>>>>> PortAudio.
>>>>>>>>>>>>>> I build
>>>>>>>>>>>>>> it
>>>>>>>>>>>>>> but their readme file said not to install it. Then I  
>>>>>>>>>>>>>> wasn't
>>>>>>>>>>>>>> sure where
>>>>>>>>>>>>>> to
>>>>>>>>>>>>>> put it.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> In csound's custom.py it says:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>     # If you want real-time audio you need PortAudio.
>>>>>>>>>>>>>>     # If it is not in a standard location add it here
>>>>>>>>>>>>>>     # (of course you must build it first):
>>>>>>>>>>>>>>     #customCPPPATH.append('D:/utah/opt/portaudio_varga/
>>>>>>>>>>>>>> include')
>>>>>>>>>>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> So where is the normal place for PortAudio to live? Or
>>>>>>>>>>>>>> should I
>>>>>>>>>>>>>> just
>>>>>>>>>>>>>> call
>>>>>>>>>>>>>> "install" from within the PortAudio source directory,
>>>>>>>>>>>>>> despite
>>>>>>>>>>>>>> the readme
>>>>>>>>>>>>>> file specifically saying not to?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Then to have real-time do I need to specify a variable  
>>>>>>>>>>>>>> for
>>>>>>>>>>>>>> scons or is
>>>>>>>>>>>>>> it
>>>>>>>>>>>>>> enabled by default?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Then of course it is the question of setting  
>>>>>>>>>>>>>> OPCODEDIR64 is
>>>>>>>>>>>>>> this just a
>>>>>>>>>>>>>> normal environmental variable set in .bash_profile?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Sorry about all these questions!!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Best
>>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> peiman wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> As Victor suggested I'm moving the discussion into  
>>>>>>>>>>>>>>> csound-
>>>>>>>>>>>>>>> Dev
>>>>>>>>>>>>>>> list.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> So I've gone as far as building csound with the only  
>>>>>>>>>>>>>>> extra
>>>>>>>>>>>>>>> option of
>>>>>>>>>>>>>>> useDouble=1 (I didn't bother with FLTK). So now I  
>>>>>>>>>>>>>>> need to
>>>>>>>>>>>>>>> make
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>> installer.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks Victor, your script would be much appreciated :-)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Best
>>>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>>>>>>>> continued....-tp18960495p18961102.html
>>>>>>>>>>>>>> Sent from the Csound - Dev mailing list archive at
>>>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --------------------------------------------------------- 
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>> -------
>>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>> Developer's
>>>>>>>>>>> challenge
>>>>>>>>>>>>>> Build the coolest Linux based applications with Moblin
>>>>>>>>>>>>>> SDK &
>>>>>>>>>>>>>> win great
>>>>>>>>>>> prizes
>>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>> anywhere
>>>>>>>>>>>>>> in the
>>>>>>>>>>> world
>>>>>>>>>>>>>> http://moblin-contest.org/redirect.php? 
>>>>>>>>>>>>>> banner_id=100&url=/
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>> Victor Lazzarini
>>>>>>>>>>>>> Music Technology Laboratory
>>>>>>>>>>>>> Music Department
>>>>>>>>>>>>> National University of Ireland, Maynooth
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ---------------------------------------------------------- 
>>>>>>>>>>>>> --
>>>>>>>>>>>>> --
>>>>>>>>>>>>> --
>>>>>>>>>>>>> ---
>>>>>>>>>>>>> ------
>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>> Developer's
>>>>>>>>>>>>> challenge
>>>>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK
>>>>>>>>>>>>> & win
>>>>>>>>>>>>> great
>>>>>>>>>>>>> prizes
>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>> anywhere
>>>>>>>>>>>>> in the
>>>>>>>>>>>>> world
>>>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> View this message in context:
>>>>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>>>>> continued....-
>>>>>>>>>>> tp18960495p18972247.html
>>>>>>>>>>> Sent from the Csound - Dev mailing list archive at  
>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------ 
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> ---
>>>>>>>>>>> ----
>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>> Developer's
>>>>>>>>>>> challenge
>>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK
>>>>>>>>>>> & win
>>>>>>>>>>> great
>>>>>>>>>>> prizes
>>>>>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>>>>>> anywhere
>>>>>>>>>>> in the
>>>>>>>>>>> world
>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------- 
>>>>>>>>>> --
>>>>>>>>>> --
>>>>>>>>>> --
>>>>>>>>>> ---
>>>>>>>>>> ---
>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>> Developer's
>>>>>>>>>> challenge
>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK &
>>>>>>>>>> win
>>>>>>>>>> great prizes
>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>> anywhere in
>>>>>>>>>> the world
>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -------------------------------------------------------------- 
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> -----
>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>> Developer's
>>>>>>>>> challenge
>>>>>>>>> Build the coolest Linux based applications with Moblin SDK  
>>>>>>>>> & win
>>>>>>>>> great
>>>>>>>>> prizes
>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>> anywhere in
>>>>>>>>> the
>>>>>>>>> world
>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> View this message in context: http://www.nabble.com/Building-
>>>>>>>> csound-on-osx%2C-saga-continued....-tp18960495p18974186.html
>>>>>>>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>>>>>>>
>>>>>>>>
>>>>>>>> --------------------------------------------------------------- 
>>>>>>>> --
>>>>>>>> --
>>>>>>>> --
>>>>>>>> ----
>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>> Developer's
>>>>>>>> challenge
>>>>>>>> Build the coolest Linux based applications with Moblin SDK &  
>>>>>>>> win
>>>>>>>> great prizes
>>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>>> anywhere in
>>>>>>>> the world
>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------- 
>>>>>>> --
>>>>>>> --
>>>>>>> --
>>>>>>> ---
>>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>>> Developer's
>>>>>>> challenge
>>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>>> great prizes
>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>> anywhere in
>>>>>>> the world
>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>> ----------------------------------------------------------------- 
>>>>>> --
>>>>>> --
>>>>>> ----
>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>> Developer's
>>>>>> challenge
>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>> great prizes
>>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>>>> the world
>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Victor Lazzarini
>>>>> Music Technology Laboratory
>>>>> Music Department
>>>>> National University of Ireland, Maynooth
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------ 
>>>>> --
>>>>> --
>>>>> ---
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>> great prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>>> the world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> --
>>>> ----
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>> great prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>> the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> Victor Lazzarini
>>> Music Technology Laboratory
>>> Music Department
>>> National University of Ireland, Maynooth
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> --
>>> ---
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
>>> great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in
>>> the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


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

Date2008-08-15 04:28
From"Steven Yi"
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
AttachmentsNone  

Date2008-08-15 12:02
Frompeiman khosravi
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
Hi Steven,

I tried rerunning the build several times, both as float and double.  
But every time csnd.jar looks the same. I also tried rebuilding and  
reinstalling SWIG but no difference.

Thanks for your help
Peiman


On 15 Aug 2008, at 04:28, Steven Yi wrote:

> Hi Peiman,
>
> Yes, the jar file should a number of .class files.  Without doing a
> clean, could you rerun the build and see if the csnd.jar gets rebuilt
> with class files?
>
> steven
>
> On Thu, Aug 14, 2008 at 7:06 PM, peiman khosravi
>  wrote:
>> Thanks Steven,
>>
>> I just tried that and this is all I get:
>>
>>      0 Thu Aug 14 01:39:10 BST 2008 META-INF/
>>     70 Thu Aug 14 01:39:10 BST 2008 META-INF/MANIFEST.MF
>>      0 Sun Mar 16 11:45:58 GMT 2008 csnd/
>>
>> I have a feeling it doesn't look right since .class is not mentioned
>> anywhere!
>>
>> Best
>> Peiman
>>
>> On 14 Aug 2008, at 17:59, Steven Yi wrote:
>>
>>> Hi Peiman,
>>>
>>> Could you run:
>>>
>>> jar tvf csnd.jar
>>>
>>> and see if the jar has a number of .class files inside it.  I  
>>> remember
>>> it used to be that sometimes you had to run the build twice for Java
>>> to get it to build correctly.  Otherwise, I'll look into what's  
>>> going
>>> on with JNI and OSX and see if there's anything in particular that
>>> needs to be done with OSX.
>>>
>>> steven
>>>
>>> On Thu, Aug 14, 2008 at 6:51 AM, peiman khosravi
>>>  wrote:
>>>> OK I feel it's getting closer. I found a link there that must have
>>>> been made by the previous installer. I deleted it and then  
>>>> copied the
>>>> files. But still not working :-(
>>>>
>>>> Thanks
>>>> Peiman
>>>>
>>>> On 14 Aug 2008, at 14:15, Victor Lazzarini wrote:
>>>>
>>>>> No I mean JavaVM.framework in /System/Libraries/Frameworks
>>>>> see where the jni files are and copy the jni file to it.  
>>>>> Perhaps do
>>>>> the
>>>>> same for the jar file.
>>>>>
>>>>> At 13:50 14/08/2008, you wrote:
>>>>>> Do you mean /Library/Frameworks/CsoundLib64.Framework/Versions/ 
>>>>>> 5.1/
>>>>>> Resources/java?
>>>>>>
>>>>>> Thanks
>>>>>> On 14 Aug 2008, at 13:45, Victor Lazzarini wrote:
>>>>>>
>>>>>>> I think the files have to go in the Java framework.
>>>>>>>
>>>>>>> At 13:38 14/08/2008, you wrote:
>>>>>>>
>>>>>>>> So I have the double build now. In /Library/Frameworks/
>>>>>>>> CsoundLib64.Framework/Versions/5.1/Resources/java/ I have only
>>>>>>>> two
>>>>>>>> files csnd.jar and lib_jcsound.jnilib. I have put
>>>>>>>> lib_jcsound.jnilib
>>>>>>>> in /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/
>>>>>>>> Resources/
>>>>>>>> java/. But java api is still not working, is there anyway of
>>>>>>>> checking
>>>>>>>> the integrity of csnd.jar?
>>>>>>>>
>>>>>>>> Best
>>>>>>>> Peiman
>>>>>>>>
>>>>>>>>
>>>>>>>> On 14 Aug 2008, at 04:00, Steven Yi wrote:
>>>>>>>>
>>>>>>>>> Hi Peiman,
>>>>>>>>>
>>>>>>>>> The double version of csnd.jar should be different from the
>>>>>>>>> float
>>>>>>>>> one.
>>>>>>>>>  The method signatures of the java library methods should  
>>>>>>>>> be for
>>>>>>>>> doulbe instead of float, and it will expect to link to a  
>>>>>>>>> native
>>>>>>>>> library that uses doubles.
>>>>>>>>>
>>>>>>>>> steven
>>>>>>>>>
>>>>>>>>> On Wed, Aug 13, 2008 at 6:15 PM, peiman
>>>>>>>>> 
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> I had to modify install.py too, basically commenting out the
>>>>>>>>>> self-
>>>>>>>>>> check stage
>>>>>>>>>> as it would give an error every-time. Now it seems to
>>>>>>>>>> install and
>>>>>>>>>> work,
>>>>>>>>>> except that the interfaces (e.g. csnd.jar) aren't  
>>>>>>>>>> installed in
>>>>>>>>>> the
>>>>>>>>>> right
>>>>>>>>>> place or properly, or else they're not build properly.
>>>>>>>>>>
>>>>>>>>>> Is a double precision build of csnd.jar different from the
>>>>>>>>>> float
>>>>>>>>>> one?
>>>>>>>>>>
>>>>>>>>>> An osx installer is really needed as I don't think install.py
>>>>>>>>>> works properly
>>>>>>>>>> on osx.
>>>>>>>>>>
>>>>>>>>>> Best
>>>>>>>>>> Peiman
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> peiman wrote:
>>>>>>>>>>>
>>>>>>>>>>> OK found the problem. In SConstruct, line 2278 is:
>>>>>>>>>>>
>>>>>>>>>>>    csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>>>>>>>>>> suppress -
>>>>>>>>>>> flat_namespace -framework CsoundLib'''))
>>>>>>>>>>>
>>>>>>>>>>> Now this is a problem because up to this point 'CsoundLib'
>>>>>>>>>>> doesn't
>>>>>>>>>>> exists with a Double build. So I've added a conditional:
>>>>>>>>>>>
>>>>>>>>>>>     if commonEnvironment['useDouble'] == '1':
>>>>>>>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle - 
>>>>>>>>>>> undefined
>>>>>>>>>>> suppress -flat_namespace -framework CsoundLib64'''))
>>>>>>>>>>>     else:
>>>>>>>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle - 
>>>>>>>>>>> undefined
>>>>>>>>>>> suppress -flat_namespace -framework CsoundLib'''))
>>>>>>>>>>>
>>>>>>>>>>> It's now building with no errors.
>>>>>>>>>>>
>>>>>>>>>>> Best
>>>>>>>>>>> Peiman
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 13 Aug 2008, at 23:37, victor wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Because there is a step in SConstruct that copies the
>>>>>>>>>>>> framework to
>>>>>>>>>>>> the right place so it can continue building. I guess  
>>>>>>>>>>>> it's not
>>>>>>>>>>>> there
>>>>>>>>>>>> for 64bit. Try copying it by hand and continuing
>>>>>>>>>>>>
>>>>>>>>>>>> Victor
>>>>>>>>>>>> ----- Original Message -----
>>>>>>>>>>>> From: "peiman" 
>>>>>>>>>>>> To: 
>>>>>>>>>>>> Sent: Wednesday, August 13, 2008 11:16 PM
>>>>>>>>>>>> Subject: Re: [Cs-dev] Building csound on osx, saga
>>>>>>>>>>>> continued....
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Ahhhhh if I knew it's so much trouble!!!
>>>>>>>>>>>>>
>>>>>>>>>>>>> So I deleted the old CsoundLib.framework from /Library/
>>>>>>>>>>>>> Frameworks
>>>>>>>>>>>>> do a
>>>>>>>>>>>>> clean
>>>>>>>>>>>>> uninstall of csound and now csound won't build. It seems
>>>>>>>>>>>>> there
>>>>>>>>>>>>> must have
>>>>>>>>>>>>> been something in that directory that csound was trying to
>>>>>>>>>>>>> link
>>>>>>>>>>>>> to.
>>>>>>>>>>>>>
>>>>>>>>>>>>> This is the error I get:
>>>>>>>>>>>>>
>>>>>>>>>>>>> frontends/csladspa/ladspa.h:593: warning: 'visibility'
>>>>>>>>>>>>> attribute
>>>>>>>>>>>>> ignored
>>>>>>>>>>>>> g++ -o csladspa.so -bundle -undefined suppress -
>>>>>>>>>>>>> flat_namespace -
>>>>>>>>>>>>> framework
>>>>>>>>>>>>> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/
>>>>>>>>>>>>> local/
>>>>>>>>>>>>> lib -
>>>>>>>>>>>>> L. -L.
>>>>>>>>>>>>> -lsndfile
>>>>>>>>>>>>> /usr/bin/ld: can't locate framework for: -framework
>>>>>>>>>>>>> CsoundLib
>>>>>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>>>>>> scons: *** [csladspa.so] Error 1
>>>>>>>>>>>>> scons: building terminated because of errors.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Best
>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> peiman wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Victor,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I've installed portaudio v.19 dylib and rebuilt csound  
>>>>>>>>>>>>>> with
>>>>>>>>>>>>>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the
>>>>>>>>>>>>>> command
>>>>>>>>>>>>>> export
>>>>>>>>>>>>>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the  
>>>>>>>>>>>>>> source
>>>>>>>>>>>>>> directory
>>>>>>>>>>>>>> (which is where the build rests at the moment) and type
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>                         ./csound -otest ./tests/test1.csd
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> the csd runs succesfully in realtime giving me no errors,
>>>>>>>>>>>>>> whether
>>>>>>>>>>>>>> its
>>>>>>>>>>>>>> working as double or float I don't know though, is  
>>>>>>>>>>>>>> there a
>>>>>>>>>>>>>> way to
>>>>>>>>>>>>>> find
>>>>>>>>>>>>>> out?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> So I still need to install the files in the right
>>>>>>>>>>>>>> locations I
>>>>>>>>>>>>>> guess.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Best
>>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Victor Lazzarini wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Do you mean portaudio v.19 dylib or the csound module
>>>>>>>>>>>>>>> librtpa.dylib?
>>>>>>>>>>>>>>> The latter should go in the plugins dir with the rest
>>>>>>>>>>>>>>> of the
>>>>>>>>>>>>>>> modules,
>>>>>>>>>>>>>>> the portaudio lib should be installed with its own  
>>>>>>>>>>>>>>> script
>>>>>>>>>>>>>>> (generally
>>>>>>>>>>>>>>> it ends up in /usr/local/lib.)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Victor
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> At 12:13 13/08/2008, you wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> OK so I went ahead and decided to test the build from
>>>>>>>>>>>>>>>> inside
>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>> directory.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ./csound ./tests/test1.csd
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> No problems...
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> But realtime (./csound -odac ./tests/test1.csd) doesn't
>>>>>>>>>>>>>>>> work. I
>>>>>>>>>>>>>>>> get
>>>>>>>>>>>>>>>> these
>>>>>>>>>>>>>>>> errors:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ####################################################### 
>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>         #              WARNING: OPCODEDIR64 IS NOT  
>>>>>>>>>>>>>>>> SET !
>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>         # Csound requires this environment variable to
>>>>>>>>>>>>>>>> be set
>>>>>>>>>>>>>>>> to find
>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>         # its plugin libraries. If it is not set,  
>>>>>>>>>>>>>>>> you may
>>>>>>>>>>>>>>>> experience
>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>         # missing opcodes, audio/MIDI drivers, or
>>>>>>>>>>>>>>>> utilities.
>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ####################################################### 
>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>  *** error: unknown rtaudio module: 'PortAudio'
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Now this makes sense to me because I didn't install
>>>>>>>>>>>>>>>> PortAudio.
>>>>>>>>>>>>>>>> I build
>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>> but their readme file said not to install it. Then I
>>>>>>>>>>>>>>>> wasn't
>>>>>>>>>>>>>>>> sure where
>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>> put it.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> In csound's custom.py it says:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>     # If you want real-time audio you need PortAudio.
>>>>>>>>>>>>>>>>     # If it is not in a standard location add it here
>>>>>>>>>>>>>>>>     # (of course you must build it first):
>>>>>>>>>>>>>>>>     #customCPPPATH.append('D:/utah/opt/portaudio_varga/
>>>>>>>>>>>>>>>> include')
>>>>>>>>>>>>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> So where is the normal place for PortAudio to live? Or
>>>>>>>>>>>>>>>> should I
>>>>>>>>>>>>>>>> just
>>>>>>>>>>>>>>>> call
>>>>>>>>>>>>>>>> "install" from within the PortAudio source directory,
>>>>>>>>>>>>>>>> despite
>>>>>>>>>>>>>>>> the readme
>>>>>>>>>>>>>>>> file specifically saying not to?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Then to have real-time do I need to specify a variable
>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>> scons or is
>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>> enabled by default?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Then of course it is the question of setting
>>>>>>>>>>>>>>>> OPCODEDIR64 is
>>>>>>>>>>>>>>>> this just a
>>>>>>>>>>>>>>>> normal environmental variable set in .bash_profile?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Sorry about all these questions!!
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Best
>>>>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> peiman wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> As Victor suggested I'm moving the discussion into
>>>>>>>>>>>>>>>>> csound-
>>>>>>>>>>>>>>>>> Dev
>>>>>>>>>>>>>>>>> list.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> So I've gone as far as building csound with the only
>>>>>>>>>>>>>>>>> extra
>>>>>>>>>>>>>>>>> option of
>>>>>>>>>>>>>>>>> useDouble=1 (I didn't bother with FLTK). So now I
>>>>>>>>>>>>>>>>> need to
>>>>>>>>>>>>>>>>> make
>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>> installer.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks Victor, your script would be much  
>>>>>>>>>>>>>>>>> appreciated :-)
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Best
>>>>>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>>>>>>>>>> continued....-tp18960495p18961102.html
>>>>>>>>>>>>>>>> Sent from the Csound - Dev mailing list archive at
>>>>>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ------------------------------------------------------- 
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>>>> -------
>>>>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>>>> Developer's
>>>>>>>>>>>>> challenge
>>>>>>>>>>>>>>>> Build the coolest Linux based applications with Moblin
>>>>>>>>>>>>>>>> SDK &
>>>>>>>>>>>>>>>> win great
>>>>>>>>>>>>> prizes
>>>>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>>>> anywhere
>>>>>>>>>>>>>>>> in the
>>>>>>>>>>>>> world
>>>>>>>>>>>>>>>> http://moblin-contest.org/redirect.php?
>>>>>>>>>>>>>>>> banner_id=100&url=/
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound- 
>>>>>>>>>>>>>>>> devel
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Victor Lazzarini
>>>>>>>>>>>>>>> Music Technology Laboratory
>>>>>>>>>>>>>>> Music Department
>>>>>>>>>>>>>>> National University of Ireland, Maynooth
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> -------------------------------------------------------- 
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>>> ------
>>>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>>> Developer's
>>>>>>>>>>>>>>> challenge
>>>>>>>>>>>>>>> Build the coolest Linux based applications with  
>>>>>>>>>>>>>>> Moblin SDK
>>>>>>>>>>>>>>> & win
>>>>>>>>>>>>>>> great
>>>>>>>>>>>>>>> prizes
>>>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>>> anywhere
>>>>>>>>>>>>>>> in the
>>>>>>>>>>>>>>> world
>>>>>>>>>>>>>>> http://moblin-contest.org/redirect.php? 
>>>>>>>>>>>>>>> banner_id=100&url=/
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound- 
>>>>>>>>>>>>>>> devel
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>>>>>>> continued....-
>>>>>>>>>>>>> tp18960495p18972247.html
>>>>>>>>>>>>> Sent from the Csound - Dev mailing list archive at
>>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ---------------------------------------------------------- 
>>>>>>>>>>>>> --
>>>>>>>>>>>>> --
>>>>>>>>>>>>> --
>>>>>>>>>>>>> --
>>>>>>>>>>>>> ---
>>>>>>>>>>>>> ----
>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>> Developer's
>>>>>>>>>>>>> challenge
>>>>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK
>>>>>>>>>>>>> & win
>>>>>>>>>>>>> great
>>>>>>>>>>>>> prizes
>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>> anywhere
>>>>>>>>>>>>> in the
>>>>>>>>>>>>> world
>>>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ----------------------------------------------------------- 
>>>>>>>>>>>> --
>>>>>>>>>>>> --
>>>>>>>>>>>> --
>>>>>>>>>>>> --
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---
>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>> Developer's
>>>>>>>>>>>> challenge
>>>>>>>>>>>> Build the coolest Linux based applications with Moblin  
>>>>>>>>>>>> SDK &
>>>>>>>>>>>> win
>>>>>>>>>>>> great prizes
>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>> anywhere in
>>>>>>>>>>>> the world
>>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------ 
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> -----
>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>> Developer's
>>>>>>>>>>> challenge
>>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK
>>>>>>>>>>> & win
>>>>>>>>>>> great
>>>>>>>>>>> prizes
>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>> anywhere in
>>>>>>>>>>> the
>>>>>>>>>>> world
>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> View this message in context: http://www.nabble.com/Building-
>>>>>>>>>> csound-on-osx%2C-saga-continued....-tp18960495p18974186.html
>>>>>>>>>> Sent from the Csound - Dev mailing list archive at  
>>>>>>>>>> Nabble.com.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------- 
>>>>>>>>>> --
>>>>>>>>>> --
>>>>>>>>>> --
>>>>>>>>>> --
>>>>>>>>>> ----
>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>> Developer's
>>>>>>>>>> challenge
>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK &
>>>>>>>>>> win
>>>>>>>>>> great prizes
>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>> anywhere in
>>>>>>>>>> the world
>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -------------------------------------------------------------- 
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> ---
>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>> Developer's
>>>>>>>>> challenge
>>>>>>>>> Build the coolest Linux based applications with Moblin SDK  
>>>>>>>>> & win
>>>>>>>>> great prizes
>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>> anywhere in
>>>>>>>>> the world
>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>> --------------------------------------------------------------- 
>>>>>>>> --
>>>>>>>> --
>>>>>>>> --
>>>>>>>> ----
>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>> Developer's
>>>>>>>> challenge
>>>>>>>> Build the coolest Linux based applications with Moblin SDK &  
>>>>>>>> win
>>>>>>>> great prizes
>>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>>> anywhere in
>>>>>>>> the world
>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Victor Lazzarini
>>>>>>> Music Technology Laboratory
>>>>>>> Music Department
>>>>>>> National University of Ireland, Maynooth
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------- 
>>>>>>> --
>>>>>>> --
>>>>>>> --
>>>>>>> ---
>>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>>> Developer's
>>>>>>> challenge
>>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>>> great prizes
>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>> anywhere in
>>>>>>> the world
>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>> ----------------------------------------------------------------- 
>>>>>> --
>>>>>> --
>>>>>> ----
>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>> Developer's
>>>>>> challenge
>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>> great prizes
>>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>>>> the world
>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> Victor Lazzarini
>>>>> Music Technology Laboratory
>>>>> Music Department
>>>>> National University of Ireland, Maynooth
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------ 
>>>>> --
>>>>> --
>>>>> ---
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>> great prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>>> the world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> --
>>>> ----
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>> great prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>> the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> -------------------------------------------------------------------- 
>>> --
>>> ---
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
>>> great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in
>>> the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


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

Date2008-08-15 12:09
FromVictor Lazzarini
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
Can you delete interfaces/java_interface_wrap.cc

and rebuild?

At 12:02 15/08/2008, you wrote:
>Hi Steven,
>
>I tried rerunning the build several times, both as float and double.
>But every time csnd.jar looks the same. I also tried rebuilding and
>reinstalling SWIG but no difference.
>
>Thanks for your help
>Peiman
>
>
>On 15 Aug 2008, at 04:28, Steven Yi wrote:
>
> > Hi Peiman,
> >
> > Yes, the jar file should a number of .class files.  Without doing a
> > clean, could you rerun the build and see if the csnd.jar gets rebuilt
> > with class files?
> >
> > steven
> >
> > On Thu, Aug 14, 2008 at 7:06 PM, peiman khosravi
> >  wrote:
> >> Thanks Steven,
> >>
> >> I just tried that and this is all I get:
> >>
> >>      0 Thu Aug 14 01:39:10 BST 2008 META-INF/
> >>     70 Thu Aug 14 01:39:10 BST 2008 META-INF/MANIFEST.MF
> >>      0 Sun Mar 16 11:45:58 GMT 2008 csnd/
> >>
> >> I have a feeling it doesn't look right since .class is not mentioned
> >> anywhere!
> >>
> >> Best
> >> Peiman
> >>
> >> On 14 Aug 2008, at 17:59, Steven Yi wrote:
> >>
> >>> Hi Peiman,
> >>>
> >>> Could you run:
> >>>
> >>> jar tvf csnd.jar
> >>>
> >>> and see if the jar has a number of .class files inside it.  I
> >>> remember
> >>> it used to be that sometimes you had to run the build twice for Java
> >>> to get it to build correctly.  Otherwise, I'll look into what's
> >>> going
> >>> on with JNI and OSX and see if there's anything in particular that
> >>> needs to be done with OSX.
> >>>
> >>> steven
> >>>
> >>> On Thu, Aug 14, 2008 at 6:51 AM, peiman khosravi
> >>>  wrote:
> >>>> OK I feel it's getting closer. I found a link there that must have
> >>>> been made by the previous installer. I deleted it and then
> >>>> copied the
> >>>> files. But still not working :-(
> >>>>
> >>>> Thanks
> >>>> Peiman
> >>>>
> >>>> On 14 Aug 2008, at 14:15, Victor Lazzarini wrote:
> >>>>
> >>>>> No I mean JavaVM.framework in /System/Libraries/Frameworks
> >>>>> see where the jni files are and copy the jni file to it.
> >>>>> Perhaps do
> >>>>> the
> >>>>> same for the jar file.
> >>>>>
> >>>>> At 13:50 14/08/2008, you wrote:
> >>>>>> Do you mean /Library/Frameworks/CsoundLib64.Framework/Versions/
> >>>>>> 5.1/
> >>>>>> Resources/java?
> >>>>>>
> >>>>>> Thanks
> >>>>>> On 14 Aug 2008, at 13:45, Victor Lazzarini wrote:
> >>>>>>
> >>>>>>> I think the files have to go in the Java framework.
> >>>>>>>
> >>>>>>> At 13:38 14/08/2008, you wrote:
> >>>>>>>
> >>>>>>>> So I have the double build now. In /Library/Frameworks/
> >>>>>>>> CsoundLib64.Framework/Versions/5.1/Resources/java/ I have only
> >>>>>>>> two
> >>>>>>>> files csnd.jar and lib_jcsound.jnilib. I have put
> >>>>>>>> lib_jcsound.jnilib
> >>>>>>>> in /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/
> >>>>>>>> Resources/
> >>>>>>>> java/. But java api is still not working, is there anyway of
> >>>>>>>> checking
> >>>>>>>> the integrity of csnd.jar?
> >>>>>>>>
> >>>>>>>> Best
> >>>>>>>> Peiman
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On 14 Aug 2008, at 04:00, Steven Yi wrote:
> >>>>>>>>
> >>>>>>>>> Hi Peiman,
> >>>>>>>>>
> >>>>>>>>> The double version of csnd.jar should be different from the
> >>>>>>>>> float
> >>>>>>>>> one.
> >>>>>>>>>  The method signatures of the java library methods should
> >>>>>>>>> be for
> >>>>>>>>> doulbe instead of float, and it will expect to link to a
> >>>>>>>>> native
> >>>>>>>>> library that uses doubles.
> >>>>>>>>>
> >>>>>>>>> steven
> >>>>>>>>>
> >>>>>>>>> On Wed, Aug 13, 2008 at 6:15 PM, peiman
> >>>>>>>>> 
> >>>>>>>>> wrote:
> >>>>>>>>>>
> >>>>>>>>>> I had to modify install.py too, basically commenting out the
> >>>>>>>>>> self-
> >>>>>>>>>> check stage
> >>>>>>>>>> as it would give an error every-time. Now it seems to
> >>>>>>>>>> install and
> >>>>>>>>>> work,
> >>>>>>>>>> except that the interfaces (e.g. csnd.jar) aren't
> >>>>>>>>>> installed in
> >>>>>>>>>> the
> >>>>>>>>>> right
> >>>>>>>>>> place or properly, or else they're not build properly.
> >>>>>>>>>>
> >>>>>>>>>> Is a double precision build of csnd.jar different from the
> >>>>>>>>>> float
> >>>>>>>>>> one?
> >>>>>>>>>>
> >>>>>>>>>> An osx installer is really needed as I don't think install.py
> >>>>>>>>>> works properly
> >>>>>>>>>> on osx.
> >>>>>>>>>>
> >>>>>>>>>> Best
> >>>>>>>>>> Peiman
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> peiman wrote:
> >>>>>>>>>>>
> >>>>>>>>>>> OK found the problem. In SConstruct, line 2278 is:
> >>>>>>>>>>>
> >>>>>>>>>>>    csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
> >>>>>>>>>>> suppress -
> >>>>>>>>>>> flat_namespace -framework CsoundLib'''))
> >>>>>>>>>>>
> >>>>>>>>>>> Now this is a problem because up to this point 'CsoundLib'
> >>>>>>>>>>> doesn't
> >>>>>>>>>>> exists with a Double build. So I've added a conditional:
> >>>>>>>>>>>
> >>>>>>>>>>>     if commonEnvironment['useDouble'] == '1':
> >>>>>>>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -
> >>>>>>>>>>> undefined
> >>>>>>>>>>> suppress -flat_namespace -framework CsoundLib64'''))
> >>>>>>>>>>>     else:
> >>>>>>>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -
> >>>>>>>>>>> undefined
> >>>>>>>>>>> suppress -flat_namespace -framework CsoundLib'''))
> >>>>>>>>>>>
> >>>>>>>>>>> It's now building with no errors.
> >>>>>>>>>>>
> >>>>>>>>>>> Best
> >>>>>>>>>>> Peiman
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> On 13 Aug 2008, at 23:37, victor wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>> Because there is a step in SConstruct that copies the
> >>>>>>>>>>>> framework to
> >>>>>>>>>>>> the right place so it can continue building. I guess
> >>>>>>>>>>>> it's not
> >>>>>>>>>>>> there
> >>>>>>>>>>>> for 64bit. Try copying it by hand and continuing
> >>>>>>>>>>>>
> >>>>>>>>>>>> Victor
> >>>>>>>>>>>> ----- Original Message -----
> >>>>>>>>>>>> From: "peiman" 
> >>>>>>>>>>>> To: 
> >>>>>>>>>>>> Sent: Wednesday, August 13, 2008 11:16 PM
> >>>>>>>>>>>> Subject: Re: [Cs-dev] Building csound on osx, saga
> >>>>>>>>>>>> continued....
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Ahhhhh if I knew it's so much trouble!!!
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> So I deleted the old CsoundLib.framework from /Library/
> >>>>>>>>>>>>> Frameworks
> >>>>>>>>>>>>> do a
> >>>>>>>>>>>>> clean
> >>>>>>>>>>>>> uninstall of csound and now csound won't build. It seems
> >>>>>>>>>>>>> there
> >>>>>>>>>>>>> must have
> >>>>>>>>>>>>> been something in that directory that csound was trying to
> >>>>>>>>>>>>> link
> >>>>>>>>>>>>> to.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> This is the error I get:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> frontends/csladspa/ladspa.h:593: warning: 'visibility'
> >>>>>>>>>>>>> attribute
> >>>>>>>>>>>>> ignored
> >>>>>>>>>>>>> g++ -o csladspa.so -bundle -undefined suppress -
> >>>>>>>>>>>>> flat_namespace -
> >>>>>>>>>>>>> framework
> >>>>>>>>>>>>> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/
> >>>>>>>>>>>>> local/
> >>>>>>>>>>>>> lib -
> >>>>>>>>>>>>> L. -L.
> >>>>>>>>>>>>> -lsndfile
> >>>>>>>>>>>>> /usr/bin/ld: can't locate framework for: -framework
> >>>>>>>>>>>>> CsoundLib
> >>>>>>>>>>>>> collect2: ld returned 1 exit status
> >>>>>>>>>>>>> scons: *** [csladspa.so] Error 1
> >>>>>>>>>>>>> scons: building terminated because of errors.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Best
> >>>>>>>>>>>>> Peiman
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> peiman wrote:
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Hi Victor,
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> I've installed portaudio v.19 dylib and rebuilt csound
> >>>>>>>>>>>>>> with
> >>>>>>>>>>>>>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the
> >>>>>>>>>>>>>> command
> >>>>>>>>>>>>>> export
> >>>>>>>>>>>>>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the
> >>>>>>>>>>>>>> source
> >>>>>>>>>>>>>> directory
> >>>>>>>>>>>>>> (which is where the build rests at the moment) and type
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>                         ./csound -otest ./tests/test1.csd
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> the csd runs succesfully in realtime giving me no errors,
> >>>>>>>>>>>>>> whether
> >>>>>>>>>>>>>> its
> >>>>>>>>>>>>>> working as double or float I don't know though, is
> >>>>>>>>>>>>>> there a
> >>>>>>>>>>>>>> way to
> >>>>>>>>>>>>>> find
> >>>>>>>>>>>>>> out?
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> So I still need to install the files in the right
> >>>>>>>>>>>>>> locations I
> >>>>>>>>>>>>>> guess.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Best
> >>>>>>>>>>>>>> Peiman
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Victor Lazzarini wrote:
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Do you mean portaudio v.19 dylib or the csound module
> >>>>>>>>>>>>>>> librtpa.dylib?
> >>>>>>>>>>>>>>> The latter should go in the plugins dir with the rest
> >>>>>>>>>>>>>>> of the
> >>>>>>>>>>>>>>> modules,
> >>>>>>>>>>>>>>> the portaudio lib should be installed with its own
> >>>>>>>>>>>>>>> script
> >>>>>>>>>>>>>>> (generally
> >>>>>>>>>>>>>>> it ends up in /usr/local/lib.)
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Victor
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> At 12:13 13/08/2008, you wrote:
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> OK so I went ahead and decided to test the build from
> >>>>>>>>>>>>>>>> inside
> >>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>> directory.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> I wrote:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> ./csound ./tests/test1.csd
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> No problems...
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> But realtime (./csound -odac ./tests/test1.csd) doesn't
> >>>>>>>>>>>>>>>> work. I
> >>>>>>>>>>>>>>>> get
> >>>>>>>>>>>>>>>> these
> >>>>>>>>>>>>>>>> errors:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> #######################################################
> >>>>>>>>>>>>>>>> ##
> >>>>>>>>>>>>>>>> ##
> >>>>>>>>>>>>>>>> ##
> >>>>>>>>>>>>>>>> ##
> >>>>>>>>>>>>>>>> #
> >>>>>>>>>>>>>>>>         #              WARNING: OPCODEDIR64 IS NOT
> >>>>>>>>>>>>>>>> SET !
> >>>>>>>>>>>>>>>> #
> >>>>>>>>>>>>>>>>         # Csound requires this environment variable to
> >>>>>>>>>>>>>>>> be set
> >>>>>>>>>>>>>>>> to find
> >>>>>>>>>>>>>>>> #
> >>>>>>>>>>>>>>>>         # its plugin libraries. If it is not set,
> >>>>>>>>>>>>>>>> you may
> >>>>>>>>>>>>>>>> experience
> >>>>>>>>>>>>>>>> #
> >>>>>>>>>>>>>>>>         # missing opcodes, audio/MIDI drivers, or
> >>>>>>>>>>>>>>>> utilities.
> >>>>>>>>>>>>>>>> #
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> #######################################################
> >>>>>>>>>>>>>>>> ##
> >>>>>>>>>>>>>>>> ##
> >>>>>>>>>>>>>>>> ##
> >>>>>>>>>>>>>>>> ##
> >>>>>>>>>>>>>>>> #
> >>>>>>>>>>>>>>>>  *** error: unknown rtaudio module: 'PortAudio'
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Now this makes sense to me because I didn't install
> >>>>>>>>>>>>>>>> PortAudio.
> >>>>>>>>>>>>>>>> I build
> >>>>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>> but their readme file said not to install it. Then I
> >>>>>>>>>>>>>>>> wasn't
> >>>>>>>>>>>>>>>> sure where
> >>>>>>>>>>>>>>>> to
> >>>>>>>>>>>>>>>> put it.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> In csound's custom.py it says:
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>     # If you want real-time audio you need PortAudio.
> >>>>>>>>>>>>>>>>     # If it is not in a standard location add it here
> >>>>>>>>>>>>>>>>     # (of course you must build it first):
> >>>>>>>>>>>>>>>>     #customCPPPATH.append('D:/utah/opt/portaudio_varga/
> >>>>>>>>>>>>>>>> include')
> >>>>>>>>>>>>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> So where is the normal place for PortAudio to live? Or
> >>>>>>>>>>>>>>>> should I
> >>>>>>>>>>>>>>>> just
> >>>>>>>>>>>>>>>> call
> >>>>>>>>>>>>>>>> "install" from within the PortAudio source directory,
> >>>>>>>>>>>>>>>> despite
> >>>>>>>>>>>>>>>> the readme
> >>>>>>>>>>>>>>>> file specifically saying not to?
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Then to have real-time do I need to specify a variable
> >>>>>>>>>>>>>>>> for
> >>>>>>>>>>>>>>>> scons or is
> >>>>>>>>>>>>>>>> it
> >>>>>>>>>>>>>>>> enabled by default?
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Then of course it is the question of setting
> >>>>>>>>>>>>>>>> OPCODEDIR64 is
> >>>>>>>>>>>>>>>> this just a
> >>>>>>>>>>>>>>>> normal environmental variable set in .bash_profile?
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Sorry about all these questions!!
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Best
> >>>>>>>>>>>>>>>> Peiman
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> peiman wrote:
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> As Victor suggested I'm moving the discussion into
> >>>>>>>>>>>>>>>>> csound-
> >>>>>>>>>>>>>>>>> Dev
> >>>>>>>>>>>>>>>>> list.
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> So I've gone as far as building csound with the only
> >>>>>>>>>>>>>>>>> extra
> >>>>>>>>>>>>>>>>> option of
> >>>>>>>>>>>>>>>>> useDouble=1 (I didn't bother with FLTK). So now I
> >>>>>>>>>>>>>>>>> need to
> >>>>>>>>>>>>>>>>> make
> >>>>>>>>>>>>>>>>> the
> >>>>>>>>>>>>>>>>> installer.
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Thanks Victor, your script would be much
> >>>>>>>>>>>>>>>>> appreciated :-)
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Best
> >>>>>>>>>>>>>>>>> Peiman
> >>>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>> View this message in context:
> >>>>>>>>>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
> >>>>>>>>>>>>>>>> continued....-tp18960495p18961102.html
> >>>>>>>>>>>>>>>> Sent from the Csound - Dev mailing list archive at
> >>>>>>>>>>>>>>>> Nabble.com.
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> -------------------------------------------------------
> >>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>>> ---
> >>>>>>>>>>>>>>>> -------
> >>>>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>>>>>>>>>>>> Developer's
> >>>>>>>>>>>>> challenge
> >>>>>>>>>>>>>>>> Build the coolest Linux based applications with Moblin
> >>>>>>>>>>>>>>>> SDK &
> >>>>>>>>>>>>>>>> win great
> >>>>>>>>>>>>> prizes
> >>>>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
> >>>>>>>>>>>>>>>> anywhere
> >>>>>>>>>>>>>>>> in the
> >>>>>>>>>>>>> world
> >>>>>>>>>>>>>>>> http://moblin-contest.org/redirect.php?
> >>>>>>>>>>>>>>>> banner_id=100&url=/
> >>>>>>>>>>>>>>>> _______________________________________________
> >>>>>>>>>>>>>>>> Csound-devel mailing list
> >>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-
> >>>>>>>>>>>>>>>> devel
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Victor Lazzarini
> >>>>>>>>>>>>>>> Music Technology Laboratory
> >>>>>>>>>>>>>>> Music Department
> >>>>>>>>>>>>>>> National University of Ireland, Maynooth
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> --------------------------------------------------------
> >>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>> ---
> >>>>>>>>>>>>>>> ------
> >>>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>>>>>>>>>>> Developer's
> >>>>>>>>>>>>>>> challenge
> >>>>>>>>>>>>>>> Build the coolest Linux based applications with
> >>>>>>>>>>>>>>> Moblin SDK
> >>>>>>>>>>>>>>> & win
> >>>>>>>>>>>>>>> great
> >>>>>>>>>>>>>>> prizes
> >>>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
> >>>>>>>>>>>>>>> anywhere
> >>>>>>>>>>>>>>> in the
> >>>>>>>>>>>>>>> world
> >>>>>>>>>>>>>>> http://moblin-contest.org/redirect.php?
> >>>>>>>>>>>>>>> banner_id=100&url=/
> >>>>>>>>>>>>>>> _______________________________________________
> >>>>>>>>>>>>>>> Csound-devel mailing list
> >>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-
> >>>>>>>>>>>>>>> devel
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> --
> >>>>>>>>>>>>> View this message in context:
> >>>>>>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
> >>>>>>>>>>>>> continued....-
> >>>>>>>>>>>>> tp18960495p18972247.html
> >>>>>>>>>>>>> Sent from the Csound - Dev mailing list archive at
> >>>>>>>>>>>>> Nabble.com.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ----------------------------------------------------------
> >>>>>>>>>>>>> --
> >>>>>>>>>>>>> --
> >>>>>>>>>>>>> --
> >>>>>>>>>>>>> --
> >>>>>>>>>>>>> ---
> >>>>>>>>>>>>> ----
> >>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>>>>>>>>> Developer's
> >>>>>>>>>>>>> challenge
> >>>>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK
> >>>>>>>>>>>>> & win
> >>>>>>>>>>>>> great
> >>>>>>>>>>>>> prizes
> >>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
> >>>>>>>>>>>>> anywhere
> >>>>>>>>>>>>> in the
> >>>>>>>>>>>>> world
> >>>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>>>>>>>>>> _______________________________________________
> >>>>>>>>>>>>> Csound-devel mailing list
> >>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> -----------------------------------------------------------
> >>>>>>>>>>>> --
> >>>>>>>>>>>> --
> >>>>>>>>>>>> --
> >>>>>>>>>>>> --
> >>>>>>>>>>>> ---
> >>>>>>>>>>>> ---
> >>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>>>>>>>> Developer's
> >>>>>>>>>>>> challenge
> >>>>>>>>>>>> Build the coolest Linux based applications with Moblin
> >>>>>>>>>>>> SDK &
> >>>>>>>>>>>> win
> >>>>>>>>>>>> great prizes
> >>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
> >>>>>>>>>>>> anywhere in
> >>>>>>>>>>>> the world
> >>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>>>>>>>>> _______________________________________________
> >>>>>>>>>>>> Csound-devel mailing list
> >>>>>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ------------------------------------------------------------
> >>>>>>>>>>> --
> >>>>>>>>>>> --
> >>>>>>>>>>> --
> >>>>>>>>>>> --
> >>>>>>>>>>> -----
> >>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>>>>>>> Developer's
> >>>>>>>>>>> challenge
> >>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK
> >>>>>>>>>>> & win
> >>>>>>>>>>> great
> >>>>>>>>>>> prizes
> >>>>>>>>>>> Grand prize is a trip for two to an Open Source event
> >>>>>>>>>>> anywhere in
> >>>>>>>>>>> the
> >>>>>>>>>>> world
> >>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>>>>>>>> _______________________________________________
> >>>>>>>>>>> Csound-devel mailing list
> >>>>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> --
> >>>>>>>>>> View this message in context: http://www.nabble.com/Building-
> >>>>>>>>>> csound-on-osx%2C-saga-continued....-tp18960495p18974186.html
> >>>>>>>>>> Sent from the Csound - Dev mailing list archive at
> >>>>>>>>>> Nabble.com.
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> -------------------------------------------------------------
> >>>>>>>>>> --
> >>>>>>>>>> --
> >>>>>>>>>> --
> >>>>>>>>>> --
> >>>>>>>>>> ----
> >>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>>>>>> Developer's
> >>>>>>>>>> challenge
> >>>>>>>>>> Build the coolest Linux based applications with Moblin SDK &
> >>>>>>>>>> win
> >>>>>>>>>> great prizes
> >>>>>>>>>> Grand prize is a trip for two to an Open Source event
> >>>>>>>>>> anywhere in
> >>>>>>>>>> the world
> >>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>>>>>>> _______________________________________________
> >>>>>>>>>> Csound-devel mailing list
> >>>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> --------------------------------------------------------------
> >>>>>>>>> --
> >>>>>>>>> --
> >>>>>>>>> --
> >>>>>>>>> --
> >>>>>>>>> ---
> >>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>>>>> Developer's
> >>>>>>>>> challenge
> >>>>>>>>> Build the coolest Linux based applications with Moblin SDK
> >>>>>>>>> & win
> >>>>>>>>> great prizes
> >>>>>>>>> Grand prize is a trip for two to an Open Source event
> >>>>>>>>> anywhere in
> >>>>>>>>> the world
> >>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>>>>>> _______________________________________________
> >>>>>>>>> Csound-devel mailing list
> >>>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> ---------------------------------------------------------------
> >>>>>>>> --
> >>>>>>>> --
> >>>>>>>> --
> >>>>>>>> ----
> >>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>>>> Developer's
> >>>>>>>> challenge
> >>>>>>>> Build the coolest Linux based applications with Moblin SDK &
> >>>>>>>> win
> >>>>>>>> great prizes
> >>>>>>>> Grand prize is a trip for two to an Open Source event
> >>>>>>>> anywhere in
> >>>>>>>> the world
> >>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>>>>> _______________________________________________
> >>>>>>>> Csound-devel mailing list
> >>>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>>
> >>>>>>> Victor Lazzarini
> >>>>>>> Music Technology Laboratory
> >>>>>>> Music Department
> >>>>>>> National University of Ireland, Maynooth
> >>>>>>>
> >>>>>>>
> >>>>>>> ----------------------------------------------------------------
> >>>>>>> --
> >>>>>>> --
> >>>>>>> --
> >>>>>>> ---
> >>>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>>> Developer's
> >>>>>>> challenge
> >>>>>>> Build the coolest Linux based applications with Moblin SDK & win
> >>>>>>> great prizes
> >>>>>>> Grand prize is a trip for two to an Open Source event
> >>>>>>> anywhere in
> >>>>>>> the world
> >>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>>>> _______________________________________________
> >>>>>>> Csound-devel mailing list
> >>>>>>> Csound-devel@lists.sourceforge.net
> >>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>>
> >>>>>>
> >>>>>> -----------------------------------------------------------------
> >>>>>> --
> >>>>>> --
> >>>>>> ----
> >>>>>> This SF.Net email is sponsored by the Moblin Your Move
> >>>>>> Developer's
> >>>>>> challenge
> >>>>>> Build the coolest Linux based applications with Moblin SDK & win
> >>>>>> great prizes
> >>>>>> Grand prize is a trip for two to an Open Source event anywhere in
> >>>>>> the world
> >>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>>> _______________________________________________
> >>>>>> Csound-devel mailing list
> >>>>>> Csound-devel@lists.sourceforge.net
> >>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>
> >>>>> Victor Lazzarini
> >>>>> Music Technology Laboratory
> >>>>> Music Department
> >>>>> National University of Ireland, Maynooth
> >>>>>
> >>>>>
> >>>>> ------------------------------------------------------------------
> >>>>> --
> >>>>> --
> >>>>> ---
> >>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >>>>> challenge
> >>>>> Build the coolest Linux based applications with Moblin SDK & win
> >>>>> great prizes
> >>>>> Grand prize is a trip for two to an Open Source event anywhere in
> >>>>> the world
> >>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>>> _______________________________________________
> >>>>> Csound-devel mailing list
> >>>>> Csound-devel@lists.sourceforge.net
> >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>
> >>>>
> >>>> -------------------------------------------------------------------
> >>>> --
> >>>> ----
> >>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >>>> challenge
> >>>> Build the coolest Linux based applications with Moblin SDK & win
> >>>> great prizes
> >>>> Grand prize is a trip for two to an Open Source event anywhere in
> >>>> the world
> >>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>>> _______________________________________________
> >>>> Csound-devel mailing list
> >>>> Csound-devel@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>
> >>>
> >>> --------------------------------------------------------------------
> >>> --
> >>> ---
> >>> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >>> challenge
> >>> Build the coolest Linux based applications with Moblin SDK & win
> >>> great prizes
> >>> Grand prize is a trip for two to an Open Source event anywhere in
> >>> the world
> >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >>> _______________________________________________
> >>> Csound-devel mailing list
> >>> Csound-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>
> >>
> >> ---------------------------------------------------------------------
> >> ----
> >> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >> challenge
> >> Build the coolest Linux based applications with Moblin SDK & win
> >> great prizes
> >> Grand prize is a trip for two to an Open Source event anywhere in
> >> the world
> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> _______________________________________________
> >> Csound-devel mailing list
> >> Csound-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>
> >
> > ----------------------------------------------------------------------
> > ---
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win
> > great prizes
> > Grand prize is a trip for two to an Open Source event anywhere in
> > the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 


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

Date2008-08-15 12:28
Frompeiman khosravi
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
I knew a miracle will happen! I just tried running the build again,  
with no changes at all, and it's working!! Very strange, so it looks  
like as Steven mentioned try rebuilding until it works...

Best
Peiman

On 15 Aug 2008, at 12:09, Victor Lazzarini wrote:

> Can you delete interfaces/java_interface_wrap.cc
>
> and rebuild?
>
> At 12:02 15/08/2008, you wrote:
>> Hi Steven,
>>
>> I tried rerunning the build several times, both as float and double.
>> But every time csnd.jar looks the same. I also tried rebuilding and
>> reinstalling SWIG but no difference.
>>
>> Thanks for your help
>> Peiman
>>
>>
>> On 15 Aug 2008, at 04:28, Steven Yi wrote:
>>
>>> Hi Peiman,
>>>
>>> Yes, the jar file should a number of .class files.  Without doing a
>>> clean, could you rerun the build and see if the csnd.jar gets  
>>> rebuilt
>>> with class files?
>>>
>>> steven
>>>
>>> On Thu, Aug 14, 2008 at 7:06 PM, peiman khosravi
>>>  wrote:
>>>> Thanks Steven,
>>>>
>>>> I just tried that and this is all I get:
>>>>
>>>>      0 Thu Aug 14 01:39:10 BST 2008 META-INF/
>>>>     70 Thu Aug 14 01:39:10 BST 2008 META-INF/MANIFEST.MF
>>>>      0 Sun Mar 16 11:45:58 GMT 2008 csnd/
>>>>
>>>> I have a feeling it doesn't look right since .class is not  
>>>> mentioned
>>>> anywhere!
>>>>
>>>> Best
>>>> Peiman
>>>>
>>>> On 14 Aug 2008, at 17:59, Steven Yi wrote:
>>>>
>>>>> Hi Peiman,
>>>>>
>>>>> Could you run:
>>>>>
>>>>> jar tvf csnd.jar
>>>>>
>>>>> and see if the jar has a number of .class files inside it.  I
>>>>> remember
>>>>> it used to be that sometimes you had to run the build twice for  
>>>>> Java
>>>>> to get it to build correctly.  Otherwise, I'll look into what's
>>>>> going
>>>>> on with JNI and OSX and see if there's anything in particular that
>>>>> needs to be done with OSX.
>>>>>
>>>>> steven
>>>>>
>>>>> On Thu, Aug 14, 2008 at 6:51 AM, peiman khosravi
>>>>>  wrote:
>>>>>> OK I feel it's getting closer. I found a link there that must  
>>>>>> have
>>>>>> been made by the previous installer. I deleted it and then
>>>>>> copied the
>>>>>> files. But still not working :-(
>>>>>>
>>>>>> Thanks
>>>>>> Peiman
>>>>>>
>>>>>> On 14 Aug 2008, at 14:15, Victor Lazzarini wrote:
>>>>>>
>>>>>>> No I mean JavaVM.framework in /System/Libraries/Frameworks
>>>>>>> see where the jni files are and copy the jni file to it.
>>>>>>> Perhaps do
>>>>>>> the
>>>>>>> same for the jar file.
>>>>>>>
>>>>>>> At 13:50 14/08/2008, you wrote:
>>>>>>>> Do you mean /Library/Frameworks/CsoundLib64.Framework/Versions/
>>>>>>>> 5.1/
>>>>>>>> Resources/java?
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> On 14 Aug 2008, at 13:45, Victor Lazzarini wrote:
>>>>>>>>
>>>>>>>>> I think the files have to go in the Java framework.
>>>>>>>>>
>>>>>>>>> At 13:38 14/08/2008, you wrote:
>>>>>>>>>
>>>>>>>>>> So I have the double build now. In /Library/Frameworks/
>>>>>>>>>> CsoundLib64.Framework/Versions/5.1/Resources/java/ I have  
>>>>>>>>>> only
>>>>>>>>>> two
>>>>>>>>>> files csnd.jar and lib_jcsound.jnilib. I have put
>>>>>>>>>> lib_jcsound.jnilib
>>>>>>>>>> in /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/
>>>>>>>>>> Resources/
>>>>>>>>>> java/. But java api is still not working, is there anyway of
>>>>>>>>>> checking
>>>>>>>>>> the integrity of csnd.jar?
>>>>>>>>>>
>>>>>>>>>> Best
>>>>>>>>>> Peiman
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 14 Aug 2008, at 04:00, Steven Yi wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Peiman,
>>>>>>>>>>>
>>>>>>>>>>> The double version of csnd.jar should be different from the
>>>>>>>>>>> float
>>>>>>>>>>> one.
>>>>>>>>>>>  The method signatures of the java library methods should
>>>>>>>>>>> be for
>>>>>>>>>>> doulbe instead of float, and it will expect to link to a
>>>>>>>>>>> native
>>>>>>>>>>> library that uses doubles.
>>>>>>>>>>>
>>>>>>>>>>> steven
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Aug 13, 2008 at 6:15 PM, peiman
>>>>>>>>>>> 
>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> I had to modify install.py too, basically commenting out  
>>>>>>>>>>>> the
>>>>>>>>>>>> self-
>>>>>>>>>>>> check stage
>>>>>>>>>>>> as it would give an error every-time. Now it seems to
>>>>>>>>>>>> install and
>>>>>>>>>>>> work,
>>>>>>>>>>>> except that the interfaces (e.g. csnd.jar) aren't
>>>>>>>>>>>> installed in
>>>>>>>>>>>> the
>>>>>>>>>>>> right
>>>>>>>>>>>> place or properly, or else they're not build properly.
>>>>>>>>>>>>
>>>>>>>>>>>> Is a double precision build of csnd.jar different from the
>>>>>>>>>>>> float
>>>>>>>>>>>> one?
>>>>>>>>>>>>
>>>>>>>>>>>> An osx installer is really needed as I don't think  
>>>>>>>>>>>> install.py
>>>>>>>>>>>> works properly
>>>>>>>>>>>> on osx.
>>>>>>>>>>>>
>>>>>>>>>>>> Best
>>>>>>>>>>>> Peiman
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> peiman wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> OK found the problem. In SConstruct, line 2278 is:
>>>>>>>>>>>>>
>>>>>>>>>>>>>    csLadspaEnv.Append(LINKFLAGS=Split('''-bundle - 
>>>>>>>>>>>>> undefined
>>>>>>>>>>>>> suppress -
>>>>>>>>>>>>> flat_namespace -framework CsoundLib'''))
>>>>>>>>>>>>>
>>>>>>>>>>>>> Now this is a problem because up to this point 'CsoundLib'
>>>>>>>>>>>>> doesn't
>>>>>>>>>>>>> exists with a Double build. So I've added a conditional:
>>>>>>>>>>>>>
>>>>>>>>>>>>>     if commonEnvironment['useDouble'] == '1':
>>>>>>>>>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -
>>>>>>>>>>>>> undefined
>>>>>>>>>>>>> suppress -flat_namespace -framework CsoundLib64'''))
>>>>>>>>>>>>>     else:
>>>>>>>>>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -
>>>>>>>>>>>>> undefined
>>>>>>>>>>>>> suppress -flat_namespace -framework CsoundLib'''))
>>>>>>>>>>>>>
>>>>>>>>>>>>> It's now building with no errors.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Best
>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 13 Aug 2008, at 23:37, victor wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Because there is a step in SConstruct that copies the
>>>>>>>>>>>>>> framework to
>>>>>>>>>>>>>> the right place so it can continue building. I guess
>>>>>>>>>>>>>> it's not
>>>>>>>>>>>>>> there
>>>>>>>>>>>>>> for 64bit. Try copying it by hand and continuing
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Victor
>>>>>>>>>>>>>> ----- Original Message -----
>>>>>>>>>>>>>> From: "peiman" 
>>>>>>>>>>>>>> To: 
>>>>>>>>>>>>>> Sent: Wednesday, August 13, 2008 11:16 PM
>>>>>>>>>>>>>> Subject: Re: [Cs-dev] Building csound on osx, saga
>>>>>>>>>>>>>> continued....
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Ahhhhh if I knew it's so much trouble!!!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> So I deleted the old CsoundLib.framework from /Library/
>>>>>>>>>>>>>>> Frameworks
>>>>>>>>>>>>>>> do a
>>>>>>>>>>>>>>> clean
>>>>>>>>>>>>>>> uninstall of csound and now csound won't build. It seems
>>>>>>>>>>>>>>> there
>>>>>>>>>>>>>>> must have
>>>>>>>>>>>>>>> been something in that directory that csound was  
>>>>>>>>>>>>>>> trying to
>>>>>>>>>>>>>>> link
>>>>>>>>>>>>>>> to.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> This is the error I get:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> frontends/csladspa/ladspa.h:593: warning: 'visibility'
>>>>>>>>>>>>>>> attribute
>>>>>>>>>>>>>>> ignored
>>>>>>>>>>>>>>> g++ -o csladspa.so -bundle -undefined suppress -
>>>>>>>>>>>>>>> flat_namespace -
>>>>>>>>>>>>>>> framework
>>>>>>>>>>>>>>> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/
>>>>>>>>>>>>>>> local/
>>>>>>>>>>>>>>> lib -
>>>>>>>>>>>>>>> L. -L.
>>>>>>>>>>>>>>> -lsndfile
>>>>>>>>>>>>>>> /usr/bin/ld: can't locate framework for: -framework
>>>>>>>>>>>>>>> CsoundLib
>>>>>>>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>>>>>>>> scons: *** [csladspa.so] Error 1
>>>>>>>>>>>>>>> scons: building terminated because of errors.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Best
>>>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> peiman wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Victor,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I've installed portaudio v.19 dylib and rebuilt csound
>>>>>>>>>>>>>>>> with
>>>>>>>>>>>>>>>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the
>>>>>>>>>>>>>>>> command
>>>>>>>>>>>>>>>> export
>>>>>>>>>>>>>>>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the
>>>>>>>>>>>>>>>> source
>>>>>>>>>>>>>>>> directory
>>>>>>>>>>>>>>>> (which is where the build rests at the moment) and type
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                         ./csound -otest ./tests/ 
>>>>>>>>>>>>>>>> test1.csd
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> the csd runs succesfully in realtime giving me no  
>>>>>>>>>>>>>>>> errors,
>>>>>>>>>>>>>>>> whether
>>>>>>>>>>>>>>>> its
>>>>>>>>>>>>>>>> working as double or float I don't know though, is
>>>>>>>>>>>>>>>> there a
>>>>>>>>>>>>>>>> way to
>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>> out?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> So I still need to install the files in the right
>>>>>>>>>>>>>>>> locations I
>>>>>>>>>>>>>>>> guess.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Best
>>>>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Victor Lazzarini wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Do you mean portaudio v.19 dylib or the csound module
>>>>>>>>>>>>>>>>> librtpa.dylib?
>>>>>>>>>>>>>>>>> The latter should go in the plugins dir with the rest
>>>>>>>>>>>>>>>>> of the
>>>>>>>>>>>>>>>>> modules,
>>>>>>>>>>>>>>>>> the portaudio lib should be installed with its own
>>>>>>>>>>>>>>>>> script
>>>>>>>>>>>>>>>>> (generally
>>>>>>>>>>>>>>>>> it ends up in /usr/local/lib.)
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Victor
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> At 12:13 13/08/2008, you wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> OK so I went ahead and decided to test the build from
>>>>>>>>>>>>>>>>>> inside
>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>> directory.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ./csound ./tests/test1.csd
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> No problems...
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> But realtime (./csound -odac ./tests/test1.csd)  
>>>>>>>>>>>>>>>>>> doesn't
>>>>>>>>>>>>>>>>>> work. I
>>>>>>>>>>>>>>>>>> get
>>>>>>>>>>>>>>>>>> these
>>>>>>>>>>>>>>>>>> errors:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ##################################################### 
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>>>         #              WARNING: OPCODEDIR64 IS NOT
>>>>>>>>>>>>>>>>>> SET !
>>>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>>>         # Csound requires this environment  
>>>>>>>>>>>>>>>>>> variable to
>>>>>>>>>>>>>>>>>> be set
>>>>>>>>>>>>>>>>>> to find
>>>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>>>         # its plugin libraries. If it is not set,
>>>>>>>>>>>>>>>>>> you may
>>>>>>>>>>>>>>>>>> experience
>>>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>>>         # missing opcodes, audio/MIDI drivers, or
>>>>>>>>>>>>>>>>>> utilities.
>>>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ##################################################### 
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>>>  *** error: unknown rtaudio module: 'PortAudio'
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Now this makes sense to me because I didn't install
>>>>>>>>>>>>>>>>>> PortAudio.
>>>>>>>>>>>>>>>>>> I build
>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>> but their readme file said not to install it. Then I
>>>>>>>>>>>>>>>>>> wasn't
>>>>>>>>>>>>>>>>>> sure where
>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>> put it.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> In csound's custom.py it says:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>     # If you want real-time audio you need PortAudio.
>>>>>>>>>>>>>>>>>>     # If it is not in a standard location add it here
>>>>>>>>>>>>>>>>>>     # (of course you must build it first):
>>>>>>>>>>>>>>>>>>     #customCPPPATH.append('D:/utah/opt/ 
>>>>>>>>>>>>>>>>>> portaudio_varga/
>>>>>>>>>>>>>>>>>> include')
>>>>>>>>>>>>>>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> So where is the normal place for PortAudio to  
>>>>>>>>>>>>>>>>>> live? Or
>>>>>>>>>>>>>>>>>> should I
>>>>>>>>>>>>>>>>>> just
>>>>>>>>>>>>>>>>>> call
>>>>>>>>>>>>>>>>>> "install" from within the PortAudio source directory,
>>>>>>>>>>>>>>>>>> despite
>>>>>>>>>>>>>>>>>> the readme
>>>>>>>>>>>>>>>>>> file specifically saying not to?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Then to have real-time do I need to specify a  
>>>>>>>>>>>>>>>>>> variable
>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>> scons or is
>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>> enabled by default?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Then of course it is the question of setting
>>>>>>>>>>>>>>>>>> OPCODEDIR64 is
>>>>>>>>>>>>>>>>>> this just a
>>>>>>>>>>>>>>>>>> normal environmental variable set in .bash_profile?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Sorry about all these questions!!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Best
>>>>>>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> peiman wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> As Victor suggested I'm moving the discussion into
>>>>>>>>>>>>>>>>>>> csound-
>>>>>>>>>>>>>>>>>>> Dev
>>>>>>>>>>>>>>>>>>> list.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> So I've gone as far as building csound with the only
>>>>>>>>>>>>>>>>>>> extra
>>>>>>>>>>>>>>>>>>> option of
>>>>>>>>>>>>>>>>>>> useDouble=1 (I didn't bother with FLTK). So now I
>>>>>>>>>>>>>>>>>>> need to
>>>>>>>>>>>>>>>>>>> make
>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>> installer.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thanks Victor, your script would be much
>>>>>>>>>>>>>>>>>>> appreciated :-)
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Best
>>>>>>>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>>>>>>>>>>>> continued....-tp18960495p18961102.html
>>>>>>>>>>>>>>>>>> Sent from the Csound - Dev mailing list archive at
>>>>>>>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ----------------------------------------------------- 
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>>>>>> -------
>>>>>>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your  
>>>>>>>>>>>>>>>>>> Move
>>>>>>>>>>>>>>>>>> Developer's
>>>>>>>>>>>>>>> challenge
>>>>>>>>>>>>>>>>>> Build the coolest Linux based applications with  
>>>>>>>>>>>>>>>>>> Moblin
>>>>>>>>>>>>>>>>>> SDK &
>>>>>>>>>>>>>>>>>> win great
>>>>>>>>>>>>>>> prizes
>>>>>>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>>>>>> anywhere
>>>>>>>>>>>>>>>>>> in the
>>>>>>>>>>>>>>> world
>>>>>>>>>>>>>>>>>> http://moblin-contest.org/redirect.php?
>>>>>>>>>>>>>>>>>> banner_id=100&url=/
>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-
>>>>>>>>>>>>>>>>>> devel
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Victor Lazzarini
>>>>>>>>>>>>>>>>> Music Technology Laboratory
>>>>>>>>>>>>>>>>> Music Department
>>>>>>>>>>>>>>>>> National University of Ireland, Maynooth
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ------------------------------------------------------ 
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>>>>> ------
>>>>>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>>>>> Developer's
>>>>>>>>>>>>>>>>> challenge
>>>>>>>>>>>>>>>>> Build the coolest Linux based applications with
>>>>>>>>>>>>>>>>> Moblin SDK
>>>>>>>>>>>>>>>>> & win
>>>>>>>>>>>>>>>>> great
>>>>>>>>>>>>>>>>> prizes
>>>>>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>>>>> anywhere
>>>>>>>>>>>>>>>>> in the
>>>>>>>>>>>>>>>>> world
>>>>>>>>>>>>>>>>> http://moblin-contest.org/redirect.php?
>>>>>>>>>>>>>>>>> banner_id=100&url=/
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-
>>>>>>>>>>>>>>>>> devel
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>>>>>>>>> continued....-
>>>>>>>>>>>>>>> tp18960495p18972247.html
>>>>>>>>>>>>>>> Sent from the Csound - Dev mailing list archive at
>>>>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> -------------------------------------------------------- 
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>>> ----
>>>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>>> Developer's
>>>>>>>>>>>>>>> challenge
>>>>>>>>>>>>>>> Build the coolest Linux based applications with  
>>>>>>>>>>>>>>> Moblin SDK
>>>>>>>>>>>>>>> & win
>>>>>>>>>>>>>>> great
>>>>>>>>>>>>>>> prizes
>>>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>>> anywhere
>>>>>>>>>>>>>>> in the
>>>>>>>>>>>>>>> world
>>>>>>>>>>>>>>> http://moblin-contest.org/redirect.php? 
>>>>>>>>>>>>>>> banner_id=100&url=/
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound- 
>>>>>>>>>>>>>>> devel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --------------------------------------------------------- 
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>> Developer's
>>>>>>>>>>>>>> challenge
>>>>>>>>>>>>>> Build the coolest Linux based applications with Moblin
>>>>>>>>>>>>>> SDK &
>>>>>>>>>>>>>> win
>>>>>>>>>>>>>> great prizes
>>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>> anywhere in
>>>>>>>>>>>>>> the world
>>>>>>>>>>>>>> http://moblin-contest.org/redirect.php? 
>>>>>>>>>>>>>> banner_id=100&url=/
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ---------------------------------------------------------- 
>>>>>>>>>>>>> --
>>>>>>>>>>>>> --
>>>>>>>>>>>>> --
>>>>>>>>>>>>> --
>>>>>>>>>>>>> --
>>>>>>>>>>>>> -----
>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>> Developer's
>>>>>>>>>>>>> challenge
>>>>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK
>>>>>>>>>>>>> & win
>>>>>>>>>>>>> great
>>>>>>>>>>>>> prizes
>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>> anywhere in
>>>>>>>>>>>>> the
>>>>>>>>>>>>> world
>>>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> View this message in context: http://www.nabble.com/ 
>>>>>>>>>>>> Building-
>>>>>>>>>>>> csound-on-osx%2C-saga-continued....- 
>>>>>>>>>>>> tp18960495p18974186.html
>>>>>>>>>>>> Sent from the Csound - Dev mailing list archive at
>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ----------------------------------------------------------- 
>>>>>>>>>>>> --
>>>>>>>>>>>> --
>>>>>>>>>>>> --
>>>>>>>>>>>> --
>>>>>>>>>>>> --
>>>>>>>>>>>> ----
>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>> Developer's
>>>>>>>>>>>> challenge
>>>>>>>>>>>> Build the coolest Linux based applications with Moblin  
>>>>>>>>>>>> SDK &
>>>>>>>>>>>> win
>>>>>>>>>>>> great prizes
>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>> anywhere in
>>>>>>>>>>>> the world
>>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------ 
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> ---
>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>> Developer's
>>>>>>>>>>> challenge
>>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK
>>>>>>>>>>> & win
>>>>>>>>>>> great prizes
>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>> anywhere in
>>>>>>>>>>> the world
>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------- 
>>>>>>>>>> --
>>>>>>>>>> --
>>>>>>>>>> --
>>>>>>>>>> --
>>>>>>>>>> ----
>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>> Developer's
>>>>>>>>>> challenge
>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK &
>>>>>>>>>> win
>>>>>>>>>> great prizes
>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>> anywhere in
>>>>>>>>>> the world
>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>> Victor Lazzarini
>>>>>>>>> Music Technology Laboratory
>>>>>>>>> Music Department
>>>>>>>>> National University of Ireland, Maynooth
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -------------------------------------------------------------- 
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> ---
>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>> Developer's
>>>>>>>>> challenge
>>>>>>>>> Build the coolest Linux based applications with Moblin SDK  
>>>>>>>>> & win
>>>>>>>>> great prizes
>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>> anywhere in
>>>>>>>>> the world
>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>> --------------------------------------------------------------- 
>>>>>>>> --
>>>>>>>> --
>>>>>>>> --
>>>>>>>> ----
>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>> Developer's
>>>>>>>> challenge
>>>>>>>> Build the coolest Linux based applications with Moblin SDK &  
>>>>>>>> win
>>>>>>>> great prizes
>>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>>> anywhere in
>>>>>>>> the world
>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Victor Lazzarini
>>>>>>> Music Technology Laboratory
>>>>>>> Music Department
>>>>>>> National University of Ireland, Maynooth
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------- 
>>>>>>> --
>>>>>>> --
>>>>>>> --
>>>>>>> ---
>>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>>> Developer's
>>>>>>> challenge
>>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>>> great prizes
>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>> anywhere in
>>>>>>> the world
>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>> ----------------------------------------------------------------- 
>>>>>> --
>>>>>> --
>>>>>> ----
>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>> Developer's
>>>>>> challenge
>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>> great prizes
>>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>>>> the world
>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------ 
>>>>> --
>>>>> --
>>>>> ---
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>> great prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>>> the world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> --
>>>> ----
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>> great prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>> the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> -------------------------------------------------------------------- 
>>> --
>>> ---
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
>>> great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in
>>> the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


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

Date2008-08-15 12:39
Frompeiman khosravi
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
AttachmentsNone  None  
A big thank to everyone that help me (a newbie builder) get through this. It's now all working and I couldn't be happier!

I'm writing a little document with a list of all the procedures I went through, I'll post it here soon.

Best
Peiman

On 15 Aug 2008, at 12:09, Victor Lazzarini wrote:

Can you delete interfaces/java_interface_wrap.cc

and rebuild?

At 12:02 15/08/2008, you wrote:
Hi Steven,

I tried rerunning the build several times, both as float and double.
But every time csnd.jar looks the same. I also tried rebuilding and
reinstalling SWIG but no difference.

Thanks for your help
Peiman


On 15 Aug 2008, at 04:28, Steven Yi wrote:

Hi Peiman,

Yes, the jar file should a number of .class files.  Without doing a
clean, could you rerun the build and see if the csnd.jar gets rebuilt
with class files?

steven

On Thu, Aug 14, 2008 at 7:06 PM, peiman khosravi
Thanks Steven,

I just tried that and this is all I get:

     0 Thu Aug 14 01:39:10 BST 2008 META-INF/
    70 Thu Aug 14 01:39:10 BST 2008 META-INF/MANIFEST.MF
     0 Sun Mar 16 11:45:58 GMT 2008 csnd/

I have a feeling it doesn't look right since .class is not mentioned
anywhere!

Best
Peiman

On 14 Aug 2008, at 17:59, Steven Yi wrote:

Hi Peiman,

Could you run:

jar tvf csnd.jar

and see if the jar has a number of .class files inside it.  I
remember
it used to be that sometimes you had to run the build twice for Java
to get it to build correctly.  Otherwise, I'll look into what's
going
on with JNI and OSX and see if there's anything in particular that
needs to be done with OSX.

steven

On Thu, Aug 14, 2008 at 6:51 AM, peiman khosravi
OK I feel it's getting closer. I found a link there that must have
been made by the previous installer. I deleted it and then
copied the
files. But still not working :-(

Thanks
Peiman

On 14 Aug 2008, at 14:15, Victor Lazzarini wrote:

No I mean JavaVM.framework in /System/Libraries/Frameworks
see where the jni files are and copy the jni file to it.
Perhaps do
the
same for the jar file.

At 13:50 14/08/2008, you wrote:
Do you mean /Library/Frameworks/CsoundLib64.Framework/Versions/
5.1/
Resources/java?

Thanks
On 14 Aug 2008, at 13:45, Victor Lazzarini wrote:

I think the files have to go in the Java framework.

At 13:38 14/08/2008, you wrote:

So I have the double build now. In /Library/Frameworks/
CsoundLib64.Framework/Versions/5.1/Resources/java/ I have only
two
files csnd.jar and lib_jcsound.jnilib. I have put
lib_jcsound.jnilib
in /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/
Resources/
java/. But java api is still not working, is there anyway of
checking
the integrity of csnd.jar?

Best
Peiman


On 14 Aug 2008, at 04:00, Steven Yi wrote:

Hi Peiman,

The double version of csnd.jar should be different from the
float
one.
 The method signatures of the java library methods should
be for
doulbe instead of float, and it will expect to link to a
native
library that uses doubles.

steven

On Wed, Aug 13, 2008 at 6:15 PM, peiman
wrote:

I had to modify install.py too, basically commenting out the
self-
check stage
as it would give an error every-time. Now it seems to
install and
work,
except that the interfaces (e.g. csnd.jar) aren't
installed in
the
right
place or properly, or else they're not build properly.

Is a double precision build of csnd.jar different from the
float
one?

An osx installer is really needed as I don't think install.py
works properly
on osx.

Best
Peiman


peiman wrote:

OK found the problem. In SConstruct, line 2278 is:

   csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
suppress -
flat_namespace -framework CsoundLib'''))

Now this is a problem because up to this point 'CsoundLib'
doesn't
exists with a Double build. So I've added a conditional:

    if commonEnvironment['useDouble'] == '1':
      csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -
undefined
suppress -flat_namespace -framework CsoundLib64'''))
    else:
      csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -
undefined
suppress -flat_namespace -framework CsoundLib'''))

It's now building with no errors.

Best
Peiman


On 13 Aug 2008, at 23:37, victor wrote:

Because there is a step in SConstruct that copies the
framework to
the right place so it can continue building. I guess
it's not
there
for 64bit. Try copying it by hand and continuing

Victor
----- Original Message -----
From: "peiman" <peimankhosravi@gmail.com>
Sent: Wednesday, August 13, 2008 11:16 PM
Subject: Re: [Cs-dev] Building csound on osx, saga
continued....



Ahhhhh if I knew it's so much trouble!!!

So I deleted the old CsoundLib.framework from /Library/
Frameworks
do a
clean
uninstall of csound and now csound won't build. It seems
there
must have
been something in that directory that csound was trying to
link
to.

This is the error I get:

frontends/csladspa/ladspa.h:593: warning: 'visibility'
attribute
ignored
g++ -o csladspa.so -bundle -undefined suppress -
flat_namespace -
framework
CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/
local/
lib -
L. -L.
-lsndfile
/usr/bin/ld: can't locate framework for: -framework
CsoundLib
collect2: ld returned 1 exit status
scons: *** [csladspa.so] Error 1
scons: building terminated because of errors.

Best
Peiman


peiman wrote:

Hi Victor,

I've installed portaudio v.19 dylib and rebuilt csound
with
dynamicCsoundLibrary=1 and useDouble=1. Also ran the
command
export
OPCODEDIR64=/my/opcode/dir. Now when I go inside the
source
directory
(which is where the build rests at the moment) and type

                        ./csound -otest ./tests/test1.csd

the csd runs succesfully in realtime giving me no errors,
whether
its
working as double or float I don't know though, is
there a
way to
find
out?

So I still need to install the files in the right
locations I
guess.

Best
Peiman





Victor Lazzarini wrote:

Do you mean portaudio v.19 dylib or the csound module
librtpa.dylib?
The latter should go in the plugins dir with the rest
of the
modules,
the portaudio lib should be installed with its own
script
(generally
it ends up in /usr/local/lib.)

Victor

At 12:13 13/08/2008, you wrote:

OK so I went ahead and decided to test the build from
inside
the
directory.

I wrote:

./csound ./tests/test1.csd

No problems...

But realtime (./csound -odac ./tests/test1.csd) doesn't
work. I
get
these
errors:


#######################################################
##
##
##
##
#
        #              WARNING: OPCODEDIR64 IS NOT
SET !
#
        # Csound requires this environment variable to
be set
to find
#
        # its plugin libraries. If it is not set,
you may
experience
#
        # missing opcodes, audio/MIDI drivers, or
utilities.
#

#######################################################
##
##
##
##
#
 *** error: unknown rtaudio module: 'PortAudio'


Now this makes sense to me because I didn't install
PortAudio.
I build
it
but their readme file said not to install it. Then I
wasn't
sure where
to
put it.

In csound's custom.py it says:

    # If you want real-time audio you need PortAudio.
    # If it is not in a standard location add it here
    # (of course you must build it first):
    #customCPPPATH.append('D:/utah/opt/portaudio_varga/
include')
    #customLIBPATH.append('D:/utah/opt/lazzarini')

So where is the normal place for PortAudio to live? Or
should I
just
call
"install" from within the PortAudio source directory,
despite
the readme
file specifically saying not to?

Then to have real-time do I need to specify a variable
for
scons or is
it
enabled by default?

Then of course it is the question of setting
OPCODEDIR64 is
this just a
normal environmental variable set in .bash_profile?

Sorry about all these questions!!

Best
Peiman




peiman wrote:

As Victor suggested I'm moving the discussion into
csound-
Dev
list.

So I've gone as far as building csound with the only
extra
option of
useDouble=1 (I didn't bother with FLTK). So now I
need to
make
the
installer.

Thanks Victor, your script would be much
appreciated :-)

Best
Peiman


--
View this message in context:
continued....-tp18960495p18961102.html
Sent from the Csound - Dev mailing list archive at
Nabble.com.


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

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth


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





--
View this message in context:
continued....-
tp18960495p18972247.html
Sent from the Csound - Dev mailing list archive at
Nabble.com.


----------------------------------------------------------
--
--
--
--
---
----
This SF.Net email is sponsored by the Moblin Your Move
Developer's
challenge
Build the coolest Linux based applications with Moblin SDK
& win
great
prizes
Grand prize is a trip for two to an Open Source event
anywhere
in the
world
_______________________________________________
Csound-devel mailing list


-----------------------------------------------------------
--
--
--
--
---
---
This SF.Net email is sponsored by the Moblin Your Move
Developer's
challenge
Build the coolest Linux based applications with Moblin
SDK &
win
great prizes
Grand prize is a trip for two to an Open Source event
anywhere in
the world
_______________________________________________
Csound-devel mailing list


------------------------------------------------------------
--
--
--
--
-----
This SF.Net email is sponsored by the Moblin Your Move
Developer's
challenge
Build the coolest Linux based applications with Moblin SDK
& win
great
prizes
Grand prize is a trip for two to an Open Source event
anywhere in
the
world
_______________________________________________
Csound-devel mailing list



--
View this message in context: http://www.nabble.com/Building-
csound-on-osx%2C-saga-continued....-tp18960495p18974186.html
Sent from the Csound - Dev mailing list archive at
Nabble.com.


-------------------------------------------------------------
--
--
--
--
----
This SF.Net email is sponsored by the Moblin Your Move
Developer's
challenge
Build the coolest Linux based applications with Moblin SDK &
win
great prizes
Grand prize is a trip for two to an Open Source event
anywhere in
the world
_______________________________________________
Csound-devel mailing list


--------------------------------------------------------------
--
--
--
--
---
This SF.Net email is sponsored by the Moblin Your Move
Developer's
challenge
Build the coolest Linux based applications with Moblin SDK
& win
great prizes
Grand prize is a trip for two to an Open Source event
anywhere in
the world
_______________________________________________
Csound-devel mailing list


---------------------------------------------------------------
--
--
--
----
This SF.Net email is sponsored by the Moblin Your Move
Developer's
challenge
Build the coolest Linux based applications with Moblin SDK &
win
great prizes
Grand prize is a trip for two to an Open Source event
anywhere in
the world
_______________________________________________
Csound-devel mailing list

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth


----------------------------------------------------------------
--
--
--
---
This SF.Net email is sponsored by the Moblin Your Move
Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event
anywhere in
the world
_______________________________________________
Csound-devel mailing list


-----------------------------------------------------------------
--
--
----
This SF.Net email is sponsored by the Moblin Your Move
Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
_______________________________________________
Csound-devel mailing list

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth


------------------------------------------------------------------
--
--
---
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
_______________________________________________
Csound-devel mailing list


-------------------------------------------------------------------
--
----
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
_______________________________________________
Csound-devel mailing list


--------------------------------------------------------------------
--
---
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
_______________________________________________
Csound-devel mailing list


---------------------------------------------------------------------
----
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
_______________________________________________
Csound-devel mailing list


----------------------------------------------------------------------
---
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
_______________________________________________
Csound-devel mailing list


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
_______________________________________________
Csound-devel mailing list

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
_______________________________________________
Csound-devel mailing list


Date2008-08-15 12:44
FromVictor Lazzarini
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
Well done. I think you might have deleted that file somehow. It does not get
rebuilt automatically, but there is a cleanup.sh that should delete it.

At 12:39 15/08/2008, you wrote:
>A big thank to everyone that help me (a newbie builder) get through 
>this. It's now all working and I couldn't be happier!
>
>I'm writing a little document with a list of all the procedures I 
>went through, I'll post it here soon.
>
>Best
>Peiman
>
>On 15 Aug 2008, at 12:09, Victor Lazzarini wrote:
>
>>Can you delete interfaces/java_interface_wrap.cc
>>
>>and rebuild?
>>
>>At 12:02 15/08/2008, you wrote:
>>>Hi Steven,
>>>
>>>I tried rerunning the build several times, both as float and double.
>>>But every time csnd.jar looks the same. I also tried rebuilding and
>>>reinstalling SWIG but no difference.
>>>
>>>Thanks for your help
>>>Peiman
>>>
>>>
>>>On 15 Aug 2008, at 04:28, Steven Yi wrote:
>>>
>>>>Hi Peiman,
>>>>
>>>>Yes, the jar file should a number of .class files.  Without doing a
>>>>clean, could you rerun the build and see if the csnd.jar gets rebuilt
>>>>with class files?
>>>>
>>>>steven
>>>>
>>>>On Thu, Aug 14, 2008 at 7:06 PM, peiman khosravi
>>>><peimankhosravi@gmail.com> wrote:
>>>>>Thanks Steven,
>>>>>
>>>>>I just tried that and this is all I get:
>>>>>
>>>>>      0 Thu Aug 14 01:39:10 BST 2008 META-INF/
>>>>>     70 Thu Aug 14 01:39:10 BST 2008 META-INF/MANIFEST.MF
>>>>>      0 Sun Mar 16 11:45:58 GMT 2008 csnd/
>>>>>
>>>>>I have a feeling it doesn't look right since .class is not mentioned
>>>>>anywhere!
>>>>>
>>>>>Best
>>>>>Peiman
>>>>>
>>>>>On 14 Aug 2008, at 17:59, Steven Yi wrote:
>>>>>
>>>>>>Hi Peiman,
>>>>>>
>>>>>>Could you run:
>>>>>>
>>>>>>jar tvf csnd.jar
>>>>>>
>>>>>>and see if the jar has a number of .class files inside it.  I
>>>>>>remember
>>>>>>it used to be that sometimes you had to run the build twice for Java
>>>>>>to get it to build correctly.  Otherwise, I'll look into what's
>>>>>>going
>>>>>>on with JNI and OSX and see if there's anything in particular that
>>>>>>needs to be done with OSX.
>>>>>>
>>>>>>steven
>>>>>>
>>>>>>On Thu, Aug 14, 2008 at 6:51 AM, peiman khosravi
>>>>>><peimankhosravi@gmail.com> wrote:
>>>>>>>OK I feel it's getting closer. I found a link there that must have
>>>>>>>been made by the previous installer. I deleted it and then
>>>>>>>copied the
>>>>>>>files. But still not working :-(
>>>>>>>
>>>>>>>Thanks
>>>>>>>Peiman
>>>>>>>
>>>>>>>On 14 Aug 2008, at 14:15, Victor Lazzarini wrote:
>>>>>>>
>>>>>>>>No I mean JavaVM.framework in /System/Libraries/Frameworks
>>>>>>>>see where the jni files are and copy the jni file to it.
>>>>>>>>Perhaps do
>>>>>>>>the
>>>>>>>>same for the jar file.
>>>>>>>>
>>>>>>>>At 13:50 14/08/2008, you wrote:
>>>>>>>>>Do you mean /Library/Frameworks/CsoundLib64.Framework/Versions/
>>>>>>>>>5.1/
>>>>>>>>>Resources/java?
>>>>>>>>>
>>>>>>>>>Thanks
>>>>>>>>>On 14 Aug 2008, at 13:45, Victor Lazzarini wrote:
>>>>>>>>>
>>>>>>>>>>I think the files have to go in the Java framework.
>>>>>>>>>>
>>>>>>>>>>At 13:38 14/08/2008, you wrote:
>>>>>>>>>>
>>>>>>>>>>>So I have the double build now. In /Library/Frameworks/
>>>>>>>>>>>CsoundLib64.Framework/Versions/5.1/Resources/java/ I have only
>>>>>>>>>>>two
>>>>>>>>>>>files csnd.jar and lib_jcsound.jnilib. I have put
>>>>>>>>>>>lib_jcsound.jnilib
>>>>>>>>>>>in /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/
>>>>>>>>>>>Resources/
>>>>>>>>>>>java/. But java api is still not working, is there anyway of
>>>>>>>>>>>checking
>>>>>>>>>>>the integrity of csnd.jar?
>>>>>>>>>>>
>>>>>>>>>>>Best
>>>>>>>>>>>Peiman
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>On 14 Aug 2008, at 04:00, Steven Yi wrote:
>>>>>>>>>>>
>>>>>>>>>>>>Hi Peiman,
>>>>>>>>>>>>
>>>>>>>>>>>>The double version of csnd.jar should be different from the
>>>>>>>>>>>>float
>>>>>>>>>>>>one.
>>>>>>>>>>>>  The method signatures of the java library methods should
>>>>>>>>>>>>be for
>>>>>>>>>>>>doulbe instead of float, and it will expect to link to a
>>>>>>>>>>>>native
>>>>>>>>>>>>library that uses doubles.
>>>>>>>>>>>>
>>>>>>>>>>>>steven
>>>>>>>>>>>>
>>>>>>>>>>>>On Wed, Aug 13, 2008 at 6:15 PM, peiman
>>>>>>>>>>>><peimankhosravi@gmail.com>
>>>>>>>>>>>>wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>I had to modify install.py too, basically commenting out the
>>>>>>>>>>>>>self-
>>>>>>>>>>>>>check stage
>>>>>>>>>>>>>as it would give an error every-time. Now it seems to
>>>>>>>>>>>>>install and
>>>>>>>>>>>>>work,
>>>>>>>>>>>>>except that the interfaces (e.g. csnd.jar) aren't
>>>>>>>>>>>>>installed in
>>>>>>>>>>>>>the
>>>>>>>>>>>>>right
>>>>>>>>>>>>>place or properly, or else they're not build properly.
>>>>>>>>>>>>>
>>>>>>>>>>>>>Is a double precision build of csnd.jar different from the
>>>>>>>>>>>>>float
>>>>>>>>>>>>>one?
>>>>>>>>>>>>>
>>>>>>>>>>>>>An osx installer is really needed as I don't think install.py
>>>>>>>>>>>>>works properly
>>>>>>>>>>>>>on osx.
>>>>>>>>>>>>>
>>>>>>>>>>>>>Best
>>>>>>>>>>>>>Peiman
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>peiman wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>OK found the problem. In SConstruct, line 2278 is:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>    csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -undefined
>>>>>>>>>>>>>>suppress -
>>>>>>>>>>>>>>flat_namespace -framework CsoundLib'''))
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>Now this is a problem because up to this point 'CsoundLib'
>>>>>>>>>>>>>>doesn't
>>>>>>>>>>>>>>exists with a Double build. So I've added a conditional:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>     if commonEnvironment['useDouble'] == '1':
>>>>>>>>>>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -
>>>>>>>>>>>>>>undefined
>>>>>>>>>>>>>>suppress -flat_namespace -framework CsoundLib64'''))
>>>>>>>>>>>>>>     else:
>>>>>>>>>>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -
>>>>>>>>>>>>>>undefined
>>>>>>>>>>>>>>suppress -flat_namespace -framework CsoundLib'''))
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>It's now building with no errors.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>Best
>>>>>>>>>>>>>>Peiman
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>On 13 Aug 2008, at 23:37, victor wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>Because there is a step in SConstruct that copies the
>>>>>>>>>>>>>>>framework to
>>>>>>>>>>>>>>>the right place so it can continue building. I guess
>>>>>>>>>>>>>>>it's not
>>>>>>>>>>>>>>>there
>>>>>>>>>>>>>>>for 64bit. Try copying it by hand and continuing
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>Victor
>>>>>>>>>>>>>>>----- Original Message -----
>>>>>>>>>>>>>>>From: "peiman" 
>>>>>>>>>>>>>>><peimankhosravi@gmail.com>
>>>>>>>>>>>>>>>To: 
>>>>>>>>>>>>>>><csound-devel@lists.sourceforge.net>
>>>>>>>>>>>>>>>Sent: Wednesday, August 13, 2008 11:16 PM
>>>>>>>>>>>>>>>Subject: Re: [Cs-dev] Building csound on osx, saga
>>>>>>>>>>>>>>>continued....
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>Ahhhhh if I knew it's so much trouble!!!
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>So I deleted the old CsoundLib.framework from /Library/
>>>>>>>>>>>>>>>>Frameworks
>>>>>>>>>>>>>>>>do a
>>>>>>>>>>>>>>>>clean
>>>>>>>>>>>>>>>>uninstall of csound and now csound won't build. It seems
>>>>>>>>>>>>>>>>there
>>>>>>>>>>>>>>>>must have
>>>>>>>>>>>>>>>>been something in that directory that csound was trying to
>>>>>>>>>>>>>>>>link
>>>>>>>>>>>>>>>>to.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>This is the error I get:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>frontends/csladspa/ladspa.h:593: warning: 'visibility'
>>>>>>>>>>>>>>>>attribute
>>>>>>>>>>>>>>>>ignored
>>>>>>>>>>>>>>>>g++ -o csladspa.so -bundle -undefined suppress -
>>>>>>>>>>>>>>>>flat_namespace -
>>>>>>>>>>>>>>>>framework
>>>>>>>>>>>>>>>>CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/
>>>>>>>>>>>>>>>>local/
>>>>>>>>>>>>>>>>lib -
>>>>>>>>>>>>>>>>L. -L.
>>>>>>>>>>>>>>>>-lsndfile
>>>>>>>>>>>>>>>>/usr/bin/ld: can't locate framework for: -framework
>>>>>>>>>>>>>>>>CsoundLib
>>>>>>>>>>>>>>>>collect2: ld returned 1 exit status
>>>>>>>>>>>>>>>>scons: *** [csladspa.so] Error 1
>>>>>>>>>>>>>>>>scons: building terminated because of errors.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>Best
>>>>>>>>>>>>>>>>Peiman
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>peiman wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>Hi Victor,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>I've installed portaudio v.19 dylib and rebuilt csound
>>>>>>>>>>>>>>>>>with
>>>>>>>>>>>>>>>>>dynamicCsoundLibrary=1 and useDouble=1. Also ran the
>>>>>>>>>>>>>>>>>command
>>>>>>>>>>>>>>>>>export
>>>>>>>>>>>>>>>>>OPCODEDIR64=/my/opcode/dir. Now when I go inside the
>>>>>>>>>>>>>>>>>source
>>>>>>>>>>>>>>>>>directory
>>>>>>>>>>>>>>>>>(which is where the build rests at the moment) and type
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>                         ./csound -otest ./tests/test1.csd
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>the csd runs succesfully in realtime giving me no errors,
>>>>>>>>>>>>>>>>>whether
>>>>>>>>>>>>>>>>>its
>>>>>>>>>>>>>>>>>working as double or float I don't know though, is
>>>>>>>>>>>>>>>>>there a
>>>>>>>>>>>>>>>>>way to
>>>>>>>>>>>>>>>>>find
>>>>>>>>>>>>>>>>>out?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>So I still need to install the files in the right
>>>>>>>>>>>>>>>>>locations I
>>>>>>>>>>>>>>>>>guess.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>Best
>>>>>>>>>>>>>>>>>Peiman
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>Victor Lazzarini wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>Do you mean portaudio v.19 dylib or the csound module
>>>>>>>>>>>>>>>>>>librtpa.dylib?
>>>>>>>>>>>>>>>>>>The latter should go in the plugins dir with the rest
>>>>>>>>>>>>>>>>>>of the
>>>>>>>>>>>>>>>>>>modules,
>>>>>>>>>>>>>>>>>>the portaudio lib should be installed with its own
>>>>>>>>>>>>>>>>>>script
>>>>>>>>>>>>>>>>>>(generally
>>>>>>>>>>>>>>>>>>it ends up in /usr/local/lib.)
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>Victor
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>At 12:13 13/08/2008, you wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>OK so I went ahead and decided to test the build from
>>>>>>>>>>>>>>>>>>>inside
>>>>>>>>>>>>>>>>>>>the
>>>>>>>>>>>>>>>>directory.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>I wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>./csound ./tests/test1.csd
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>No problems...
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>But realtime (./csound -odac ./tests/test1.csd) doesn't
>>>>>>>>>>>>>>>>>>>work. I
>>>>>>>>>>>>>>>>>>>get
>>>>>>>>>>>>>>>>>>>these
>>>>>>>>>>>>>>>>>>>errors:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>#######################################################
>>>>>>>>>>>>>>>>>>>##
>>>>>>>>>>>>>>>>>>>##
>>>>>>>>>>>>>>>>>>>##
>>>>>>>>>>>>>>>>>>>##
>>>>>>>>>>>>>>>>>>>#
>>>>>>>>>>>>>>>>>>>         #              WARNING: OPCODEDIR64 IS NOT
>>>>>>>>>>>>>>>>>>>SET !
>>>>>>>>>>>>>>>>>>>#
>>>>>>>>>>>>>>>>>>>         # Csound requires this environment variable to
>>>>>>>>>>>>>>>>>>>be set
>>>>>>>>>>>>>>>>>>>to find
>>>>>>>>>>>>>>>>>>>#
>>>>>>>>>>>>>>>>>>>         # its plugin libraries. If it is not set,
>>>>>>>>>>>>>>>>>>>you may
>>>>>>>>>>>>>>>>>>>experience
>>>>>>>>>>>>>>>>>>>#
>>>>>>>>>>>>>>>>>>>         # missing opcodes, audio/MIDI drivers, or
>>>>>>>>>>>>>>>>>>>utilities.
>>>>>>>>>>>>>>>>>>>#
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>#######################################################
>>>>>>>>>>>>>>>>>>>##
>>>>>>>>>>>>>>>>>>>##
>>>>>>>>>>>>>>>>>>>##
>>>>>>>>>>>>>>>>>>>##
>>>>>>>>>>>>>>>>>>>#
>>>>>>>>>>>>>>>>>>>  *** error: unknown rtaudio module: 'PortAudio'
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>Now this makes sense to me because I didn't install
>>>>>>>>>>>>>>>>>>>PortAudio.
>>>>>>>>>>>>>>>>>>>I build
>>>>>>>>>>>>>>>>>>>it
>>>>>>>>>>>>>>>>>>>but their readme file said not to install it. Then I
>>>>>>>>>>>>>>>>>>>wasn't
>>>>>>>>>>>>>>>>>>>sure where
>>>>>>>>>>>>>>>>>>>to
>>>>>>>>>>>>>>>>>>>put it.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>In csound's custom.py it says:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>     # If you want real-time audio you need PortAudio.
>>>>>>>>>>>>>>>>>>>     # If it is not in a standard location add it here
>>>>>>>>>>>>>>>>>>>     # (of course you must build it first):
>>>>>>>>>>>>>>>>>>>     #customCPPPATH.append('D:/utah/opt/portaudio_varga/
>>>>>>>>>>>>>>>>>>>include')
>>>>>>>>>>>>>>>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>So where is the normal place for PortAudio to live? Or
>>>>>>>>>>>>>>>>>>>should I
>>>>>>>>>>>>>>>>>>>just
>>>>>>>>>>>>>>>>>>>call
>>>>>>>>>>>>>>>>>>>"install" from within the PortAudio source directory,
>>>>>>>>>>>>>>>>>>>despite
>>>>>>>>>>>>>>>>>>>the readme
>>>>>>>>>>>>>>>>>>>file specifically saying not to?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>Then to have real-time do I need to specify a variable
>>>>>>>>>>>>>>>>>>>for
>>>>>>>>>>>>>>>>>>>scons or is
>>>>>>>>>>>>>>>>>>>it
>>>>>>>>>>>>>>>>>>>enabled by default?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>Then of course it is the question of setting
>>>>>>>>>>>>>>>>>>>OPCODEDIR64 is
>>>>>>>>>>>>>>>>>>>this just a
>>>>>>>>>>>>>>>>>>>normal environmental variable set in .bash_profile?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>Sorry about all these questions!!
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>Best
>>>>>>>>>>>>>>>>>>>Peiman
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>peiman wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>As Victor suggested I'm moving the discussion into
>>>>>>>>>>>>>>>>>>>>csound-
>>>>>>>>>>>>>>>>>>>>Dev
>>>>>>>>>>>>>>>>>>>>list.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>So I've gone as far as building csound with the only
>>>>>>>>>>>>>>>>>>>>extra
>>>>>>>>>>>>>>>>>>>>option of
>>>>>>>>>>>>>>>>>>>>useDouble=1 (I didn't bother with FLTK). So now I
>>>>>>>>>>>>>>>>>>>>need to
>>>>>>>>>>>>>>>>>>>>make
>>>>>>>>>>>>>>>>>>>>the
>>>>>>>>>>>>>>>>>>>>installer.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>Thanks Victor, your script would be much
>>>>>>>>>>>>>>>>>>>>appreciated :-)
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>Best
>>>>>>>>>>>>>>>>>>>>Peiman
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>>>>>View this message in context:
>>>>>>>>>>>>>>>>>>>http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>>>>>>>>>>>>>continued....-tp18960495p18961102.html
>>>>>>>>>>>>>>>>>>>Sent from the Csound - Dev mailing list archive at
>>>>>>>>>>>>>>>>>>>Nabble.com.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>-------------------------------------------------------
>>>>>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>>>>>---
>>>>>>>>>>>>>>>>>>>-------
>>>>>>>>>>>>>>>>>>>This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>>>>>>>Developer's
>>>>>>>>>>>>>>>>challenge
>>>>>>>>>>>>>>>>>>>Build the coolest Linux based applications with Moblin
>>>>>>>>>>>>>>>>>>>SDK &
>>>>>>>>>>>>>>>>>>>win great
>>>>>>>>>>>>>>>>prizes
>>>>>>>>>>>>>>>>>>>Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>>>>>>>anywhere
>>>>>>>>>>>>>>>>>>>in the
>>>>>>>>>>>>>>>>world
>>>>>>>>>>>>>>>>>>>http://moblin-contest.org/redirect.php?
>>>>>>>>>>>>>>>>>>>banner_id=100&url=/
>>>>>>>>>>>>>>>>>>>_______________________________________________
>>>>>>>>>>>>>>>>>>>Csound-devel mailing list
>>>>>>>>>>>>>>>>>>>Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>>>https://lists.sourceforge.net/lists/listinfo/csound-
>>>>>>>>>>>>>>>>>>>devel
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>Victor Lazzarini
>>>>>>>>>>>>>>>>>>Music Technology Laboratory
>>>>>>>>>>>>>>>>>>Music Department
>>>>>>>>>>>>>>>>>>National University of Ireland, Maynooth
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>--------------------------------------------------------
>>>>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>>>>---
>>>>>>>>>>>>>>>>>>------
>>>>>>>>>>>>>>>>>>This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>>>>>>Developer's
>>>>>>>>>>>>>>>>>>challenge
>>>>>>>>>>>>>>>>>>Build the coolest Linux based applications with
>>>>>>>>>>>>>>>>>>Moblin SDK
>>>>>>>>>>>>>>>>>>& win
>>>>>>>>>>>>>>>>>>great
>>>>>>>>>>>>>>>>>>prizes
>>>>>>>>>>>>>>>>>>Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>>>>>>anywhere
>>>>>>>>>>>>>>>>>>in the
>>>>>>>>>>>>>>>>>>world
>>>>>>>>>>>>>>>>>>http://moblin-contest.org/redirect.php?
>>>>>>>>>>>>>>>>>>banner_id=100&url=/
>>>>>>>>>>>>>>>>>>_______________________________________________
>>>>>>>>>>>>>>>>>>Csound-devel mailing list
>>>>>>>>>>>>>>>>>>Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>>https://lists.sourceforge.net/lists/listinfo/csound-
>>>>>>>>>>>>>>>>>>devel
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>>View this message in context:
>>>>>>>>>>>>>>>>http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>>>>>>>>>>continued....-
>>>>>>>>>>>>>>>>tp18960495p18972247.html
>>>>>>>>>>>>>>>>Sent from the Csound - Dev mailing list archive at
>>>>>>>>>>>>>>>>Nabble.com.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>----------------------------------------------------------
>>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>>---
>>>>>>>>>>>>>>>>----
>>>>>>>>>>>>>>>>This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>>>>Developer's
>>>>>>>>>>>>>>>>challenge
>>>>>>>>>>>>>>>>Build the coolest Linux based applications with Moblin SDK
>>>>>>>>>>>>>>>>& win
>>>>>>>>>>>>>>>>great
>>>>>>>>>>>>>>>>prizes
>>>>>>>>>>>>>>>>Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>>>>anywhere
>>>>>>>>>>>>>>>>in the
>>>>>>>>>>>>>>>>world
>>>>>>>>>>>>>>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>>>>>>_______________________________________________
>>>>>>>>>>>>>>>>Csound-devel mailing list
>>>>>>>>>>>>>>>>Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>-----------------------------------------------------------
>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>>---
>>>>>>>>>>>>>>>---
>>>>>>>>>>>>>>>This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>>>Developer's
>>>>>>>>>>>>>>>challenge
>>>>>>>>>>>>>>>Build the coolest Linux based applications with Moblin
>>>>>>>>>>>>>>>SDK &
>>>>>>>>>>>>>>>win
>>>>>>>>>>>>>>>great prizes
>>>>>>>>>>>>>>>Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>>>anywhere in
>>>>>>>>>>>>>>>the world
>>>>>>>>>>>>>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>>>>>_______________________________________________
>>>>>>>>>>>>>>>Csound-devel mailing list
>>>>>>>>>>>>>>>Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>------------------------------------------------------------
>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>--
>>>>>>>>>>>>>>-----
>>>>>>>>>>>>>>This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>>Developer's
>>>>>>>>>>>>>>challenge
>>>>>>>>>>>>>>Build the coolest Linux based applications with Moblin SDK
>>>>>>>>>>>>>>& win
>>>>>>>>>>>>>>great
>>>>>>>>>>>>>>prizes
>>>>>>>>>>>>>>Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>>anywhere in
>>>>>>>>>>>>>>the
>>>>>>>>>>>>>>world
>>>>>>>>>>>>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>>>>_______________________________________________
>>>>>>>>>>>>>>Csound-devel mailing list
>>>>>>>>>>>>>>Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>--
>>>>>>>>>>>>>View this message in context: 
>>>>>>>>>>>>>http://www.nabble.com/Building-
>>>>>>>>>>>>>csound-on-osx%2C-saga-continued....-tp18960495p18974186.html
>>>>>>>>>>>>>Sent from the Csound - Dev mailing list archive at
>>>>>>>>>>>>>Nabble.com.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>-------------------------------------------------------------
>>>>>>>>>>>>>--
>>>>>>>>>>>>>--
>>>>>>>>>>>>>--
>>>>>>>>>>>>>--
>>>>>>>>>>>>>----
>>>>>>>>>>>>>This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>Developer's
>>>>>>>>>>>>>challenge
>>>>>>>>>>>>>Build the coolest Linux based applications with Moblin SDK &
>>>>>>>>>>>>>win
>>>>>>>>>>>>>great prizes
>>>>>>>>>>>>>Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>anywhere in
>>>>>>>>>>>>>the world
>>>>>>>>>>>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>>>_______________________________________________
>>>>>>>>>>>>>Csound-devel mailing list
>>>>>>>>>>>>>Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>>--------------------------------------------------------------
>>>>>>>>>>>>--
>>>>>>>>>>>>--
>>>>>>>>>>>>--
>>>>>>>>>>>>--
>>>>>>>>>>>>---
>>>>>>>>>>>>This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>Developer's
>>>>>>>>>>>>challenge
>>>>>>>>>>>>Build the coolest Linux based applications with Moblin SDK
>>>>>>>>>>>>& win
>>>>>>>>>>>>great prizes
>>>>>>>>>>>>Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>anywhere in
>>>>>>>>>>>>the world
>>>>>>>>>>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>>_______________________________________________
>>>>>>>>>>>>Csound-devel mailing list
>>>>>>>>>>>>Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>---------------------------------------------------------------
>>>>>>>>>>>--
>>>>>>>>>>>--
>>>>>>>>>>>--
>>>>>>>>>>>----
>>>>>>>>>>>This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>Developer's
>>>>>>>>>>>challenge
>>>>>>>>>>>Build the coolest Linux based applications with Moblin SDK &
>>>>>>>>>>>win
>>>>>>>>>>>great prizes
>>>>>>>>>>>Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>anywhere in
>>>>>>>>>>>the world
>>>>>>>>>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>_______________________________________________
>>>>>>>>>>>Csound-devel mailing list
>>>>>>>>>>>Csound-devel@lists.sourceforge.net
>>>>>>>>>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>>Victor Lazzarini
>>>>>>>>>>Music Technology Laboratory
>>>>>>>>>>Music Department
>>>>>>>>>>National University of Ireland, Maynooth
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>----------------------------------------------------------------
>>>>>>>>>>--
>>>>>>>>>>--
>>>>>>>>>>--
>>>>>>>>>>---
>>>>>>>>>>This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>Developer's
>>>>>>>>>>challenge
>>>>>>>>>>Build the coolest Linux based applications with Moblin SDK & win
>>>>>>>>>>great prizes
>>>>>>>>>>Grand prize is a trip for two to an Open Source event
>>>>>>>>>>anywhere in
>>>>>>>>>>the world
>>>>>>>>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>_______________________________________________
>>>>>>>>>>Csound-devel mailing list
>>>>>>>>>>Csound-devel@lists.sourceforge.net
>>>>>>>>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>-----------------------------------------------------------------
>>>>>>>>>--
>>>>>>>>>--
>>>>>>>>>----
>>>>>>>>>This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>Developer's
>>>>>>>>>challenge
>>>>>>>>>Build the coolest Linux based applications with Moblin SDK & win
>>>>>>>>>great prizes
>>>>>>>>>Grand prize is a trip for two to an Open Source event anywhere in
>>>>>>>>>the world
>>>>>>>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>_______________________________________________
>>>>>>>>>Csound-devel mailing list
>>>>>>>>>Csound-devel@lists.sourceforge.net
>>>>>>>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>Victor Lazzarini
>>>>>>>>Music Technology Laboratory
>>>>>>>>Music Department
>>>>>>>>National University of Ireland, Maynooth
>>>>>>>>
>>>>>>>>
>>>>>>>>------------------------------------------------------------------
>>>>>>>>--
>>>>>>>>--
>>>>>>>>---
>>>>>>>>This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>>>>>challenge
>>>>>>>>Build the coolest Linux based applications with Moblin SDK & win
>>>>>>>>great prizes
>>>>>>>>Grand prize is a trip for two to an Open Source event anywhere in
>>>>>>>>the world
>>>>>>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>_______________________________________________
>>>>>>>>Csound-devel mailing list
>>>>>>>>Csound-devel@lists.sourceforge.net
>>>>>>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>>-------------------------------------------------------------------
>>>>>>>--
>>>>>>>----
>>>>>>>This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>>>>challenge
>>>>>>>Build the coolest Linux based applications with Moblin SDK & win
>>>>>>>great prizes
>>>>>>>Grand prize is a trip for two to an Open Source event anywhere in
>>>>>>>the world
>>>>>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>_______________________________________________
>>>>>>>Csound-devel mailing list
>>>>>>>Csound-devel@lists.sourceforge.net
>>>>>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>--------------------------------------------------------------------
>>>>>>--
>>>>>>---
>>>>>>This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>>>challenge
>>>>>>Build the coolest Linux based applications with Moblin SDK & win
>>>>>>great prizes
>>>>>>Grand prize is a trip for two to an Open Source event anywhere in
>>>>>>the world
>>>>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>_______________________________________________
>>>>>>Csound-devel mailing list
>>>>>>Csound-devel@lists.sourceforge.net
>>>>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>>---------------------------------------------------------------------
>>>>>----
>>>>>This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>>challenge
>>>>>Build the coolest Linux based applications with Moblin SDK & win
>>>>>great prizes
>>>>>Grand prize is a trip for two to an Open Source event anywhere in
>>>>>the world
>>>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>_______________________________________________
>>>>>Csound-devel mailing list
>>>>>Csound-devel@lists.sourceforge.net
>>>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>----------------------------------------------------------------------
>>>>---
>>>>This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>challenge
>>>>Build the coolest Linux based applications with Moblin SDK & win
>>>>great prizes
>>>>Grand prize is a trip for two to an Open Source event anywhere in
>>>>the world
>>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>_______________________________________________
>>>>Csound-devel mailing list
>>>>Csound-devel@lists.sourceforge.net
>>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>-------------------------------------------------------------------------
>>>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>>Build the coolest Linux based applications with Moblin SDK & win 
>>>great prizes
>>>Grand prize is a trip for two to an Open Source event anywhere in the world
>>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>_______________________________________________
>>>Csound-devel mailing list
>>>Csound-devel@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>Victor Lazzarini
>>Music Technology Laboratory
>>Music Department
>>National University of Ireland, Maynooth
>>
>>
>>-------------------------------------------------------------------------
>>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>Build the coolest Linux based applications with Moblin SDK & win great prizes
>>Grand prize is a trip for two to an Open Source event anywhere in the world
>>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>_______________________________________________
>>Csound-devel mailing list
>>Csound-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 


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

Date2008-08-16 15:32
Frompeiman khosravi
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
OK I've tried it several times and the only way jar file is built  
correctly is like this:

Build csound with interfaces.
Delete ONLY the installed frameworks from /Library/Frameworks
Rebuild csound with interfaces, this time the jar file is built properly

On another note, I'm trying to rebuild csound64 with the Loris  
opcodes but although I'm using the option buildLoris=1 scons prints  
this out during the build:

Checking for C header file Opcodes/Loris/src/loris.h... yes
Checking for C header file fftw3.h... no
CONFIGURATION DECISION: Not building Loris Python extension and  
Csound opcodes.
CONFIGURATION DECISION: Building STK opcodes.
CONFIGURATION DECISION: Building Python opcodes.


STK is built but Loris fails to build every time...

Thanks very much
Peiman

On 15 Aug 2008, at 12:09, Victor Lazzarini wrote:

> Can you delete interfaces/java_interface_wrap.cc
>
> and rebuild?
>
> At 12:02 15/08/2008, you wrote:
>> Hi Steven,
>>
>> I tried rerunning the build several times, both as float and double.
>> But every time csnd.jar looks the same. I also tried rebuilding and
>> reinstalling SWIG but no difference.
>>
>> Thanks for your help
>> Peiman
>>
>>
>> On 15 Aug 2008, at 04:28, Steven Yi wrote:
>>
>>> Hi Peiman,
>>>
>>> Yes, the jar file should a number of .class files.  Without doing a
>>> clean, could you rerun the build and see if the csnd.jar gets  
>>> rebuilt
>>> with class files?
>>>
>>> steven
>>>
>>> On Thu, Aug 14, 2008 at 7:06 PM, peiman khosravi
>>>  wrote:
>>>> Thanks Steven,
>>>>
>>>> I just tried that and this is all I get:
>>>>
>>>>      0 Thu Aug 14 01:39:10 BST 2008 META-INF/
>>>>     70 Thu Aug 14 01:39:10 BST 2008 META-INF/MANIFEST.MF
>>>>      0 Sun Mar 16 11:45:58 GMT 2008 csnd/
>>>>
>>>> I have a feeling it doesn't look right since .class is not  
>>>> mentioned
>>>> anywhere!
>>>>
>>>> Best
>>>> Peiman
>>>>
>>>> On 14 Aug 2008, at 17:59, Steven Yi wrote:
>>>>
>>>>> Hi Peiman,
>>>>>
>>>>> Could you run:
>>>>>
>>>>> jar tvf csnd.jar
>>>>>
>>>>> and see if the jar has a number of .class files inside it.  I
>>>>> remember
>>>>> it used to be that sometimes you had to run the build twice for  
>>>>> Java
>>>>> to get it to build correctly.  Otherwise, I'll look into what's
>>>>> going
>>>>> on with JNI and OSX and see if there's anything in particular that
>>>>> needs to be done with OSX.
>>>>>
>>>>> steven
>>>>>
>>>>> On Thu, Aug 14, 2008 at 6:51 AM, peiman khosravi
>>>>>  wrote:
>>>>>> OK I feel it's getting closer. I found a link there that must  
>>>>>> have
>>>>>> been made by the previous installer. I deleted it and then
>>>>>> copied the
>>>>>> files. But still not working :-(
>>>>>>
>>>>>> Thanks
>>>>>> Peiman
>>>>>>
>>>>>> On 14 Aug 2008, at 14:15, Victor Lazzarini wrote:
>>>>>>
>>>>>>> No I mean JavaVM.framework in /System/Libraries/Frameworks
>>>>>>> see where the jni files are and copy the jni file to it.
>>>>>>> Perhaps do
>>>>>>> the
>>>>>>> same for the jar file.
>>>>>>>
>>>>>>> At 13:50 14/08/2008, you wrote:
>>>>>>>> Do you mean /Library/Frameworks/CsoundLib64.Framework/Versions/
>>>>>>>> 5.1/
>>>>>>>> Resources/java?
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> On 14 Aug 2008, at 13:45, Victor Lazzarini wrote:
>>>>>>>>
>>>>>>>>> I think the files have to go in the Java framework.
>>>>>>>>>
>>>>>>>>> At 13:38 14/08/2008, you wrote:
>>>>>>>>>
>>>>>>>>>> So I have the double build now. In /Library/Frameworks/
>>>>>>>>>> CsoundLib64.Framework/Versions/5.1/Resources/java/ I have  
>>>>>>>>>> only
>>>>>>>>>> two
>>>>>>>>>> files csnd.jar and lib_jcsound.jnilib. I have put
>>>>>>>>>> lib_jcsound.jnilib
>>>>>>>>>> in /Library/Frameworks/CsoundLib64.Framework/Versions/5.1/
>>>>>>>>>> Resources/
>>>>>>>>>> java/. But java api is still not working, is there anyway of
>>>>>>>>>> checking
>>>>>>>>>> the integrity of csnd.jar?
>>>>>>>>>>
>>>>>>>>>> Best
>>>>>>>>>> Peiman
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 14 Aug 2008, at 04:00, Steven Yi wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Peiman,
>>>>>>>>>>>
>>>>>>>>>>> The double version of csnd.jar should be different from the
>>>>>>>>>>> float
>>>>>>>>>>> one.
>>>>>>>>>>>  The method signatures of the java library methods should
>>>>>>>>>>> be for
>>>>>>>>>>> doulbe instead of float, and it will expect to link to a
>>>>>>>>>>> native
>>>>>>>>>>> library that uses doubles.
>>>>>>>>>>>
>>>>>>>>>>> steven
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Aug 13, 2008 at 6:15 PM, peiman
>>>>>>>>>>> 
>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> I had to modify install.py too, basically commenting out  
>>>>>>>>>>>> the
>>>>>>>>>>>> self-
>>>>>>>>>>>> check stage
>>>>>>>>>>>> as it would give an error every-time. Now it seems to
>>>>>>>>>>>> install and
>>>>>>>>>>>> work,
>>>>>>>>>>>> except that the interfaces (e.g. csnd.jar) aren't
>>>>>>>>>>>> installed in
>>>>>>>>>>>> the
>>>>>>>>>>>> right
>>>>>>>>>>>> place or properly, or else they're not build properly.
>>>>>>>>>>>>
>>>>>>>>>>>> Is a double precision build of csnd.jar different from the
>>>>>>>>>>>> float
>>>>>>>>>>>> one?
>>>>>>>>>>>>
>>>>>>>>>>>> An osx installer is really needed as I don't think  
>>>>>>>>>>>> install.py
>>>>>>>>>>>> works properly
>>>>>>>>>>>> on osx.
>>>>>>>>>>>>
>>>>>>>>>>>> Best
>>>>>>>>>>>> Peiman
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> peiman wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> OK found the problem. In SConstruct, line 2278 is:
>>>>>>>>>>>>>
>>>>>>>>>>>>>    csLadspaEnv.Append(LINKFLAGS=Split('''-bundle - 
>>>>>>>>>>>>> undefined
>>>>>>>>>>>>> suppress -
>>>>>>>>>>>>> flat_namespace -framework CsoundLib'''))
>>>>>>>>>>>>>
>>>>>>>>>>>>> Now this is a problem because up to this point 'CsoundLib'
>>>>>>>>>>>>> doesn't
>>>>>>>>>>>>> exists with a Double build. So I've added a conditional:
>>>>>>>>>>>>>
>>>>>>>>>>>>>     if commonEnvironment['useDouble'] == '1':
>>>>>>>>>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -
>>>>>>>>>>>>> undefined
>>>>>>>>>>>>> suppress -flat_namespace -framework CsoundLib64'''))
>>>>>>>>>>>>>     else:
>>>>>>>>>>>>>       csLadspaEnv.Append(LINKFLAGS=Split('''-bundle -
>>>>>>>>>>>>> undefined
>>>>>>>>>>>>> suppress -flat_namespace -framework CsoundLib'''))
>>>>>>>>>>>>>
>>>>>>>>>>>>> It's now building with no errors.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Best
>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 13 Aug 2008, at 23:37, victor wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Because there is a step in SConstruct that copies the
>>>>>>>>>>>>>> framework to
>>>>>>>>>>>>>> the right place so it can continue building. I guess
>>>>>>>>>>>>>> it's not
>>>>>>>>>>>>>> there
>>>>>>>>>>>>>> for 64bit. Try copying it by hand and continuing
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Victor
>>>>>>>>>>>>>> ----- Original Message -----
>>>>>>>>>>>>>> From: "peiman" 
>>>>>>>>>>>>>> To: 
>>>>>>>>>>>>>> Sent: Wednesday, August 13, 2008 11:16 PM
>>>>>>>>>>>>>> Subject: Re: [Cs-dev] Building csound on osx, saga
>>>>>>>>>>>>>> continued....
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Ahhhhh if I knew it's so much trouble!!!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> So I deleted the old CsoundLib.framework from /Library/
>>>>>>>>>>>>>>> Frameworks
>>>>>>>>>>>>>>> do a
>>>>>>>>>>>>>>> clean
>>>>>>>>>>>>>>> uninstall of csound and now csound won't build. It seems
>>>>>>>>>>>>>>> there
>>>>>>>>>>>>>>> must have
>>>>>>>>>>>>>>> been something in that directory that csound was  
>>>>>>>>>>>>>>> trying to
>>>>>>>>>>>>>>> link
>>>>>>>>>>>>>>> to.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> This is the error I get:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> frontends/csladspa/ladspa.h:593: warning: 'visibility'
>>>>>>>>>>>>>>> attribute
>>>>>>>>>>>>>>> ignored
>>>>>>>>>>>>>>> g++ -o csladspa.so -bundle -undefined suppress -
>>>>>>>>>>>>>>> flat_namespace -
>>>>>>>>>>>>>>> framework
>>>>>>>>>>>>>>> CsoundLib frontends/csladspa/csladspa.o -L. -L. -L/usr/
>>>>>>>>>>>>>>> local/
>>>>>>>>>>>>>>> lib -
>>>>>>>>>>>>>>> L. -L.
>>>>>>>>>>>>>>> -lsndfile
>>>>>>>>>>>>>>> /usr/bin/ld: can't locate framework for: -framework
>>>>>>>>>>>>>>> CsoundLib
>>>>>>>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>>>>>>>> scons: *** [csladspa.so] Error 1
>>>>>>>>>>>>>>> scons: building terminated because of errors.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Best
>>>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> peiman wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Victor,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I've installed portaudio v.19 dylib and rebuilt csound
>>>>>>>>>>>>>>>> with
>>>>>>>>>>>>>>>> dynamicCsoundLibrary=1 and useDouble=1. Also ran the
>>>>>>>>>>>>>>>> command
>>>>>>>>>>>>>>>> export
>>>>>>>>>>>>>>>> OPCODEDIR64=/my/opcode/dir. Now when I go inside the
>>>>>>>>>>>>>>>> source
>>>>>>>>>>>>>>>> directory
>>>>>>>>>>>>>>>> (which is where the build rests at the moment) and type
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>                         ./csound -otest ./tests/ 
>>>>>>>>>>>>>>>> test1.csd
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> the csd runs succesfully in realtime giving me no  
>>>>>>>>>>>>>>>> errors,
>>>>>>>>>>>>>>>> whether
>>>>>>>>>>>>>>>> its
>>>>>>>>>>>>>>>> working as double or float I don't know though, is
>>>>>>>>>>>>>>>> there a
>>>>>>>>>>>>>>>> way to
>>>>>>>>>>>>>>>> find
>>>>>>>>>>>>>>>> out?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> So I still need to install the files in the right
>>>>>>>>>>>>>>>> locations I
>>>>>>>>>>>>>>>> guess.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Best
>>>>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Victor Lazzarini wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Do you mean portaudio v.19 dylib or the csound module
>>>>>>>>>>>>>>>>> librtpa.dylib?
>>>>>>>>>>>>>>>>> The latter should go in the plugins dir with the rest
>>>>>>>>>>>>>>>>> of the
>>>>>>>>>>>>>>>>> modules,
>>>>>>>>>>>>>>>>> the portaudio lib should be installed with its own
>>>>>>>>>>>>>>>>> script
>>>>>>>>>>>>>>>>> (generally
>>>>>>>>>>>>>>>>> it ends up in /usr/local/lib.)
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Victor
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> At 12:13 13/08/2008, you wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> OK so I went ahead and decided to test the build from
>>>>>>>>>>>>>>>>>> inside
>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>> directory.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ./csound ./tests/test1.csd
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> No problems...
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> But realtime (./csound -odac ./tests/test1.csd)  
>>>>>>>>>>>>>>>>>> doesn't
>>>>>>>>>>>>>>>>>> work. I
>>>>>>>>>>>>>>>>>> get
>>>>>>>>>>>>>>>>>> these
>>>>>>>>>>>>>>>>>> errors:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ##################################################### 
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>>>         #              WARNING: OPCODEDIR64 IS NOT
>>>>>>>>>>>>>>>>>> SET !
>>>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>>>         # Csound requires this environment  
>>>>>>>>>>>>>>>>>> variable to
>>>>>>>>>>>>>>>>>> be set
>>>>>>>>>>>>>>>>>> to find
>>>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>>>         # its plugin libraries. If it is not set,
>>>>>>>>>>>>>>>>>> you may
>>>>>>>>>>>>>>>>>> experience
>>>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>>>         # missing opcodes, audio/MIDI drivers, or
>>>>>>>>>>>>>>>>>> utilities.
>>>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ##################################################### 
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> ##
>>>>>>>>>>>>>>>>>> #
>>>>>>>>>>>>>>>>>>  *** error: unknown rtaudio module: 'PortAudio'
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Now this makes sense to me because I didn't install
>>>>>>>>>>>>>>>>>> PortAudio.
>>>>>>>>>>>>>>>>>> I build
>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>> but their readme file said not to install it. Then I
>>>>>>>>>>>>>>>>>> wasn't
>>>>>>>>>>>>>>>>>> sure where
>>>>>>>>>>>>>>>>>> to
>>>>>>>>>>>>>>>>>> put it.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> In csound's custom.py it says:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>     # If you want real-time audio you need PortAudio.
>>>>>>>>>>>>>>>>>>     # If it is not in a standard location add it here
>>>>>>>>>>>>>>>>>>     # (of course you must build it first):
>>>>>>>>>>>>>>>>>>     #customCPPPATH.append('D:/utah/opt/ 
>>>>>>>>>>>>>>>>>> portaudio_varga/
>>>>>>>>>>>>>>>>>> include')
>>>>>>>>>>>>>>>>>>     #customLIBPATH.append('D:/utah/opt/lazzarini')
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> So where is the normal place for PortAudio to  
>>>>>>>>>>>>>>>>>> live? Or
>>>>>>>>>>>>>>>>>> should I
>>>>>>>>>>>>>>>>>> just
>>>>>>>>>>>>>>>>>> call
>>>>>>>>>>>>>>>>>> "install" from within the PortAudio source directory,
>>>>>>>>>>>>>>>>>> despite
>>>>>>>>>>>>>>>>>> the readme
>>>>>>>>>>>>>>>>>> file specifically saying not to?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Then to have real-time do I need to specify a  
>>>>>>>>>>>>>>>>>> variable
>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>> scons or is
>>>>>>>>>>>>>>>>>> it
>>>>>>>>>>>>>>>>>> enabled by default?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Then of course it is the question of setting
>>>>>>>>>>>>>>>>>> OPCODEDIR64 is
>>>>>>>>>>>>>>>>>> this just a
>>>>>>>>>>>>>>>>>> normal environmental variable set in .bash_profile?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Sorry about all these questions!!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Best
>>>>>>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> peiman wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> As Victor suggested I'm moving the discussion into
>>>>>>>>>>>>>>>>>>> csound-
>>>>>>>>>>>>>>>>>>> Dev
>>>>>>>>>>>>>>>>>>> list.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> So I've gone as far as building csound with the only
>>>>>>>>>>>>>>>>>>> extra
>>>>>>>>>>>>>>>>>>> option of
>>>>>>>>>>>>>>>>>>> useDouble=1 (I didn't bother with FLTK). So now I
>>>>>>>>>>>>>>>>>>> need to
>>>>>>>>>>>>>>>>>>> make
>>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>>> installer.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thanks Victor, your script would be much
>>>>>>>>>>>>>>>>>>> appreciated :-)
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Best
>>>>>>>>>>>>>>>>>>> Peiman
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>>>>>>>>>>>> continued....-tp18960495p18961102.html
>>>>>>>>>>>>>>>>>> Sent from the Csound - Dev mailing list archive at
>>>>>>>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ----------------------------------------------------- 
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>>>>>> -------
>>>>>>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your  
>>>>>>>>>>>>>>>>>> Move
>>>>>>>>>>>>>>>>>> Developer's
>>>>>>>>>>>>>>> challenge
>>>>>>>>>>>>>>>>>> Build the coolest Linux based applications with  
>>>>>>>>>>>>>>>>>> Moblin
>>>>>>>>>>>>>>>>>> SDK &
>>>>>>>>>>>>>>>>>> win great
>>>>>>>>>>>>>>> prizes
>>>>>>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>>>>>> anywhere
>>>>>>>>>>>>>>>>>> in the
>>>>>>>>>>>>>>> world
>>>>>>>>>>>>>>>>>> http://moblin-contest.org/redirect.php?
>>>>>>>>>>>>>>>>>> banner_id=100&url=/
>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-
>>>>>>>>>>>>>>>>>> devel
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Victor Lazzarini
>>>>>>>>>>>>>>>>> Music Technology Laboratory
>>>>>>>>>>>>>>>>> Music Department
>>>>>>>>>>>>>>>>> National University of Ireland, Maynooth
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ------------------------------------------------------ 
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>>>>> ------
>>>>>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>>>>> Developer's
>>>>>>>>>>>>>>>>> challenge
>>>>>>>>>>>>>>>>> Build the coolest Linux based applications with
>>>>>>>>>>>>>>>>> Moblin SDK
>>>>>>>>>>>>>>>>> & win
>>>>>>>>>>>>>>>>> great
>>>>>>>>>>>>>>>>> prizes
>>>>>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>>>>> anywhere
>>>>>>>>>>>>>>>>> in the
>>>>>>>>>>>>>>>>> world
>>>>>>>>>>>>>>>>> http://moblin-contest.org/redirect.php?
>>>>>>>>>>>>>>>>> banner_id=100&url=/
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-
>>>>>>>>>>>>>>>>> devel
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> View this message in context:
>>>>>>>>>>>>>>> http://www.nabble.com/Building-csound-on-osx%2C-saga-
>>>>>>>>>>>>>>> continued....-
>>>>>>>>>>>>>>> tp18960495p18972247.html
>>>>>>>>>>>>>>> Sent from the Csound - Dev mailing list archive at
>>>>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> -------------------------------------------------------- 
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>>> ----
>>>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>>> Developer's
>>>>>>>>>>>>>>> challenge
>>>>>>>>>>>>>>> Build the coolest Linux based applications with  
>>>>>>>>>>>>>>> Moblin SDK
>>>>>>>>>>>>>>> & win
>>>>>>>>>>>>>>> great
>>>>>>>>>>>>>>> prizes
>>>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>>> anywhere
>>>>>>>>>>>>>>> in the
>>>>>>>>>>>>>>> world
>>>>>>>>>>>>>>> http://moblin-contest.org/redirect.php? 
>>>>>>>>>>>>>>> banner_id=100&url=/
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound- 
>>>>>>>>>>>>>>> devel
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --------------------------------------------------------- 
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>>> Developer's
>>>>>>>>>>>>>> challenge
>>>>>>>>>>>>>> Build the coolest Linux based applications with Moblin
>>>>>>>>>>>>>> SDK &
>>>>>>>>>>>>>> win
>>>>>>>>>>>>>> great prizes
>>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>>> anywhere in
>>>>>>>>>>>>>> the world
>>>>>>>>>>>>>> http://moblin-contest.org/redirect.php? 
>>>>>>>>>>>>>> banner_id=100&url=/
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ---------------------------------------------------------- 
>>>>>>>>>>>>> --
>>>>>>>>>>>>> --
>>>>>>>>>>>>> --
>>>>>>>>>>>>> --
>>>>>>>>>>>>> --
>>>>>>>>>>>>> -----
>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>>> Developer's
>>>>>>>>>>>>> challenge
>>>>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK
>>>>>>>>>>>>> & win
>>>>>>>>>>>>> great
>>>>>>>>>>>>> prizes
>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>>> anywhere in
>>>>>>>>>>>>> the
>>>>>>>>>>>>> world
>>>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> View this message in context: http://www.nabble.com/ 
>>>>>>>>>>>> Building-
>>>>>>>>>>>> csound-on-osx%2C-saga-continued....- 
>>>>>>>>>>>> tp18960495p18974186.html
>>>>>>>>>>>> Sent from the Csound - Dev mailing list archive at
>>>>>>>>>>>> Nabble.com.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ----------------------------------------------------------- 
>>>>>>>>>>>> --
>>>>>>>>>>>> --
>>>>>>>>>>>> --
>>>>>>>>>>>> --
>>>>>>>>>>>> --
>>>>>>>>>>>> ----
>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>>> Developer's
>>>>>>>>>>>> challenge
>>>>>>>>>>>> Build the coolest Linux based applications with Moblin  
>>>>>>>>>>>> SDK &
>>>>>>>>>>>> win
>>>>>>>>>>>> great prizes
>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>>> anywhere in
>>>>>>>>>>>> the world
>>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------ 
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> --
>>>>>>>>>>> ---
>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>>> Developer's
>>>>>>>>>>> challenge
>>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK
>>>>>>>>>>> & win
>>>>>>>>>>> great prizes
>>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>>> anywhere in
>>>>>>>>>>> the world
>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------- 
>>>>>>>>>> --
>>>>>>>>>> --
>>>>>>>>>> --
>>>>>>>>>> --
>>>>>>>>>> ----
>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>>> Developer's
>>>>>>>>>> challenge
>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK &
>>>>>>>>>> win
>>>>>>>>>> great prizes
>>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>>> anywhere in
>>>>>>>>>> the world
>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Csound-devel mailing list
>>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>>
>>>>>>>>> Victor Lazzarini
>>>>>>>>> Music Technology Laboratory
>>>>>>>>> Music Department
>>>>>>>>> National University of Ireland, Maynooth
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -------------------------------------------------------------- 
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> --
>>>>>>>>> ---
>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>>> Developer's
>>>>>>>>> challenge
>>>>>>>>> Build the coolest Linux based applications with Moblin SDK  
>>>>>>>>> & win
>>>>>>>>> great prizes
>>>>>>>>> Grand prize is a trip for two to an Open Source event
>>>>>>>>> anywhere in
>>>>>>>>> the world
>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-devel mailing list
>>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>>
>>>>>>>>
>>>>>>>> --------------------------------------------------------------- 
>>>>>>>> --
>>>>>>>> --
>>>>>>>> --
>>>>>>>> ----
>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move
>>>>>>>> Developer's
>>>>>>>> challenge
>>>>>>>> Build the coolest Linux based applications with Moblin SDK &  
>>>>>>>> win
>>>>>>>> great prizes
>>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>>> anywhere in
>>>>>>>> the world
>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>> Victor Lazzarini
>>>>>>> Music Technology Laboratory
>>>>>>> Music Department
>>>>>>> National University of Ireland, Maynooth
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------- 
>>>>>>> --
>>>>>>> --
>>>>>>> --
>>>>>>> ---
>>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>>> Developer's
>>>>>>> challenge
>>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>>> great prizes
>>>>>>> Grand prize is a trip for two to an Open Source event  
>>>>>>> anywhere in
>>>>>>> the world
>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>> ----------------------------------------------------------------- 
>>>>>> --
>>>>>> --
>>>>>> ----
>>>>>> This SF.Net email is sponsored by the Moblin Your Move  
>>>>>> Developer's
>>>>>> challenge
>>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>>> great prizes
>>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>>>> the world
>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------ 
>>>>> --
>>>>> --
>>>>> ---
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>>> great prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>>> the world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> --
>>>> ----
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win
>>>> great prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in
>>>> the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> -------------------------------------------------------------------- 
>>> --
>>> ---
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
>>> great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in
>>> the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


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