Home › Forum › SOFA › Getting Started › [SOLVED] SOFA compiling problem
Tagged: 64_bits, Linux_other, SOFA_1706
- This topic has 4 replies, 2 voices, and was last updated 8 years, 2 months ago by
usr.
-
AuthorPosts
-
4 August 2017 at 22:25 #9897
usr
BlockedI wasn’t able to setup SOFA for simulations on my daughter computer running a Debian 9, even though I followed exactly the well explained procedure in the SOFA Site tutorial (https://www.sofa-framework.org/community/doc/getting-started/build/linux/). Can anyone kindly look over the errors that I get during the compilation and help me resolve them.
- 1- CMake setup
- Generator : CodeBlocks-Ninja
- Native compilers : /usr/bin/clang and /usr/bin/clang++
- 2- Output of CMake Configure
- Please follow the link “https://imagebin.ca/v/3VkoTSE51z4O”
- 3- Selected build files
- Please follow the link “https://imagebin.ca/v/3VkuiuuI6zTc”
4 August 2017 at 22:52 #9898Vincent
BlockedHi,
Could you post the output you get when compiling? From the output of CMake, it looks like the configuration was successful.
Cheers,
Vincent5 August 2017 at 01:39 #9899usr
BlockedThanks for your help, I attached below what I get when I click on generate and I put in bold between bracket the red ouputs. In addition, there is no “runSofa” application within the path /home/user1/sofa/build/v17.06/bin. It is empty and I can not find runSofa anywhere.
Regards.CMake generate outputs:
Install prefix: /home/user1/sofa/build/v17.06/install
Boost version: 1.62.0
Boost version: 1.62.0
Found the following Boost libraries:
system
filesystem
locale
thread
date_time
chrono
atomic
SofaSparseSolver: metis was not found, SparseLDLSolver won’t be built
SofaSparseSolver: csparse was found, SparseLUSolver and SparseCholeskySolver will be built
(QGLViewer: Using Qt5)
(SofaGUIQt: Using Qt5)
SofaTest: optional dependency SofaPython NOT found, Python_test won’t be built
(Adding Plugin CImgPlugin)
CImgPlugin: Enable TIFF Image Format
CImgPlugin: Enable JPEG Image Format
CImgPlugin: Enable PNG Image Format
(Adding Application Modeler)
(Modeler executable: Using Qt5)
(Modeler library: Using Qt5)
(Adding Application runSofa)
Configuring done
Generating done5 August 2017 at 12:43 #9900Vincent
BlockedAt this point, only the configuration is done. To build the runSofa application, you need to run the command
ninjafrom the/home/user1/sofa/build/v17.06/directory. This could take from 10 minutes to 1 hour, depending on your machine.Once compilation is complete, you can run
ninja installfrom the same directory to perform the installation. You can also run Sofa directly from the build directory in/home/user1/sofa/build/v17.06/binLet me know if you still have issues after that.
Cheers,
Vincent5 August 2017 at 16:46 #9901usr
BlockedHi,
As you said, the compilation with the ninja took almost 1 hour. Once completed, I was able to successfully run the runSofa application from /home/user1/sofa/build/v17.06/bin.I sincerely appreciate your help and thank you very much for your time and for your experiences sharing.
Best regards, -
AuthorPosts
- You must be logged in to reply to this topic.
