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

Link to this comparison view

Next revision
Previous revision
faq:how_do_i_install_the_openmeeg_binaries [2013/11/28 12:09]
robert moved from development to faq, improved the matlab part
faq:how_do_i_install_the_openmeeg_binaries [2017/08/17 11:21] (current)
Line 40: Line 40:
   export PATH=$PATH:/​opt/​openmeeg/​bin   export PATH=$PATH:/​opt/​openmeeg/​bin
   export DYLD_LIBRARY_PATH=/​opt/​openmeeg/​lib:​$DYLD_LIBRARY_PATH   export DYLD_LIBRARY_PATH=/​opt/​openmeeg/​lib:​$DYLD_LIBRARY_PATH
 +or using LD_LIBRARY_PATH on Linux.
 You can test the actual path that MATLAB will use by  You can test the actual path that MATLAB will use by 
   system('​echo $PATH'​);​   system('​echo $PATH'​);​
-  system('​echo $DYLD_LIBRARY_PATH'​);​+  system('​echo $DYLD_LIBRARY_PATH'​); ​% or LD_LIBRARY_PATH on Linux
   ​   ​
 If it is not appropriate,​ you can do If it is not appropriate,​ you can do
Line 51: Line 52:
   setenv('​DYLD_LIBRARY_PATH',​ ['/​opt/​openmeeg/​lib:'​ getenv('​DYLD_LIBRARY_PATH'​)]);​   setenv('​DYLD_LIBRARY_PATH',​ ['/​opt/​openmeeg/​lib:'​ getenv('​DYLD_LIBRARY_PATH'​)]);​
   ​   ​
-For Linux you should replace DYLD_LIBRARY_PATH with LD_LIBRARY_PATH. +on OS X, or 
-   +
- +
 +  setenv('​PATH',​ ['/​opt/​openmeeg/​bin:'​ getenv('​PATH'​)]);​
 +  setenv('​LD_LIBRARY_PATH',​ ['/​opt/​openmeeg/​lib:'​ getenv('​LD_LIBRARY_PATH'​)]);​
 +on Linux.