Home › Forum › SOFA › Getting Started › [SOLVED] SOFA does not find ini file (I think)
Tagged: 64_bits, Plugin_Multithreading, SOFA_1812, Windows_10
- This topic has 2 replies, 2 voices, and was last updated 5 years, 4 months ago by Anonymous.
-
AuthorPosts
-
7 July 2019 at 15:04 #13914AnonymousInactive
Hello, everyone
I’m new to SOFA.
I followed the guide to build SOFA on this web site and I finally completed the building SOFA without any build error.I built with
– Windows 10
– Visual studio 2015 (x64)
– cmake-gui 3.14.5
– QT 5.12.4 (x64)
– Boost 1.64.0
– Python 2.7.13
and I used the default optionHowever, when I run runSOFA.exe, the following error occurs.
It seems that sofa does not ini file.
What should I check or something may missed?Could you help please?
=================CMD MSG===================
[ERROR] [Utils::readBasicIniFile()] Error while trying to read file (D:/SOFA/build) [INFO] [runSofa] PluginRepository paths = D:/SOFA/build/bin/Release [INFO] [runSofa] DataRepository paths = D:/SOFA/src/share;D:/SOFA/src/examples [INFO] [runSofa] GuiDataRepository paths = D:/SOFA/src/applications/projects/runSofa/resources [INFO] [runSofa] Loading automatically plugin list in D:/SOFA/build/bin/Release/plugin_list.conf.default [INFO] [PluginManager] Loaded plugin: D:/SOFA/build/bin/Release/SofaSparseSolver.dll [INFO] [PluginManager] Loaded plugin: D:/SOFA/build/bin/Release/SofaPreconditioner.dll [INFO] [PluginManager] Loaded plugin: D:/SOFA/build/bin/Release/CImgPlugin.dll [INFO] [PluginManager] Loaded plugin: D:/SOFA/build/bin/Release/SofaMiscCollision.dll [INFO] [PluginManager] Loaded plugin: D:/SOFA/build/bin/Release/SofaAllCommonComponents.dll [WARNING] [GUIManager] WARNING(SofaGUI): Previously used GUI not registered. Using default GUI. [INFO] [RequiredPlugin(requiredPlugin1)] Loaded D:/SOFA/build/bin/Release/CImgPlugin.dll [WARNING] [OglModel(VisualBody)] Loading obj mesh file directly inside the VisualModel will be deprecated soon. Use a MeshObjLoader and link the Data to the VisualModel. E.g: <MeshObjLoader name=’myLoader’ filename=’myFilePath.obj’/> <OglModel src=’@myLoader’/> [WARNING] [OglModel(VisualCornea)] Loading obj mesh file directly inside the VisualModel will be deprecated soon. Use a MeshObjLoader and link the Data to the VisualModel. E.g: <MeshObjLoader name=’myLoader’ filename=’myFilePath.obj’/> <OglModel src=’@myLoader’/> [WARNING] [OglModel(VisualEye)] Loading obj mesh file directly inside the VisualModel will be deprecated soon. Use a MeshObjLoader and link the Data to the VisualModel. E.g: <MeshObjLoader name=’myLoader’ filename=’myFilePath.obj’/> <OglModel src=’@myLoader’/> [WARNING] [OglModel(OglModel)] Loading obj mesh file directly inside the VisualModel will be deprecated soon. Use a MeshObjLoader and link the Data to the VisualModel. E.g: <MeshObjLoader name=’myLoader’ filename=’myFilePath.obj’/> <OglModel src=’@myLoader’/> [INFO] [BatchGUI] Computing 1000 iterations. [INFO] [BatchGUI] Processing. [INFO] [BatchGUI] 1000 iterations done in 4.59645 s ( 217.559 FPS). [INFO] [BatchGUI] 1000 iterations done in 4.59645 s ( 217.559 FPS).
================END======================
8 July 2019 at 14:36 #13917HugoKeymasterDear @hyunseoklee
Thank you for your question and welcome to the SOFA forum!
It seems you compiled SOFA successfully. However, when you run runSofa, it runs a batch simulation, i.e. without GUI. Was Qt properly found in the configuration (CMake) phase?
When you run for the first time, it is possible that the .ini files (config file for view for instance). But this is not a problem for your simulation.I hope this helps.
BestHugo
9 July 2019 at 02:00 #13920AnonymousInactiveHi @Hugo !
Thanks replyingYou are right.
I found that cmake did not find Qt directory in cmake configuration phase…After I changed cache entry command “cmake_prefix_path”(small letter) to “CMAKE_PREFIX_PATH”(capital letter), cmake can find Qt dir and runsofa.exe works properly
Thanks a lot, Hugo.
-
AuthorPosts
- You must be logged in to reply to this topic.