Topic: Installation problem with the libsm.so

Hi

when I try to make the OOFEM in UBUNTU 12.10, the following error occur:

Linking CXX shared library libtm.so
[ 99%] Built target tm
Scanning dependencies of target oofem
[100%] Building CXX object CMakeFiles/oofem.dir/src/main/main.C.o
Linking CXX executable oofem
src/sm/libsm.so: undefined reference to `oofem::HeMoTKMaterial::inverse_sorption_isotherm(double)'
collect2: ld returned 1 exit status
make[2]: *** [oofem] Error 1
make[1]: *** [CMakeFiles/oofem.dir/all] Error 2
make: *** [all] Error 2

What should I do?

Re: Installation problem with the libsm.so

Dear mehdi,

What version of OOFEM, and what version of CMake are you using?

If you're not already using it, please try the development version from git. (we are about to make a new oofem release anyway).

Re: Installation problem with the libsm.so

I used the Cmake ver 2.8.12 and everything is OK

http://www.cmake.org/

thanks