-
Notifications
You must be signed in to change notification settings - Fork 3
/
README
51 lines (38 loc) · 1.73 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
compiling on ubuntu
-------------------
you will need at least the following packages to compile fiat lux:
scons libboost-system-dev libboost-program-options-dev libboost-thread-dev libboost-filesystem-dev \
libaubio-dev libeigen2-dev libcv-dev libhighgui-dev\
libjack-dev libjack-jackd2-dev python-qt4 python-qt4-gl python-cython libglu1-mesa-dev pyqt4-dev-tools \
jackd cmake libncurses5 yasm pyqt4-dev-tools \
libavcodec-dev libavformat-dev ffmpeg
libglu1-mesa-dev libxmu-dev libxi-dev libqt4-dev libavformat-dev
libasound2-dev #to shut up midiview example
if you're running maverick you'll need to compile cython-0.14 from source since 0.12 is the latest package
to start compiling lux, type:
scons
export PYTHONPATH=$PYTHONPATH:/home/fenn/code/Fiat-Lux/:/home/fenn/code/Fiat-Lux/xenon/Python/:/home/fenn/code/Fiat-Lux/openlase/python/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/fenn/code/Fiat-Lux/openlase/libol/:/home/fenn/code/Fiat-Lux/xenon/
assuming everything went well, now we need to let python know where stuff went:
export PYTHONPATH=$PYTHONPATH:$path_to_lux/
export PYTHONPATH=$PYTHONPATH:/home/fenn/code/Fiat-Lux/openlase/python/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$path_to_lux/build/lib/
sudo ldconfig
cd openlase
edit libol/trace.c, comment out #include <sys/malloc.h>
edit tools/simulator.c, change to
#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/glu.h>
edit CMakeLists.txt, add the following line after set(CMAKE...
set(CMAKE_ASM_YASM_COMPILER "/usr/bin/yasm")
comment out the last line
#add_subdirectory (examples)
edit python/CMakeLists.txt,
target_link_libraries(pylase openlase "-lpython2.6")
cmake .
make
now start jackd
jackd -d alsa
you may need to shut down some applications, for some hints:
lsof | grep snd