diff options
Diffstat (limited to 'build/linux/README.txt')
-rw-r--r-- | build/linux/README.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/build/linux/README.txt b/build/linux/README.txt new file mode 100644 index 0000000..9dd7a7a --- /dev/null +++ b/build/linux/README.txt @@ -0,0 +1,20 @@ +Requirements: g++, boost, CUDA (driver+toolkit), +matlab + +cd build/linux +./configure --with-cuda=/usr/local/cuda \ + --with-matlab=/usr/local/MATLAB/R2012a \ + --prefix=/usr/local/astra +make +make install +Add /usr/local/astra/lib to your LD_LIBRARY_PATH. +Add /usr/local/astra/matlab and its subdirectories (tools, mex) + to your matlab path. + + +NB: Each matlab version only supports a specific range of g++ versions. +Despite this, if you have a newer g++ and if you get errors related to missing +GLIBCXX_3.4.xx symbols, it is often possible to work around this requirement +by deleting the version of libstdc++ supplied by matlab in +MATLAB_PATH/bin/glnx86 or MATLAB_PATH/bin/glnxa64 (at your own risk). + |