To verify if Qt5WebEngine has been correctly detected and is used by runSofa:
– Check that
SOFAGUIQT_ENABLE_QDOCBROWSERis ON in CMake-GUI
– Check that <build-dir>/include/SofaGui/sofa/gui/qt/config.h contains
#define SOFAGUIQT_HAVE_QT5_CHARTS 1and
#define SOFAGUIQT_HAVE_QT5_WEBENGINE 1
– Check what is returned by
otool -L <build-dir>/bin/runSofa…[Read more]
Glad you achieved v20.06 compilation.
The 2 CMake warnings you showed are known, the first one is here to discourage users from using SofaAdvanced in their CMakeLists, the second one is an minor issue in SoftRobots.
The warning about PythonEnvironment appears because SofaPython tries by default to find a Python directory (site-packages) in…[Read more]
When Eigen3 auto-fetch fails, you can either:
– check the error in C:/Users/Teffy/SOFA/build/external_directories/fetched/eigen3/logs.txt and fix it (or post it here to get help)
– remove completely C:/Users/Teffy/SOFA/build/external_directories/fetched/eigen3 and retry
– set SOFA_FETCH_EIGEN3=ON in CMake GUI and retry
Tell us if one of these 3…[Read more]
Guillaume replied to the topic Target "Qt5::Xml" not found (cmake-gui/Win10/VS2017x64) in the forum Building SOFA 7 months, 3 weeks ago
Our Windows developers are indeed working in majority in 64-bit configuration.
How did CMake find the other Qt libraries? Did you set CMAKE_PREFIX_PATH as the doc suggests?
Could you show us your CMakeCache.txt?
I can see from your tree that you did a Debug build. Thus, the resulting executable is bin/Debug/runSofa_d.exe
You say there is no binary generated, but there is (in bin/Debug). Did you expect something else?
To generate Release binaries, make sure to compile the ALL_BUILD project in Release mode. To switch mode with Visual Studio, changing the…[Read more]
Are you building the project RUN_TESTS on purpose?
If you want to compile SOFA without running the tests (some of them do not pass obviously), you should build the project ALL_BUILD instead.
Hope that helps,
There is no error in your output.
“CGALPlugin: could not find image, won’t build MeshGenerationFromImage_test”
This means that CGALPlugin tried to find another plugin called “image”. The plugin “image” is present in SOFA and can be activated in CMake-GUI. It is a soft dependency though, used only by the component MeshGenerationFromImage, so…[Read more]
If I understand correctly, you have 2 version of CMake installed:
– CMake 3.13 in your home with executable at
– CMake 3.5.2 in your system
To switch which CMake is used by default, you must use update-alternatives (paths may differ upon your installation):
sudo update-alternatives[Read more]
Guillaume replied to the topic windows 10, gtx 970, download, install, execute, crash, wtf ? in the forum Getting Started 9 months, 1 week ago
Could you install Python 2.7 and retry?
DataRepository is initialized with the value of SHARE_DIR and EXAMPLES_DIR taken from /etc/sofa.ini
/etc/sofa.ini should contain
Thus, DataRepository should contain
GuiDataRepository is initialized with the value of…[Read more]
It seems that DataRepository and GuiDataRepository are not correctly initialized.
I tried on my VM with MacOS 10.14 and it worked well (like Froy).
What is your MacOS version?
I just had this issue. Here is how I solved it.
1. Download and install the highest possible Xcode compatible with your MacOS.
Compatibility list (taken from Wikipedia):
MacOS >= 10.15.2 : Xcode 11.4
MacOS >= 10.14.4 : Xcode 11.3.1
MacOS >= 10.14.3 : Xcode 10.3
MacOS >= 10.13.6 : Xcode 10.1
MacOS >= 10.13.2 : Xcode 9.4.1
MacOS >=…[Read more]
- Load More