- This topic has 1 reply, 2 voices, and was last updated 3 years, 6 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 › SofaPython3 › Getting Started › SofaPython3 windows 10 compile error
Tagged: simulationgraph-config, SOFA_2012, VS2019, Windows_10
Hi,
I compile and install SOFA V20.12.02 by myself. Now I want to compile sofaPython3 out of tree.
when I cmake it using cmake gui, I get this error,
I don’t know how to import the image, so I try to copy the error message directly
CMake Error at Plugin/CMakeLists.txt:44 (find_package):
By not providing “FindSofaSimulationGraph.cmake” in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
“SofaSimulationGraph”, but CMake did not find one.
Could not find a package configuration file provided by
“SofaSimulationGraph” with any of the following names:
SofaSimulationGraphConfig.cmake
sofasimulationgraph-config.cmake
Add the installation prefix of “SofaSimulationGraph” to CMAKE_PREFIX_PATH
or set “SofaSimulationGraph_DIR” to a directory containing one of the above
files. If “SofaSimulationGraph” provides a separate development package or
SDK, be sure it has been installed.
I saw some thread about this error, but I tried to search in my SOFA install file. I found that there is no such sofasimulationgraph-config.cmake file. How can I solve the problem? thanks for your help!
Judy
Hey @qdyuan4619
This recent documentation explaining what is, how to install, how to use SofaPython3 should be your solution.
In your case, before compiling SofaPython3 make sure to have the SOFA_ROOT variable defined, as explained here.
Best wishes,
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.