- This topic has 1 reply, 2 voices, and was last updated 7 years, 10 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] Building the tutorials
Tagged: 64_bits, GCC, Linux_ubuntu, SOFA_1608
Hello,
I upgraded v16.12, and it compiles correctly.
After that, I built the tutorials but I noticed that in the current CMakeLists.txt the anatomyModelling tutorial is commented due to the absence of its CMakeLists!
I tried to write one by myself but I still have compiling errors!
cmake_minimum_required(VERSION 3.1)
project(anatomyModelling)
find_package(SofaGui)
find_package(SceneCreator)
add_executable(${PROJECT_NAME} anatomyModelling.cpp)
target_link_libraries(${PROJECT_NAME} SofaGuiMain SceneCreator SofaBaseTopology )
Any hint to compile this example please?
Dalia
Hi Dalia,
Nice to hear for the v16.12!
It is a good initiative to write this CMakeList.txt. This tutorial is not used often.
You should get inspired from the CMakeList.txt of the oneParticle tutorial. You need the SofaSimulation package at least.
Let us know it works. And if you get it to compile, it would be nice to pull-request it on GitHub 😉
Cheers,
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.