[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] compiling SC code
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/
{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf400
{\fonttbl\f0\fmodern\fcharset0 Courier;\f1\fswiss\fcharset0 Helvetica;\f2\fnil\fcharset0 Menlo-Regular;
}
{\colortbl;\red255\green255\blue255;\red153\green102\blue51;\red255\green0\blue255;\red255\green128\blue0;
\red128\green0\blue128;\red255\green0\blue0;}
\paperw11900\paperh16840\margl1440\margr1440\vieww13620\viewh16300\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural
\f0\fs24 \cf0 (for SC 3.6.6:\
Mac OS X 10.4.9 or greater\
Cmake 2.7 or greater\
Xcode Tools 2.4.1 or greater\
Qt libraries 4.7 or greater: http://qt-project.org/downloads )\
\
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural
\cf0 \ul \ulc0 Install CMake\ulnone : http://www.cmake.org/ 3.0.2\
(2.8.11 for SC 3.6.6 on OSX 10.6.8)\
In de Terminal:\
$ defaults write com.apple.finder AppleShowAllFiles -bool true\
$ killall Finder\
select the folder usr\
Cmd-I: set Sharing & Permissions so that you can Read & Write to this folder\
select the folder bin\
Cmd-I: set Sharing & Permissions so that you can Read & Write to this \
\
folder\
In CMake:\
Menu: Tools > Install For Command Line Use\
To check if it works:\
In Terminal:\
$ cmake -h\
\
In de Terminal:\
$ defaults write com.apple.finder AppleShowAllFiles -bool false\
$ killall Finder\
\
\ul Install git\ulnone : http://git-scm.com/download/mac\
\
\ul Install Xcode\ulnone :\
(4.2 Snow Leopard shipping with gcc 4.2.1 (llvmgcc42) for SC 3.6.6 on OSX 10.6.8)\
Install XCode via the App Store\
In Xcode: make shure that the Command Line Tools are installed\
Menu: XCode > Open Developer Tool > More Developer Tools...\
\
Wait until you have installed Xcode completely (Always make sure to install the latest available version of Xcode for your OS X release; using outdated versions of Xcode may cause port install failures.)\
\
Om te testen of het werkt:\
Terminal:\
$ sudo \expnd0\expndtw0\kerning0
xcodebuild -license\kerning1\expnd0\expndtw0 \
$ xcodebuild -h\
\
\ul Install MacPorts\ulnone :\
https://guide.macports.org/\
Download the latest installer from the MacPorts download directory:\
https://distfiles.macports.org/MacPorts/\
\
If MacPorts is already installed:\
Terminal:\
$ sudo port -v selfupdate\
$ sudo port upgrade outdated\
\
\ul Install Qt libraries\ulnone using MacPorts (universal build)\
(4.8.5 for SC 3.6.6 on OSX 10.6.8)\
Terminal:\
$ port installed qt4-mac\
$ sudo port install qt4-mac +universal\
## qt4-mac @4.8.6_0+universal (active)\
\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
\cf0 \CocoaLigature0 # Startup items have been generated that will aid in\
# starting dbus with launchd. They are disabled\
# by default. Execute the following commands to start them,\
# and to cause them to launch at startup:\
#\
# sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist\
# launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist\CocoaLigature1 \
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural
\cf0 \
To install an older version with MacPorts:\
In your Browser:\
https://trac.macports.org/wiki/howto/InstallingOlderPort\
https://trac.macports.org/browser/trunk/dports\
select aqua\
select qt4-mac\
click on Revision Log\
click on @118978 (the last version before 4.8.6)\
click on portfile\
At the botom click on Original Format\
On your computer:\
make a folder (call it 'Qt 4.8.5' or something else)\
put the portfile in the folder 'Qt 4.8.5'\
in the folder 'Qt 4.8.5' make a folder 'file'\
In your Browser:\
Click on 'files' en download every file in this folder and place it in the folder 'file' (also copy the folders with its contents in the folder 'file' and place these files in folders with the same names)\
On your computer:\
MacPorts usually runs under a separate "macports" user account with reduced privileges; you must place the Portfile (and files directory, if any) in a place where the "macports" user can read them. In particular, your home directory is not usually readable by other users, so inside your home directory is not a suitable location; using an unsuitable location will result in an error message like Error: Unable to execute port: could not read "/Users/someuser/Desktop/Portfile": permission denied. If you don't mind the OS deleting these files after a few days, or after a restart, you could put them in /tmp, or you could create another directory elsewhere (e.g. at the root of your hard drive) for this purpose. \
\
\ul Install Readline\ulnone using MacPorts (universal build)\
(6.2 for SC 3.6.6 on OSX 10.6.8)\
(Since at least SC 3.6.5 it has not been possible any more to use the OSX supplied \
readline to build sclang with readline interface. Therefore GNU Readline >= 5.0 needs\
to be installed on the build system.)\
Terminal:\
$ port installed readline\
$ sudo port install readline +universal\
## readline @6.3.003_0+universal (active)\
\
\ul Install libsndfile\ulnone :\
Terminal:\
$ port installed libsndfile\
$ sudo port install libsndfile +universal\
## libsndfile @1.0.25_0+universal (active)\
\
\ul Install portaudio\ulnone :\
Terminal:\
$ port installed portaudio\
$ sudo port install portaudio +universal\
## portaudio @19.20140130_0 (active)\
\
\ul Install fftw-3\ulnone :\
Terminal:\
$ port installed fftw-3\
$ sudo port install fftw-3 +universal\
## ftw-3 @3.3.4_0+universal (active)\
\
\
\
\
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural
\fs28 \cf2 \ul Install SuperCollider\cf0 \ulnone :
\fs24 \
\
GitHub:\
SC is on Github: https://github.com/supercollider/supercollider\
\
Get a copy of the source code with:\
$ git clone --recursive https://github.com/supercollider/supercollider.git\
Sourceforge:\
Snapshots of release-versions are available from Sourceforge:\
http://sourceforge.net/projects/supercollider/files/Source/\
\
$ git remote add my-supercollider-Upstream git@xxxxxxxxxx:ASauer/supercollider.git\
\
The following assumes that you have installed git locally and use the clone from the \
Github repository.\
\
SC \cf3 3.6.6\cf0 on OSX 10.6:\
(SC 3.6.6 was built using the following cmake arguments:\
`cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES='i386;x86_64' \
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.6 -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.6.sdk/ \
-DCMAKE_INSTALL_PREFIX=./install -DREADLINE_INCLUDE_DIR=/opt/local/include \
-DREADLINE_LIBRARY=/opt/local/lib/libreadline.dylib -DSSE=ON -DSYSTEM_YAMLCPP=OFF .\
This should create a universal build running on any intel based 32- and 64-bit Apple hardware using OSX 10.6 and later. \
The 3.6.6-build of SC has not been adjusted to Mavericks yet. Please expect some rough edges.\
In order to reproduce this build exactly you either have to use the source snapshot distributed through SourceForge or checkout the tag `Version-3.6.6` from the SC Github repo.)\
\
SC \cf3 3.6.7\cf0 on OSX \cf4 10.8\cf0 or \cf4 10.9\cf0 :\
Terminal:\
$ \cf5 cd /Volumes/MHDProjectKantoor/Files/Git/supercollider\cf0 \
or\
$
\fs22 \cf5 \CocoaLigature0 cd /Volumes/HM\\ Project\\ WO1/Git/supercollider\cf0 \
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural
\fs24 \cf0 \CocoaLigature1 \
$ git submodule init\
## Submodule 'external_libraries/hidapi' (git://github.com/sensestage/hidapi.git) registered for path 'external_libraries/hidapi'\
Submodule 'external_libraries/nova-simd' (git://github.com/timblechmann/nova-simd.git) registered for path 'external_libraries/nova-simd'\
Submodule 'external_libraries/nova-tt' (git://github.com/timblechmann/nova-tt.git) registered for path 'external_libraries/nova-tt'\
\
$ git submodule update\
\
$ git checkout master\
## Already on 'master'\
## Your branch is up-to-date with 'origin/master'.\
\
$ mkdir build\
\
Als de build folder onzichtbaar is:\
$
\fs22 \CocoaLigature0 sudo chflags nohidden build\
selecteer de folder supercollider en type CMD-I (de folder build moet nu verschijnen), anders:\
\fs24 \CocoaLigature1 $ defaults write com.apple.finder AppleShowAllFiles -bool true\
$ killall Finder\
$ defaults write com.apple.finder AppleShowAllFiles -bool false\
$ killall Finder
\fs22 \CocoaLigature0 \
\fs24 \CocoaLigature1 \
## To build SuperCollider with Cmake, it is recommended to create a "build" folder in the root folder of the SuperCollider source (i.e. inside the folder created when you cloned SC from git).\
## A dedicated build folder is created to separate build files from the source. This will leave the source alone (git monitors all activities in the source tree) and makes it easy to delete all build files without touching the source if you require a guaranteed clean build.\
\
$ cd build\
\
## Settings in the build configuration you are likely to want to adjust. In order to see a useful list of your options run: $ cmake -LH ..\
## \cf6 This configures the build using default settings\cf0 or settings stored in the file build/CMakeCache.txt.\
## It is not necessary to pass in all required arguments each time you run cmake, as cmake caches previously set arguments in the file \cf6 CMakeCache.txt\cf0 . This is helpful, but\
also something to keep in mind if unexpected things happen.\
\
## For OSX \cf4 10.8 Debug\cf0 :\
$ cmake -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE=\cf6 Debug\cf0 -DCMAKE_OSX_ARCHITECTURES='x86_64' -DCMAKE_OSX_DEPLOYMENT_TARGET=\cf6 10.8\cf0 -DNATIVE=ON -DSC_SYMLINK_CLASSLIB=OFF -DREADLINE_INCLUDE_DIR=/opt/local/include -DREADLINE_LIBRARY=/opt/local/lib/libreadline.dylib -DSNDFILE_INCLUDE_DIR=/opt/local/include -DSNDFILE_LIBRARY=/opt/local/lib/libsndfile.dylib ..\
\
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural
\cf0 ## For OSX \cf4 10.8 RelWithDebInfo\cf0 :\
$ cmake -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE=\cf6 RelWithDebInfo\cf0 -DCMAKE_OSX_ARCHITECTURES='x86_64' -DCMAKE_OSX_DEPLOYMENT_TARGET=\cf6 10.8\cf0 -DNATIVE=ON -DSC_SYMLINK_CLASSLIB=OFF -DREADLINE_INCLUDE_DIR=/opt/local/include -DREADLINE_LIBRARY=/opt/local/lib/libreadline.dylib -DSNDFILE_INCLUDE_DIR=/opt/local/include -DSNDFILE_LIBRARY=/opt/local/lib/libsndfile.dylib ..\
\
## For OSX \cf4 10.8 Release\cf0 :\
$ cmake -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE= \cf6 Release\cf0 -DCMAKE_OSX_ARCHITECTURES='x86_64' -DCMAKE_OSX_DEPLOYMENT_TARGET=\cf6 10.8\cf0 -DNATIVE=ON -DSC_SYMLINK_CLASSLIB=OFF -DREADLINE_INCLUDE_DIR=/opt/local/include -DREADLINE_LIBRARY=/opt/local/lib/libreadline.dylib -DSNDFILE_INCLUDE_DIR=/opt/local/include -DSNDFILE_LIBRARY=/opt/local/lib/libsndfile.dylib ..\
\
## For OSX \cf4 10.8 Release Xcode\cf0 :\
$ cmake -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE=\cf6 Release\cf0 -DCMAKE_OSX_ARCHITECTURES='x86_64' -DCMAKE_OSX_DEPLOYMENT_TARGET=\cf6 10.8\cf0 -DNATIVE=ON -DSC_SYMLINK_CLASSLIB=OFF -GXcode -DREADLINE_INCLUDE_DIR=/opt/local/include -DREADLINE_LIBRARY=/opt/local/lib/libreadline.dylib -DSNDFILE_INCLUDE_DIR=/opt/local/include -DSNDFILE_LIBRARY=/opt/local/lib/libsndfile.dylib ..\
\
## For OSX \cf4 10.9 Debug\cf0 :\
$ cmake -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE=\cf6 Debug\cf0 -DCMAKE_OSX_ARCHITECTURES='x86_64' -DCMAKE_OSX_DEPLOYMENT_TARGET=\cf6 10.9\cf0 -DNATIVE=ON -DSC_SYMLINK_CLASSLIB=OFF -DREADLINE_INCLUDE_DIR=/opt/local/include -DREADLINE_LIBRARY=/opt/local/lib/libreadline.dylib -DSNDFILE_INCLUDE_DIR=/opt/local/include -DSNDFILE_LIBRARY=/opt/local/lib/libsndfile.dylib ..\
\
## For OSX \cf4 10.9 RelWithDebInfo\cf0 :\
$ cmake -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE=\cf6 RelWithDebInfo\cf0 -DCMAKE_OSX_ARCHITECTURES='x86_64' -DCMAKE_OSX_DEPLOYMENT_TARGET=\cf6 10.9\cf0 -DNATIVE=ON -DSC_SYMLINK_CLASSLIB=OFF -DREADLINE_INCLUDE_DIR=/opt/local/include -DREADLINE_LIBRARY=/opt/local/lib/libreadline.dylib -DSNDFILE_INCLUDE_DIR=/opt/local/include -DSNDFILE_LIBRARY=/opt/local/lib/libsndfile.dylib ..\
\
## For OSX \cf4 10.9 Release\cf0 :\
$ cmake -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE=\cf6 Release\cf0 -DCMAKE_OSX_ARCHITECTURES='x86_64' -DCMAKE_OSX_DEPLOYMENT_TARGET=\cf6 10.9\cf0 -DNATIVE=ON -DSC_SYMLINK_CLASSLIB=OFF -DREADLINE_INCLUDE_DIR=/opt/local/include -DREADLINE_LIBRARY=/opt/local/lib/libreadline.dylib -DSNDFILE_INCLUDE_DIR=/opt/local/include -DSNDFILE_LIBRARY=/opt/local/lib/libsndfile.dylib ..\
\
## For OSX \cf4 10.9 Release Xcode\cf0 :\
$ cmake -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE=\cf6 Release\cf0 -DCMAKE_OSX_ARCHITECTURES='x86_64' -DCMAKE_OSX_DEPLOYMENT_TARGET=\cf6 10.9\cf0 -DNATIVE=ON -DSC_SYMLINK_CLASSLIB=OFF -GXcode -DREADLINE_INCLUDE_DIR=/opt/local/include -DREADLINE_LIBRARY=/opt/local/lib/libreadline.dylib -DSNDFILE_INCLUDE_DIR=/opt/local/include -DSNDFILE_LIBRARY=/opt/local/lib/libsndfile.dylib ..\
\
## Configure the build (`cmake`) and point to the root folder of the SC source (`..`)\
\
## -DCMAKE_INSTALL_PREFIX=/Applications : the location "install"-folder, i.e. the location of the SuperCollider folder including the application bundle. The following line moves it to the Applications folder (which means you need to use `sudo`).\
\
## build types (Release (optimised), Debug and RelWithDebInfo): -DCMAKE_BUILD_TYPE=Debug: welk type moet ik kiezen ????????\
## RelWithDebInfo is default\
##
\f1 RelWithDebInfo builds with `-g -O2', while Release builds with `-O3 -DNDEBUG', which means that it disables assertions. RelWithDebInfo is good for beta releases and it triggered quite a few assertion failures due to the 64bit port which would have been unnoticed otherwise. but imo the release package should be built in Release mode (possibly adding -g to get a good backtrace in the case of a crash).
\f0 \
\
## -DCMAKE_OSX_ARCHITECTURES='i386': build a 32-bit version\
## -DCMAKE_OSX_ARCHITECTURES='i386;x86_64': combine a 32- and 64-bit version into a bundle (i.e. build a universal binary). This is only possible up until OSX 10.6 and requires the dependencies (Qtlibs & readline) to be universal builds too.\
\
## -DCMAKE_OSX_DEPLOYMENT_TARGET=10.8 ??????\
\
## build the *supernova* server: -DSUPERNOVA=ON \
## Using supernova requires the `portaudio` audio backend.\
## *Note*: When you build with supernova, an alternative server executable and a supernova version of each plugin is built. If you also use the sc3-plugins package, make sure to compile them with supernova support too.\
## Within SC you will be able to switch between scsynth and supernova by evaluating one of: Server.supernova or Server.scsynth\
## Check sc help for ParGroup to see how to make use of multi-core hardware.\
\
## -DNATIVE: Optimize binary for this architecture (binaries may not run on other machines).\
\
## -DSC_SYMLINK_CLASSLIB=ON : by default the SCClassLibrary is installed into the application bundle. There is a cmake option to create symlinks of the SCClassLibrary in the source instead. This way, if you change your classes, the changes will show up in your SC git-repository.\
\
## -DREADLINE_INCLUDE_DIR=/opt/local/include -DREADLINE_LIBRARY=/opt/local/lib/libreadline.dylib : Tell the build system where to find the required headers and libraries of Readline\
## Readline is uncritical as to version requirements.\
\
## -DSNDFILE_INCLUDE_DIR=/opt/local/include -DSNDFILE_LIBRARY=/opt/local/lib/libsndfile.dylib\
## In the past compiling a universal binary of libsndfile used to require accessing both a i386 and PPC Mac. The reasons for this are described here: http://www.mega-nerd.com/libsndfile/FAQ.html#Q018 Because of this, libsndfile is included with the source as a precompiled universal binary. This UB contains ppc, i386 and x86_64 archs. By default SC uses this file, although the currently built universal does not contain Power PC versions any more and intel universal binaries of libsndfile are readily available via package managers.\
##If you would like to build using the latest version of libsndfile, you need to intall it and point cmake to it very much the same way it was demonstrated above for readline.\
\
## The Qt libraries also need to be installed in your system at build time, but usually cmake finds them automatically. It does so by looking for the file `qmake` in your system path and expects to find other Qt files relative to that location. In case you want to \
use a Qt install in a nonstandard location, you can specify the `qmake`-location like so: -DQT_QMAKE_EXECUTABLE=/yourQmakePath/qmake\
## SC cannot currently be compiled using any version of Qt5.\
\
## To create a "standalone" app using cmake, you need to use the "standalone" flag. For example, to create a standalone whose name is MyFabApp: cmake -D standalone="MyFabApp" ..\
## If you want to include special resources, put them in a folder called platform/mac/MyFabApp Resources or platform/mac/Standalone Resources within the SC source tree.\
## When you run "MyFabApp" for the first time, a user application support directory called "MyFabApp" too will be created in the default location (`/Users/<username>/Library/Application Support/MyFabApp`). This folder will reside alongside a folder called supercollider created by a default SC install you might have on the same machine. The default install will not scan the "MyFabApp" folder.\
## If you've built a standalone and want to go back to normal build mode, just set that value as an empty string: cmake -D standalone="" ..\
\
## For building with Xcode, configure the build adding -GXcode to the cmake command-line: $ cmake -GXcode -DREADLINE_INCLUDE_DIR=/opt/local/include -DREADLINE_LIBRARY=/opt/local/lib/libreadline.dylib ..\
## This will generate a Xcode project file in the build folder. Open it in Xcode, select the `install` target, and build.\
\
-- The C compiler identification is AppleClang 5.1.0.5030040 (\cf4 10.8\cf0 ) /
\f2\fs22 \CocoaLigature0 6.0.0.6000051 (\cf4 10.9\cf0 )
\f0\fs24 \CocoaLigature1 \
-- The CXX compiler identification is AppleClang 5.1.0.5030040 (\cf4 10.8\cf0 ) /
\f2\fs22 \CocoaLigature0 6.0.0.6000051 (\cf4 10.9\cf0 )
\f0\fs24 \CocoaLigature1 \
-- Check for working C compiler: /usr/bin/cc\
-- Check for working C compiler: /usr/bin/cc -- works\
-- Detecting C compiler ABI info\
-- Detecting C compiler ABI info - done\
-- Check for working CXX compiler: /usr/bin/c++\
-- Check for working CXX compiler: /usr/bin/c++ -- works\
-- Detecting CXX compiler ABI info\
-- Detecting CXX compiler ABI info - done\
-- SuperCollider Version: 3.7alpha0\
-- Compiling with Qt GUI\
-- Found Pthreads: /usr/lib/libpthread.dylib \
-- building boost libraries manually\
-- Could NOT find YAMLCPP (missing: YAMLCPP_INCLUDE_DIR YAMLCPP_LIBRARY) \
-- using bundled libyaml-cpp\
CMake Warning (dev) at external_libraries/hidapi/CMakeLists.txt:3 (project):\
Policy CMP0048 is not set: project() command manages VERSION variables.\
Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy\
command to set the policy and suppress this warning.\
\
The following variable(s) would be set to empty:\
\
PROJECT_VERSION\
PROJECT_VERSION_MAJOR\
PROJECT_VERSION_MINOR\
PROJECT_VERSION_PATCH\
This warning is for project developers. Use -Wno-dev to suppress it.\
\
hidapi cmakelists\
===mac cmakelists===\
===hidapi_parser cmakelists===\
-- Audio API: coreaudio\
-- Found GNU Readline version 6.3: /opt/local/lib/libreadline.dylib\
-- Looking for Q_WS_X11\
-- Looking for Q_WS_X11 - not found\
-- Looking for Q_WS_WIN\
-- Looking for Q_WS_WIN - not found\
-- Looking for Q_WS_QWS\
-- Looking for Q_WS_QWS - not found\
-- Looking for Q_WS_MAC\
-- Looking for Q_WS_MAC - found\
-- Looking for QT_MAC_USE_COCOA\
-- Looking for QT_MAC_USE_COCOA - found\
-- Found Qt4: /opt/local/bin/qmake (found suitable version "4.8.6", minimum required is "4.7") \
-- Found Qt4: /opt/local/bin/qmake (found suitable version "4.8.6", minimum required is "4.8.5") \
-- Compiling with Readline support\
-- Building the Qt IDE\
-- Found Qt4: /opt/local/bin/qmake (found suitable version "4.8.6", minimum required is "4.7") \
-- Configuring done\
-- Generating done\
-- Build files have been written to: \cf5 /Volumes/MHDProjectKantoor/Files/Git/supercollider/build\cf0 \
\
\
## If no errors were returned:\
$ make install\
\
## If you would like to create a disk image for distribution\
$ make package\
\
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural
\cf3 Mavericks\cf0 :\
"App Nap", a new energy saving feature for background applications,\
causes the SC language interpreter to slow down dramatically after a while, if no sc-gui\
window is in the foreground. It is therefore strongly recommended to switch off App Nap\
for SuperCollider. The easiest way to do this, is to right-click SuperCollider.app and\
select `Get Info` from the popup menu. Then choose `Prevent App Nap` in the list of start\
options.\
\
With the build for OSX 10.9 I do not get the Prevent App Nap checkbox in Get Info\
\
\
\
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural
\cf6 cmake --help-policy CMP0048\cf0 \
CMP0048\
-------\
\
The ``project()`` command manages VERSION variables.\
\
CMake version 3.0 introduced the ``VERSION`` option of the ``project()``\
command to specify a project version as well as the name. In order to keep\
``PROJECT_VERSION`` and related variables consistent with variable\
``PROJECT_NAME`` it is necessary to set the VERSION variables\
to the empty string when no ``VERSION`` is given to ``project()``.\
However, this can change behavior for existing projects that set VERSION\
variables themselves since ``project()`` may now clear them.\
This policy controls the behavior for compatibility with such projects.\
\
The OLD behavior for this policy is to leave VERSION variables untouched.\
The NEW behavior for this policy is to set VERSION as documented by the\
``project()`` command.\
\
This policy was introduced in CMake version 3.0.\
CMake version 3.0.2 warns when the policy is not set and uses\
OLD behavior. Use the cmake_policy command to set it to OLD or\
NEW explicitly.\
\
\
\
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural
\cf4 10.8\cf0 \
init_OSC\
empty\
compiling class library (debug build)...\
NumPrimitives = 704\
compiling dir: '/Applications/Geluid/Language/SuperCollider_f/SuperCollider 3.7 10.8 Debug/SuperCollider.app/Contents/Resources/SCClassLibrary'\
compiling dir: '/Library/Application Support/SuperCollider/Extensions'\
compiling dir: '/Users/arthursauer/Library/Application Support/SuperCollider/Extensions'\
pass 1 done\
numentries = 1235710 / 20789648 = 0.059\
6217 method selectors, 3344 classes\
method table size 20292912 bytes, big table size 166317184\
Number of Symbols 15756\
Byte Code Size 523972\
compiled 495 files in 1.85 seconds\
compile done\
\cf4 ERROR: Class not defined.\
in file 'selected text'\
line 3 char 131:\
\
IdentityDictionary[ ('Space Navigator' -> IdentityDictionary[ ('vendor' -> 1133), ('name' -> "Space Navigator"), ('scheme' -> MXHID), ('version' -> 1056), ('product' -> 50726) ]) ] \
\
0\\tx4480\\tx5040\\tx5600\\tx6160\\tx6720\\ql\\qnatural\\pardirnatural\cf0 \
-----------------------------------\
Class tree inited in 0.05 seconds\
MIDI Sources:\
MIDIEndPoint(\cf4 "IAC Driver", "Bus 1"\cf0 )\
MIDIEndPoint(\cf4 "ControllerMate", "ControllerMate"\cf0 )\
MIDI Destinations:\
MIDIEndPoint(\cf4 "IAC Driver", "Bus 1"\cf0 )\
\cf4 WARNING: GUI schemes are not supported any more. You may continue to use GUI for skins though\
Cleaning up temp synthdefs...\cf0 \
\
\
*** Welcome to SuperCollider 3.7alpha0. *** For help press Cmd-D.\
\
\
\
\
\cf4 10.9\cf0 \
init_OSC\
empty\
compiling class library (debug build)...\
NumPrimitives = 704\
compiling dir: '/Applications/Geluid/Language/SuperCollider_f/SuperCollider 3.7 10.9 Debug/SuperCollider.app/Contents/Resources/SCClassLibrary'\
compiling dir: '/Library/Application Support/SuperCollider/Extensions'\
pass 1 done\
numentries = 1207894 / 19421948 = 0.062\
5954 method selectors, 3262 classes\
method table size 19424776 bytes, big table size 155375584\
Number of Symbols 15224\
Byte Code Size 503396\
compiled 466 files in 1.66 seconds\
compile done\
Class tree inited in 0.1 seconds\
Cleaning up temp synthdefs...\
MIDI Sources:\
MIDI Destinations:\
\
\
*** Welcome to SuperCollider 3.7alpha0. *** For help press Cmd-D.}