Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] OSX 10.6 Build

Date2014-12-01 22:05
FromSteven Yi
SubjectRe: [Cs-dev] OSX 10.6 Build
AttachmentsNone  None  
Hi Joachim, 

Answers inline below.  Thanks!
steven

1. there is
list(APPEND CMAKE_SYSTEM_LIBRARY_PATH "/Users/victor/src/stk-4.4.4/src")
list(APPEND CMAKE_SYSTEM_INCLUDE_PATH "/Users/victor/src/stk-4.4.4/include")
but i have no stk installed.  i think this was no part of the download /
install shell script?  do i need it?  where to get it?

For this, I think you should download stk from:


Then do a "./configure; make".  After that, update the above values to point to the location of where you put stk.
 
2. similar thing with
set(MAX_SDK_ROOT /Users/stevenyi/work/max_msp/MaxSDK-6.1.4)
i think this is related to building the csound~ object for maxmsp?  do i
need maxmsp for it (i don't have it on my computer, only max5).

This is required for building csound~.  It requires the MaxSDK, which is freely downloadable from cycling74.com.  I think in the past I had packaged csound~ with the Csound installer, but I've also pushed it on its own to the Csound file releases.  If you want to try to build it, it should require downloading and updating that var to point to where you have the sdk unzipped.  You will also need boost installed (I have it installed via homebrew with "brew install boost"). I think you could probably ignore building this and if someone asks for it (say, if the build I've done doesn't work with your csound for some reason), we can investigate this further from there. 
 
3. list(APPEND CMAKE_SYSTEM_INCLUDE_PATH
"/Applications/Pd-extended.app/Contents/Resources/include")
what is this for?

This is for building csound6~ object for PD.  It just requires pointing to the location where pd.h is.  If you have PD installed somewhere else, that directory location would work just as well. 

Date2014-12-06 15:45
Fromjoachim heintz
SubjectRe: [Cs-dev] OSX 10.6 Build
hi all -

thanks, that worked. now i want to build, and i don't understand what 
the release-build.sh script wants me to do.

i have the sources in src/csound.  i pulled and checked out the 6.04.0 
tag.  from which dir should i now build?  i do not understand this part 
of the script:

if [ $# -gt 1 ]; then
	cd $2
	echo "Using directory $2 `pwd`"
         export INSTALLER_DIR=`pwd`/installer
         rm -rf installer
	rm -rf csound6/build/dist
         mkdir installer
else
	export RELEASE_DIR="`eval date +%Y-%m-%d-%H%M%S`"
         export INSTALLER_DIR=`pwd`/$RELEASE_DIR/installer
	mkdir $RELEASE_DIR
         mkdir $INSTALLER_DIR
	cd $RELEASE_DIR

	#git clone git://csound.git.sourceforge.net/gitroot/csound/csound5
	git clone -b $BRANCH_NAME file://$PWD/../../.. csound6 --depth=1
	#cp -R csound5 csound5-f
fi


best -
	joachim


Am 01.12.2014 um 23:05 schrieb Steven Yi:
> Hi Joachim,
>
> Answers inline below.  Thanks!
> steven
>
>     1. there is
>     list(APPEND CMAKE_SYSTEM_LIBRARY_PATH
>     "/Users/victor/src/stk-4.4.4/__src")
>     list(APPEND CMAKE_SYSTEM_INCLUDE_PATH
>     "/Users/victor/src/stk-4.4.4/__include")
>     but i have no stk installed.  i think this was no part of the download /
>     install shell script?  do i need it?  where to get it?
>
>
> For this, I think you should download stk from:
>
> https://ccrma.stanford.edu/software/stk/download.html
>
> Then do a "./configure; make".  After that, update the above values to
> point to the location of where you put stk.
>
>     2. similar thing with
>     set(MAX_SDK_ROOT /Users/stevenyi/work/max_msp/__MaxSDK-6.1.4)
>     i think this is related to building the csound~ object for maxmsp?  do i
>     need maxmsp for it (i don't have it on my computer, only max5).
>
>
> This is required for building csound~.  It requires the MaxSDK, which is
> freely downloadable from cycling74.com .  I think
> in the past I had packaged csound~ with the Csound installer, but I've
> also pushed it on its own to the Csound file releases.  If you want to
> try to build it, it should require downloading and updating that var to
> point to where you have the sdk unzipped.  You will also need boost
> installed (I have it installed via homebrew with "brew install boost").
> I think you could probably ignore building this and if someone asks for
> it (say, if the build I've done doesn't work with your csound for some
> reason), we can investigate this further from there.
>
>     3. list(APPEND CMAKE_SYSTEM_INCLUDE_PATH
>     "/Applications/Pd-extended.__app/Contents/Resources/__include")
>     what is this for?
>
>
> This is for building csound6~ object for PD.  It just requires pointing
> to the location where pd.h is.  If you have PD installed somewhere else,
> that directory location would work just as well.
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net