dipetkov / eems

Estimating Effective Migration Surfaces
GNU General Public License v2.0
102 stars 28 forks source link

error make linux command #27

Open gdamasco opened 6 years ago

gdamasco commented 6 years ago

Dear Dr. Petkova,

I got the following error message after updating the variables EIGEN_INC, BOOST_LIB, BOOST_INC in the Makefile.

/bin/ld: cannot find -lboost_system /bin/ld: cannot find -lboost_program_options /bin/ld: cannot find -lboost_filesystem collect2: error: ld returned 1 exit status make: *** [linux] Error 1

this is how it looks like in the Makefile

EIGEN_INC = /global/scratch/damasco/eems/eigen/ BOOST_LIB = /global/scratch/damasco/eems/boost_1_57_0/ BOOST_INC = /global/scratch/damasco/eems/boost_1_57_0/

I am not sure if I am doing it correctly. I saw on the boost program website that these libraries need to be built separately, but I have no clue how. Will it prevent to run eems properly?

thank you for your help Gabriel

arcadeo commented 6 years ago

This comes late, but, depending on where you set the prefix when installing boost, and assuming you set it as --prefix=/global/scratch/damasco/eems/boost_1_57_0/. The correct path in the BOOST variables would look something like: BOOST_LIB = /global/scratch/damasco/eems/boost_1_57_0/lib BOOST_INC = /global/scratch/damasco/eems/boost_1_57_0/include