CMakeList error in C++ scene #2785
-
I used the given CMakeList code in "Create your scene in C++" page to test the given source code in the same page. But when I run cmake to build, the error occured. I know where the SofaFrameworkConfig.cmake is and i had tied to change "find_package(SofaFramework REQUIRED)" to "find_package(/home/user_name/sofa/src/sofabuild/install/lib/cmake/SofaFramework/SofaFramework REQUIRED)", then other errors occured, which is still about some Config.cmake files not found.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hello @DrWiki , I am transferring this issue to the main SOFA repository, as your question is related to building SOFA. |
Beta Was this translation helpful? Give feedback.
-
Before even trying to build this a sample C++ scene, how did you install SOFA? |
Beta Was this translation helpful? Give feedback.
Before even trying to build this a sample C++ scene, how did you install SOFA?
Did you get the binaries from the sofa website (e.g https://github.com/sofa-framework/sofa/releases/download/v21.12.00/SOFA_v21.12.00_Linux.zip ?
Or did you compile it by yourself ?