Forum Replies Created
-
AuthorPosts
-
taroBlocked
We managed to run it!!
We built in Release mode and followed Guillaumes instructions by placing the plugin folders in the bin/Release folder and it works perfectly.
Thank you Hugo & Guillaume for your help!!
taroBlockedHey Guillaume,
Thank you so much for your help!
We did not have the mentioned folders in the bin, so we took them from the Anaconda directory and placed them in the bin. This almost solved the problem, so we don’t get error messages anymore. The SOFA GUI is loaded, but it’s all white and not responding.
PS – We are running runSofa_d.exe (Debug mode).Do you know this problem?
Best,
TabithataroBlockedHas anyone ever successfully compiled SOFA on Windows with VS 2019?
We’re slowly running out of ideas.
First, CMake automatically uses the QT version of Anaconda, which is version 5.9.7. We cannot update it there to the latest version (5.13), removal of QT from the environment (base(root)) is also not possible.Second, when downloading and installing the latest QT version (5.13), there are no libraries for VS2019, we only have a folder called msvc2017_64 (and few others, but none for 2019). So we assume that even if we would get CMake to use this version of QT, it would not work with VS2019.
We also tried to compile it with VS2017 and Boost 1.64, but got some linking errors in VS which we could not resolve until now.
Every help and hint would be really appreciated, after 1 week of doing nothing else our brains are slowly going crazy. 🙂 Thank you in advance!
Best,
TabithataroBlockedI just managed to compile it, but honestly, I’m not sure what the key was. There is another error coming up now when I try to run runSofa.exe, I will open up a new topic for that. But just in case someone has the same errors, here is what I did (as far as I remember 🙂 ):
– Install QT 4.9.1, VS 2019, Boost 1.70, the windows dependency pack linked in the documentation
– Added the variables to my path (environment variables):
C:\local\boost_1_70_0
C:\Qt\5.12.3\msvc2017_64\bin
C:\Qt\5.12.3\msvc2017_64\lib
C:\local\boost_1_70_0\lib64-msvc-14.2
in my case– Cloned SOFA from the Git as described in the documentation
– Copied the files from the include folder from the windows dependency pack into the include directory in sofa/src/
– Opened the CMake GUI and followed the steps in the documentation, including setting the BOOST_ROOT to C:\local\boost_1_70_0\lib64-msvc-14.2 and the CMAKE_CONFIGURATION_TYPE to Release only. After configuration and generation, I also copied the files in the include folder of the Windows Dependency Pack to the sofa/build/include directory. This step is not mentioned in the documentation.
– I then opened Sofa.sln in VS 2019 and built the solution.
– Copy the lib files from the windows dependency pack to the sofa/build/bin/Release directory
I now get a Sig 22 – SIGABRT error when trying to run runSofa.exe.
taroBlockedAs it happens from time to time, I managed to solve the error myself shortly after. I forgot to copy the lib files from the windows dependency pack to the sofa/build/lib directory.
taroBlockedHey Hugo,
Thank you! We’ve followed the documentation in detail for several times, including the step with the BOOST_ROOT, but unfortunately this did not help.
Best,
Tabitha -
AuthorPosts