Csound Csound-dev Csound-tekno Search About

[Csnd] instructions for building Csound 6...

Date2013-04-12 16:18
FromRory Walsh
Subject[Csnd] instructions for building Csound 6...
For Linux? I have the latest git cloned.

Date2013-04-12 16:21
FromJacob Joaquin
SubjectRe: [Csnd] instructions for building Csound 6...
Where is the the repo for C6? I'd like to try and build it.


On Fri, Apr 12, 2013 at 8:18 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
For Linux? I have the latest git cloned.


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




--
codehop.com | #code #art #music

Date2013-04-12 16:23
FromRory Walsh
SubjectRe: [Csnd] instructions for building Csound 6...
git clone git://git.code.sf.net/p/csound/csound6-git csound-csound6-git


On 12 April 2013 16:21, Jacob Joaquin  wrote:
> Where is the the repo for C6? I'd like to try and build it.
>
>
> On Fri, Apr 12, 2013 at 8:18 AM, Rory Walsh  wrote:
>>
>> For Linux? I have the latest git cloned.
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
>
> --
> codehop.com | #code #art #music

Date2013-04-12 16:26
FromSteven Yi
SubjectRe: [Csnd] instructions for building Csound 6...
1. Make sure you have CMake installed (i.e. apt-get install cmake)

2. Make a directory you will build into (i.e. csound6/build)

3. cd into the build directory.  Run "cmake ../" if you're in the
build folder, or cmake path/to/csound6/root".  This will by default
make makefiles.  If you want to build a different project type, you
can use cmake --help to list generators, then use -G to build.  For
example, I use "cmake -G Xcode" for XCode, and "cmake -G Ninja" to use
ninja.

4. Afterwards, run your build, i.e. "make -j6" or "ninja" or load xcode, etc.



On Fri, Apr 12, 2013 at 4:18 PM, Rory Walsh  wrote:
> For Linux? I have the latest git cloned.
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2013-04-12 16:41
FromRory Walsh
SubjectRe: [Csnd] instructions for building Csound 6...
Great. And how do I tell it to create the interfaces too?

On 12 April 2013 16:26, Steven Yi  wrote:
> 1. Make sure you have CMake installed (i.e. apt-get install cmake)
>
> 2. Make a directory you will build into (i.e. csound6/build)
>
> 3. cd into the build directory.  Run "cmake ../" if you're in the
> build folder, or cmake path/to/csound6/root".  This will by default
> make makefiles.  If you want to build a different project type, you
> can use cmake --help to list generators, then use -G to build.  For
> example, I use "cmake -G Xcode" for XCode, and "cmake -G Ninja" to use
> ninja.
>
> 4. Afterwards, run your build, i.e. "make -j6" or "ninja" or load xcode, etc.
>
>
>
> On Fri, Apr 12, 2013 at 4:18 PM, Rory Walsh  wrote:
>> For Linux? I have the latest git cloned.
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2013-04-12 16:43
FromRory Walsh
SubjectRe: [Csnd] instructions for building Csound 6...
I'm looking for a libcsound.a?

On 12 April 2013 16:41, Rory Walsh  wrote:
> Great. And how do I tell it to create the interfaces too?
>
> On 12 April 2013 16:26, Steven Yi  wrote:
>> 1. Make sure you have CMake installed (i.e. apt-get install cmake)
>>
>> 2. Make a directory you will build into (i.e. csound6/build)
>>
>> 3. cd into the build directory.  Run "cmake ../" if you're in the
>> build folder, or cmake path/to/csound6/root".  This will by default
>> make makefiles.  If you want to build a different project type, you
>> can use cmake --help to list generators, then use -G to build.  For
>> example, I use "cmake -G Xcode" for XCode, and "cmake -G Ninja" to use
>> ninja.
>>
>> 4. Afterwards, run your build, i.e. "make -j6" or "ninja" or load xcode, etc.
>>
>>
>>
>> On Fri, Apr 12, 2013 at 4:18 PM, Rory Walsh  wrote:
>>> For Linux? I have the latest git cloned.
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>

Date2013-04-12 16:49
FromSteven Yi
SubjectRe: [Csnd] instructions for building Csound 6...
CMake should build everything it can by default.  You have a few
options to configure the build:

* using commandline flags (i.e. -DBUILD_INTERFACES=1)
* Do an initial configuration, then hand edit the generated CMakeCache.txt
* Use cmake-gui

cmake-gui makes life a lot simpler by offering a GUI and showing all
of the configuration options.  You can run it in the build folder and
configure from there.

libcsound64.a should be built by default.  If you need float, you can
use -DUSE_DOUBLE=0.

On Fri, Apr 12, 2013 at 4:43 PM, Rory Walsh  wrote:
> I'm looking for a libcsound.a?
>
> On 12 April 2013 16:41, Rory Walsh  wrote:
>> Great. And how do I tell it to create the interfaces too?
>>
>> On 12 April 2013 16:26, Steven Yi  wrote:
>>> 1. Make sure you have CMake installed (i.e. apt-get install cmake)
>>>
>>> 2. Make a directory you will build into (i.e. csound6/build)
>>>
>>> 3. cd into the build directory.  Run "cmake ../" if you're in the
>>> build folder, or cmake path/to/csound6/root".  This will by default
>>> make makefiles.  If you want to build a different project type, you
>>> can use cmake --help to list generators, then use -G to build.  For
>>> example, I use "cmake -G Xcode" for XCode, and "cmake -G Ninja" to use
>>> ninja.
>>>
>>> 4. Afterwards, run your build, i.e. "make -j6" or "ninja" or load xcode, etc.
>>>
>>>
>>>
>>> On Fri, Apr 12, 2013 at 4:18 PM, Rory Walsh  wrote:
>>>> For Linux? I have the latest git cloned.
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2013-04-12 16:53
FromMichael Gogins
SubjectRe: [Csnd] instructions for building Csound 6...
Do you need a static Csound library? The gcc linker will link directly to a .so or .dll. If you are using the Windows compiler, you can generate a .def file from the dll and from the .def file you can generate an import library.

Regards,
Mike


On Fri, Apr 12, 2013 at 11:43 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
I'm looking for a libcsound.a?

On 12 April 2013 16:41, Rory Walsh <rorywalsh@ear.ie> wrote:
> Great. And how do I tell it to create the interfaces too?
>
> On 12 April 2013 16:26, Steven Yi <stevenyi@gmail.com> wrote:
>> 1. Make sure you have CMake installed (i.e. apt-get install cmake)
>>
>> 2. Make a directory you will build into (i.e. csound6/build)
>>
>> 3. cd into the build directory.  Run "cmake ../" if you're in the
>> build folder, or cmake path/to/csound6/root".  This will by default
>> make makefiles.  If you want to build a different project type, you
>> can use cmake --help to list generators, then use -G to build.  For
>> example, I use "cmake -G Xcode" for XCode, and "cmake -G Ninja" to use
>> ninja.
>>
>> 4. Afterwards, run your build, i.e. "make -j6" or "ninja" or load xcode, etc.
>>
>>
>>
>> On Fri, Apr 12, 2013 at 4:18 PM, Rory Walsh <rorywalsh@ear.ie> wrote:
>>> For Linux? I have the latest git cloned.
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>


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




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2013-04-12 16:55
FromRory Walsh
SubjectRe: [Csnd] instructions for building Csound 6...
That's true Mike. I just saw one in my last configured build and
noticed it missing. Cheers. Btw, cmake-gui looks nice Steven Anything
to make building easier, although on Linux it is really much easier!

On 12 April 2013 16:53, Michael Gogins  wrote:
> Do you need a static Csound library? The gcc linker will link directly to a
> .so or .dll. If you are using the Windows compiler, you can generate a .def
> file from the dll and from the .def file you can generate an import library.
>
> Regards,
> Mike
>
>
> On Fri, Apr 12, 2013 at 11:43 AM, Rory Walsh  wrote:
>>
>> I'm looking for a libcsound.a?
>>
>> On 12 April 2013 16:41, Rory Walsh  wrote:
>> > Great. And how do I tell it to create the interfaces too?
>> >
>> > On 12 April 2013 16:26, Steven Yi  wrote:
>> >> 1. Make sure you have CMake installed (i.e. apt-get install cmake)
>> >>
>> >> 2. Make a directory you will build into (i.e. csound6/build)
>> >>
>> >> 3. cd into the build directory.  Run "cmake ../" if you're in the
>> >> build folder, or cmake path/to/csound6/root".  This will by default
>> >> make makefiles.  If you want to build a different project type, you
>> >> can use cmake --help to list generators, then use -G to build.  For
>> >> example, I use "cmake -G Xcode" for XCode, and "cmake -G Ninja" to use
>> >> ninja.
>> >>
>> >> 4. Afterwards, run your build, i.e. "make -j6" or "ninja" or load
>> >> xcode, etc.
>> >>
>> >>
>> >>
>> >> On Fri, Apr 12, 2013 at 4:18 PM, Rory Walsh  wrote:
>> >>> For Linux? I have the latest git cloned.
>> >>>
>> >>>
>> >>> Send bugs reports to the Sourceforge bug tracker
>> >>>
>> >>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> >>> Discussions of bugs and features can be posted here
>> >>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >>> "unsubscribe csound"
>> >>>
>> >>
>> >>
>> >> Send bugs reports to the Sourceforge bug tracker
>> >>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> >> Discussions of bugs and features can be posted here
>> >> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> >> "unsubscribe csound"
>> >>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com

Date2013-04-12 16:55
FromJacob Joaquin
SubjectRe: [Csnd] instructions for building Csound 6...
What are the minimum dependencies for building? Specifically for OS X.


On Fri, Apr 12, 2013 at 8:49 AM, Steven Yi <stevenyi@gmail.com> wrote:
CMake should build everything it can by default.  You have a few
options to configure the build:

* using commandline flags (i.e. -DBUILD_INTERFACES=1)
* Do an initial configuration, then hand edit the generated CMakeCache.txt
* Use cmake-gui

cmake-gui makes life a lot simpler by offering a GUI and showing all
of the configuration options.  You can run it in the build folder and
configure from there.

libcsound64.a should be built by default.  If you need float, you can
use -DUSE_DOUBLE=0.

On Fri, Apr 12, 2013 at 4:43 PM, Rory Walsh <rorywalsh@ear.ie> wrote:
> I'm looking for a libcsound.a?
>
> On 12 April 2013 16:41, Rory Walsh <rorywalsh@ear.ie> wrote:
>> Great. And how do I tell it to create the interfaces too?
>>
>> On 12 April 2013 16:26, Steven Yi <stevenyi@gmail.com> wrote:
>>> 1. Make sure you have CMake installed (i.e. apt-get install cmake)
>>>
>>> 2. Make a directory you will build into (i.e. csound6/build)
>>>
>>> 3. cd into the build directory.  Run "cmake ../" if you're in the
>>> build folder, or cmake path/to/csound6/root".  This will by default
>>> make makefiles.  If you want to build a different project type, you
>>> can use cmake --help to list generators, then use -G to build.  For
>>> example, I use "cmake -G Xcode" for XCode, and "cmake -G Ninja" to use
>>> ninja.
>>>
>>> 4. Afterwards, run your build, i.e. "make -j6" or "ninja" or load xcode, etc.
>>>
>>>
>>>
>>> On Fri, Apr 12, 2013 at 4:18 PM, Rory Walsh <rorywalsh@ear.ie> wrote:
>>>> For Linux? I have the latest git cloned.
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


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




--
codehop.com | #code #art #music

Date2013-04-12 18:15
From"Jacques Leplat"
SubjectRe: [Csnd] instructions for building Csound 6...
Getting to build CSound myself is one of the goals I have set for myself in 
life!

In the git distro, there is a "doc" document on building CSound (on 
Windows), and I noticed that it's been updated for CSound 6. It does give a 
very large list of other software that needs to be present. I am not sure 
what is optional and what is mandatory for a basic project (it mentions swig 
and the JDK, but if the goal is to write a simple c or c++ program, I wonder 
if all the extra baggage is still needed for building CSound).

It's a bit daunting at first to get started.

To get started I'd like to build CSound 6 as a library, write a very simple 
C or C++ program to play a csd. It looks to me that is the most simple 
project possible to get started building CSound from a coding perspective.

This thread is certainly of great help, as it touches on issues that are 
relevant to building CSound6 and OS/X. It would be helpful for me if someone 
could list what I need installed to get started. From reading this thread, I 
have found that the following is necessary on OS/X:

- CMake
- XCode and its command line tools
- A git clone of CSound 6.

After that I do not really know. Maybe my first step should be to try 
running cmake on it and see what it complains about?

All the best,

Jacques 


Date2013-04-12 18:33
FromMichael Gogins
SubjectRe: [Csnd] instructions for building Csound 6...
My instructions are for building Csound for release with all bells and whistles. The minimum is libsndfile, the minimum for CsounsAC is FLTK (for image libs), boost, and Eigen. I would advise adding LuaJIT or Python to get the ability to script Csound compositions, or you can just code your pieces in C++ as I do.

Regards,
Mike


On Fri, Apr 12, 2013 at 1:15 PM, Jacques Leplat <jleplat@j3ltd.com> wrote:
Getting to build CSound myself is one of the goals I have set for myself in life!

In the git distro, there is a "doc" document on building CSound (on Windows), and I noticed that it's been updated for CSound 6. It does give a very large list of other software that needs to be present. I am not sure what is optional and what is mandatory for a basic project (it mentions swig and the JDK, but if the goal is to write a simple c or c++ program, I wonder if all the extra baggage is still needed for building CSound).

It's a bit daunting at first to get started.

To get started I'd like to build CSound 6 as a library, write a very simple C or C++ program to play a csd. It looks to me that is the most simple project possible to get started building CSound from a coding perspective.

This thread is certainly of great help, as it touches on issues that are relevant to building CSound6 and OS/X. It would be helpful for me if someone could list what I need installed to get started. From reading this thread, I have found that the following is necessary on OS/X:

- CMake
- XCode and its command line tools
- A git clone of CSound 6.

After that I do not really know. Maybe my first step should be to try running cmake on it and see what it complains about?

All the best,

Jacques


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




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com