User Tools

Site Tools


compiling_on_linux

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
compiling_on_linux [2019/04/04 11:23]
notcrazylol [Arch & Derivatives]
compiling_on_linux [2019/10/27 13:00] (current)
tapir [Developer build options]
Line 25: Line 25:
 If you are building the Mixxx **master** Git branch, additionally run: If you are building the Mixxx **master** Git branch, additionally run:
 <code bash> <code bash>
-sudo apt-get install qt5-default qtdeclarative5-dev libqt5opengl5-dev qtscript5-dev libqt5svg5-dev libqt5x11extras5-dev libvamp-sdk2v5 libhidapi-libusb0 libqt5sql5-sqlite+sudo apt-get install qt5-default qtdeclarative5-dev libqt5opengl5-dev qtscript5-dev libqt5svg5-dev libqt5x11extras5-dev libvamp-sdk2v5 libhidapi-libusb0 libqt5sql5-sqlite ​libmodplug-dev
 </​code>​ </​code>​
  
 If you are building Mixxx **2.2** Git branch, additionally run: If you are building Mixxx **2.2** Git branch, additionally run:
 <code bash> <code bash>
-sudo apt-get install qt5-default qtdeclarative5-dev libqt5opengl5-dev qtscript5-dev libqt5svg5-dev libqt5x11extras5-dev libqt5sql5-sqlite+sudo apt-get install qt5-default qtdeclarative5-dev libqt5opengl5-dev qtscript5-dev libqt5svg5-dev libqt5x11extras5-dev libqt5sql5-sqlite ​libmodplug-dev
 </​code>​ </​code>​
  
Line 194: Line 194:
 with scons. with scons.
  
 +==== Developer build options ====
 +
 +To catch bugs early during development build and run Mixxx with the following options.
 +
 +=== Debug build with SCons ===
 +<​code>​
 +build=debug debug_assertions_fatal=1
 +</​code>​
 +
 +
 +=== Debug build with CMake (...coming soon) ===
 +<​code>​
 +-DCMAKE_BUILD_TYPE=Debug -DDEBUG_ASSERTIONS_FATAL=ON
 +</​code>​
 +
 +
 +=== Testing debug builds ===
 +
 +Debug builds should started with the option ''​--debugAssertBreak''​ to trigger a breakpoint in the debugger if  debug assertions are violated or to abort Mixxx immediately. This ensures that messages about violated debug assertions are not missed between various other debug log messages.
 ==== Optional: Build with m4a/AAC file support ==== ==== Optional: Build with m4a/AAC file support ====
 If you want to play m4a files, add ''​faad=1''​ to your scons commands above. This requires the libraries faad2 and libmp4v2 (or libmp4) to be installed. If you want to play m4a files, add ''​faad=1''​ to your scons commands above. This requires the libraries faad2 and libmp4v2 (or libmp4) to be installed.
compiling_on_linux.1554391393.txt.gz ยท Last modified: 2019/04/04 11:23 by notcrazylol