Csound Csound-dev Csound-tekno Search About

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

Date2008-08-13 11:28
Frompeiman
Subject[Cs-dev] Building csound on osx, saga continued....
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....-tp18960495p18960495.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-13 12:13
Frompeiman
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
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

Date2008-08-13 12:41
FromVictor Lazzarini
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
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

Date2008-08-13 15:05
From"Dr. Richard Boulanger"
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
Once completed and working, would you be able to write up (or revise  
if they exist already) some instructions that could be
posted at cSounds.com and included in the Manual?  Hope so.

-dB


On Aug 13, 2008, at 6:28 AM, 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....-tp18960495p18960495.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 15:56
Frompeiman khosravi
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
Thanks Victor,

I meant portaudio v.19 dylib. I've now installed it in the default  
place. So I'll build csound again...

On 13 Aug 2008, at 12:41, 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


-------------------------------------------------------------------------
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 15:57
Frompeiman khosravi
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
Of course, I was going to do that anyway...

Best
Peiman

On 13 Aug 2008, at 15:05, Dr. Richard Boulanger wrote:

> Once completed and working, would you be able to write up (or revise
> if they exist already) some instructions that could be
> posted at cSounds.com and included in the Manual?  Hope so.
>
> -dB
>
>
> On Aug 13, 2008, at 6:28 AM, 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....-tp18960495p18960495.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-13 16:11
Frompeiman
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
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....-tp18960495p18965105.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-13 16:17
Frompeiman khosravi
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
AttachmentsNone  None  
Also When I build csound it creates a folder called CsoundLib64.Framework and a file calledCsoundLib64 does that clarify anything?

Best
Peiman

Here is a list of everything that's in the source directory after building csound (double).

peiman-khosravis-computer:~/desktop/csound5 peimankhosravi$ ls -a              .                               libbarmodel.dylib
..                              libcompress.dylib
.DS_Store                       libcontrol.dylib
.sconf_temp                     libcs_date.dylib
.sconsign.dblite                libcs_pan2.dylib
AUTHORS                         libcs_pvs_ops.dylib
COPYING                         libeqfil.dylib
ChangeLog                       libftest.dylib
CompositionBase.py              libgabnew.dylib
CsoundLib.framework             libgrain4.dylib
CsoundLib64                     libharmon.dylib
CsoundLib64.Framework           libhrtferX.dylib
Doxyfile                        libhrtfnew.dylib
Engine                          libloscilx.dylib
H                               libminmax.dylib
INSTALL                         libmixer.dylib
InOut                           libmodal4.dylib
LICENSE.FLTK                    libmutexops.dylib
LICENSE.PortAudio               libpartikkel.dylib
LICENSE.PortMidi                libphisem.dylib
Makefile-win32                  libphysmod.dylib
NEWS                            libpitch.dylib
OOps                            libptrack.dylib
Opcodes                         libpvoc.dylib
SConstruct                      libpvsbuffer.dylib
SDIF                            librtcoreaudio.dylib
Top                             librtpa.dylib
after_osx                       libscansyn.dylib
anal                            libscoreline.dylib
atsa                            libsfont.dylib
brkpt                           libshape.dylib
build-icl-release.bat           libstackops.dylib
build-mingw-debug.sh            libstdopcod.dylib
build-mingw-installer.sh        libstdutil.dylib
build-mingw-release.sh          libsystem_call.dylib
build-msvc-debug.bat            libudprecv.dylib
build-msvc-release.bat          libudpsend.dylib
build.sh                        libugakbari.dylib
cleanup.sh                      libvaops.dylib
config.log                      libvbap.dylib
cs                              linseg
cs5.r                           lpanal
csb64enc                        lpc_export
csladspa.so                     lpc_import
csound                          macinstall-cp.sh
csound-mingw.sh                 makecsd
csound-msvc.bat                 matrix.tk
csound.tex                      mixer
csound5.pc.in                   nsliders.tk
custom-icl.py                   package-build.sh
custom-mingw.py                 pkgbuild.tcl
custom-msvc.py                  po
custom.py                       pv_export
custom.py.mkg                   pv_import
cvanal                          pvanal
cygwin_import_libs              pvlook
debian                          readme-csound5-complete.txt
dnoise                          readme-csound5.txt
doc                             refman_header.tex
doxygen.sty                     scale
envext                          scot
etc                             scsort
examples                        sdif2ad
extract                         sndinfo
extractor                       srconv
frontends                       strings
het_export                      tabdes
het_import                      tclcsound
hetro                           tests
install.py                      util
installer                       util1
interfaces                      util2
libampmidid.dylib               with_icc.txt
libbabo.dylib

On 13 Aug 2008, at 12:41, Victor Lazzarini wrote:

portaudio v.19 dylib



Date2008-08-13 23:16
Frompeiman
SubjectRe: [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

Date2008-08-18 14:05
Frompeiman
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
So here is my almost exhaustive list of proceedures for building and
installing csound double presicion with Loris and STK opcodes on OSX (no
FLTK). It is possible that I've missed something out so please do let me
know if that is the case.

This has been tested on mac osx 10.4.11 (Intel). 

Particular thanks to Steven, Victor,  Michael Gogin, Jim Bates and Ernesto
Illescas-Peláez for helping me through this... I'm sure I missed so many
names out!!!

Best
Peiman

http://www.nabble.com/file/p19031170/building%2Bcsound.rtf
building+csound.rtf 






peiman wrote:
> 
> Of course, I was going to do that anyway...
> 
> Best
> Peiman
> 
> On 13 Aug 2008, at 15:05, Dr. Richard Boulanger wrote:
> 
>> Once completed and working, would you be able to write up (or revise
>> if they exist already) some instructions that could be
>> posted at cSounds.com and included in the Manual?  Hope so.
>>
>> -dB
>>
>>
>> On Aug 13, 2008, at 6:28 AM, 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....-tp18960495p18960495.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....-tp18960495p19031170.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

Date2008-08-18 14:10
Frompeiman
SubjectRe: [Cs-dev] Building csound on osx, saga continued....
Sorry some minor typos where corrected.

Peiman
http://www.nabble.com/file/p19031174/building%252Bcsound.rtf
building%2Bcsound.rtf 


peiman wrote:
> 
> So here is my almost exhaustive list of proceedures for building and
> installing csound double presicion with Loris and STK opcodes on OSX (no
> FLTK). It is possible that I've missed something out so please do let me
> know if that is the case.
> 
> This has been tested on mac osx 10.4.11 (Intel). 
> 
> Particular thanks to Steven, Victor,  Michael Gogin, Jim Bates and Ernesto
> Illescas-Peláez for helping me through this... I'm sure I missed so many
> names out!!!
> 
> Best
> Peiman
> 
>  http://www.nabble.com/file/p19031170/building%2Bcsound.rtf
> building+csound.rtf 
> 
> 
> 
> 
> 
> 
> peiman wrote:
>> 
>> Of course, I was going to do that anyway...
>> 
>> Best
>> Peiman
>> 
>> On 13 Aug 2008, at 15:05, Dr. Richard Boulanger wrote:
>> 
>>> Once completed and working, would you be able to write up (or revise
>>> if they exist already) some instructions that could be
>>> posted at cSounds.com and included in the Manual?  Hope so.
>>>
>>> -dB
>>>
>>>
>>> On Aug 13, 2008, at 6:28 AM, 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....-tp18960495p18960495.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....-tp18960495p19031174.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.n