Hi Guillame,
thanks a lot for the reply.
Even after launching tools/postinstall-fixup/windows-postinstall-fixup.sh, I still have to copy some folders/files around, but after that everything runs smoothly.
This what I had to do to get everything working in Windows10:
1. configure and generate via the CMake GUI
2. In the build folder run:
>> cmake –build . –config Release
>> cmake –install .
3. Launch the tools/postinstall-fixup/windows-postinstall-fixup.sh as
>> windows-postinstall-fixup.sh my/sofa/build/repo my/sofa/install/repo
4. Copy the content of C:\Repo\sofa\build\install\bin\Release into C:\Repo\sofa\build\install\bin
5. Setting the environment variables to point to the correct paths
When using the Sofa in python3, I also had the following error when trying to initialize the GUI: “This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem”, which is a QT related issue that got fixed by setting the QT_QPA_PLATFORM_PLUGIN_PATH as:
os.environ[‘QT_QPA_PLATFORM_PLUGIN_PATH’] = “C:\\Repo\\sofa\\build\\install\\bin\\platforms”
in my python code.
Thanks,
Maria
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.