Hi there,
I'm trying to recompile the Neo-Hookean plugin from the web in my Linux machine (Ubuntu 18.04) in order to learn how to do it. In principle, it seems to be compiling, but the shared library is ~ 30 kB (while the one provided in /bin is ~ 2.2 MB). I'm using g++ (I tried with gcc too), with the flags suggested in the developer's manual
g++ -Wall -fPIC -c FENeoHookeanPI.cpp -I/home/xx/opt_local/febio-2.8.0-sdk/sdk/include
g++ -shared -Wl,-soname,libtest-ma.so -o libtest-ma.so FENeoHookeanPI.o
I also tried to specifically point to the libraries under /home/xx/opt_local/febio-2.8.0-sdk/sdk/lib... but still nothing.
Any suggestion? Is there any IDE that could help with this? (I tried with CLion but I have little experience with CMake).
Thanks in advance!
MA
I'm trying to recompile the Neo-Hookean plugin from the web in my Linux machine (Ubuntu 18.04) in order to learn how to do it. In principle, it seems to be compiling, but the shared library is ~ 30 kB (while the one provided in /bin is ~ 2.2 MB). I'm using g++ (I tried with gcc too), with the flags suggested in the developer's manual
g++ -Wall -fPIC -c FENeoHookeanPI.cpp -I/home/xx/opt_local/febio-2.8.0-sdk/sdk/include
g++ -shared -Wl,-soname,libtest-ma.so -o libtest-ma.so FENeoHookeanPI.o
I also tried to specifically point to the libraries under /home/xx/opt_local/febio-2.8.0-sdk/sdk/lib... but still nothing.
Any suggestion? Is there any IDE that could help with this? (I tried with CLion but I have little experience with CMake).
Thanks in advance!
MA
Comment