- This topic has 1 reply, 2 voices, and was last updated 8 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Building SOFA › [SOLVED] Problem sofa v15.12 After make there is just one build folder – Ubuntu 14.04 LTS
Tagged: QtCreator
Hi all,
I have followed the Build on Linux instructions, but after the make command in the sofa directory I do not have two build directories as mentioned in the “Setting up QtCreator” section.
I used git clone -b v15.12 git://scm.gforge.inria.fr/sofa/sofa.git sofa/v15.12/src/
What should I do to continue the procedure?
Thanks!
Dear Ceci,
If you have a structure as follows:
sofa/v15.12/
The make command has to be done in the sofa/v15.12/build/ directory and after configuring the project with cmake (cmake ../src from the build directory). If the compilation with make completed, you can already run the runSofa executable and play with SOFA!
QtCreator is not compulsory. It is an IDE (integrated development environment) to edit the code, but it isn’t compulsory. If you want to use QtCreator, open project CMakeLists.txt. Choose the sofa/v15.12/build/ as build directory, then click on Finish. The whole SOFA project should appear. QtCreator is ready to compile, and the build configuration is named “all”, though it corresponds to a Release.
The case with two build directories corresponds to the case you want to have a release and a debug build. It might not be useful for you.
Let me know if you need further assistance.
Cheers,
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.