[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] compiling SC code



Thanks Arthur, very useful to read. In the meantime I managed to make it work and documented it also, see below.
Hopefully useful for others in the future. 
Best,
Robert

//

Procedure to build the current master branch version of SuperCollider for OS X 10.9

0. assumed: a working version of git
1. install Xcode & Command Line Tools from https://developer.apple.com/downloads/ (note: typing 'xcode-select --install’ in terminal and hitting the install button that comes up seems not to work according to some post I read, so better to download directly from the Apple website)
2. accept the Xcode license in terminal: sudo xcodebuild -license
3. install the MacPorts software from https://www.macports.org/install.php (this will only install the framework)
4. install the necessary ports individually in the terminal:
     a. terminal: sudo port install cmake
     b. terminal: sudo port install readline
     c. terminal: sudo port install qt4-mac
     https://guide.macports.org/#using.port.install
5. create a folder ‘supercollider’ somewhere on your system
6. terminal: 
     cd supercollider 
     git clone --recursive https://github.com/supercollider/supercollider.git
7. terminal: 
     cd supercollider
     git submodule init
     git checkout master
     mkdir build
     cd build
     cmake -DREADLINE_INCLUDE_DIR=/opt/local/include -DREADLINE_LIBRARY=/opt/local/lib/libreadline.dylib ..
     sudo make install (I added sudo because the process creates the resulting build in the directory /usr/local/ which you need permission to write into)

https://raw.githubusercontent.com/supercollider/supercollider/master/README_OS_X.md
https://github.com/supercollider/supercollider/tree/master

//



★ The First Law of Kipple, Catford London excerpts: http://west28.nl/FLoK/ ★ 

Robert van Heumen 
Composer and improvising musician 
http://west28.nl/ 
http://shackle.eu/

"Nothing is original. Steal from anywhere that resonates with inspiration or fuels your imagination. Devour old films, new films, music, books, paintings, photographs, poems, dreams, random conversations, architecture, bridges, street signs, trees, clouds, bodies of water, light and shadows. Select only things to steal from that speak directly to your soul. If you do this, your work (and theft) will be authentic. Authenticity is invaluable; originality is nonexistent. And don't bother concealing your thievery - celebrate it if you feel like it. In any case, always remember what Jean-Luc Godard said: "It's not where you take things from - it's where you take them to.” "
Jim Jarmusch


On 22 Dec 2014, at 20:45, Arthur Sauer <arthur@xxxxxxxxxxxxxx> wrote:

Here is what I use (there might be some Dutch in it...)

Best regards,

Arthur

Op 22-12-14 15:19 schreef Robert van Heumen <di.heumo@xxxxxxxxx>:

Hi there,

I'm struggling with compiling SC from code.
First of all, the requirements: I think I need Xcode and MacPorts, the
latter for Readline, Cmake, Qtlibraries.
But then when I follow the directions in
https://github.com/supercollider/supercollider/blob/master/README_OS_X.md
I
get an error because cmake is not found. Then I found a CMake app (with
gui)
and then the error messages:

Found version  of GNU Readline at /opt/local/lib/libreadline.dylib, but
version 5.0 required
CMake Error at
/Applications/CMake.app/Contents/share/cmake-3.1/Modules/FindQt4.cmake:132
6
(message):
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x

So it seems MacPorts is not installed correctly? If in terminal I go to
/opt/local/lib/ and do 'ls -all', this folder is empty, while it should
contain the Readline lib.

Any help is greatly appreciated!

Best,
Robert




-----

*
Robert van Heumen
Composer and improvising musician
http://hardhatarea.com/
--
View this message in context:
http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.
com/compiling-SC-code-tp7615429.html
Sent from the SuperCollider Users New (Use this!!!!) mailing list archive
at Nabble.com.

_______________________________________________
sc-users mailing list

info (subscription, etc.):
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/

<Compiling SuperCollider.rtf>