User Tools

Site Tools


compiling_on_os_x

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
compiling_on_os_x [2020/04/18 13:01]
be.ing [Method 1: Homebrew]
compiling_on_os_x [2020/05/05 23:36] (current)
dflow
Line 35: Line 35:
 export CXXFLAGS="​-I$HOMEBREW_PATH/​include -I$HOMEBREW_PATH/​include/​opus"​ export CXXFLAGS="​-I$HOMEBREW_PATH/​include -I$HOMEBREW_PATH/​include/​opus"​
 export LDFLAGS=-L$HOMEBREW_PATH/​lib export LDFLAGS=-L$HOMEBREW_PATH/​lib
-export QTDIR=$HOMEBREW_PATH/​Cellar/​qt/​%VERSION%/+export QTDIR=$HOMEBREW_PATH/​Cellar/​qt/​`brew list --versions qt | ruby -ne 'print $_.split.last'​`/ 
 </​code>​ </​code>​
  
Line 41: Line 42:
  
 **Opus Workaround:​** The version of libopus included with Homebrew has a bug where opusfile.h includes the file opus_multistream.h. In order for this file to be present on the include path, we need to add $HOMEBREW_PATH/​include/​opus to the include path. This will hopefully be fixed in future versions of libopusfile. **Opus Workaround:​** The version of libopus included with Homebrew has a bug where opusfile.h includes the file opus_multistream.h. In order for this file to be present on the include path, we need to add $HOMEBREW_PATH/​include/​opus to the include path. This will hopefully be fixed in future versions of libopusfile.
- 
-**QTDIR** tells scons where to find your Qt installation. Replace %VERSION% with the folder name, e.g. 5.11.2 . Run <​code>​brew list --versions qt</​code>​ to see what version(s) you have installed. 
- 
 === Legacy: Qt 4 === === Legacy: Qt 4 ===
  
Line 126: Line 124:
 scons verbose=0 scons verbose=0
 </​code>​ </​code>​
 +
 +If you get an error about hss1394, set ''​hss1394=0''​.
  
 If you are compiling with Qt 4, set ''​qt5=0''​. Qt 4 is only supported in Mixxx 2.1 and earlier. If you are compiling with Qt 4, set ''​qt5=0''​. Qt 4 is only supported in Mixxx 2.1 and earlier.
compiling_on_os_x.txt · Last modified: 2020/05/05 23:36 by dflow