Home › Forum › SOFA › Building SOFA › [SOLVED] Problems at lauching runSofa
Tagged: 64_bits, GCC, Linux_ubuntu, Plugin_SoftRobots, runsofa, SOFA_2006
- This topic has 1 reply, 2 voices, and was last updated 4 years, 2 months ago by Hugo.
-
AuthorPosts
-
23 August 2020 at 00:07 #17055antonio.8196Blocked
Hi guys, I’ll try to be really detailed because i already posted a topic which was a bunch of amateur mistakes.
So, my first error was when i was generating the files at using CMake, my problem was that although i downloaded Qt, it looks like that when the files were being downloaded an error happened and it closed the downloading. I couldn’t even find the gcc file inside Qt. I uninstalled Qt and deleted all the archives and reinstalled it. When the downloading was at 50% it appeared an error which said that 3 files (whose names i can not remember) weren’t able to be downloaded because the permission was denied. I just skipped the installation of those 3 files and i continued the download until it finished and i did all the following steps.
When i finished the CMake step, i realized that there were no BOOST_xxxxx files which appear when you end up the Configure step. Also, when i installed the PLUGIN_SOFAPYTHON and pressed configure, there were no errors but the PYTHON_XXXXX files (which appear in red) never showed up; however, there were no mistakes and i continued the build. (Did all of the Cmake_prefix_path thing)
I could compile everything when i wrote the ninja command, did the runSofa_test with no mistakes but every time that it launches it appears the window for 0.1 seconds and it closes.
When i see the terminal, appear a bunch of codes:
s/SofaTest/python' to sys.path [INFO] [SofaPython] Added '/home/klugerjaeger/My-SOFA/src/applications/plugins/SofaPython/python' to sys.path [WARNING] [PythonEnvironment] No python dir found in /home/klugerjaeger/My-SOFA/build [INFO] [PluginManager] Loaded plugin: /home/klugerjaeger/My-SOFA/build/lib/libSofaPython.so
I don’t know if that warning of Python enviroment is something related with the thing i explained about the PLUGIN_SOFAPYTHON.
It also appears something like this
########## SIG 6 - SIGABRT: usually caused by an abort() or assert() ########## -> /home/klugerjaeger/My-SOFA/build/lib/libSofaHelper.so.20.06.99(sofa::helper::BackTrace::dump()+0x23) [0x7feea364a6a3] -> /home/klugerjaeger/My-SOFA/build/lib/libSofaHelper.so.20.06.99(sofa::helper::BackTrace::sig(int)+0x1a2) [0x7feea364a9f2] -> /lib/x86_64-linux-gnu/libc.so.6(+0x3efd0) [0x7feea29d8fd0] -> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7feea29d8f47] -> /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7feea29da8b1]
And a bunch of similar codes like those
And Finally something like this
-> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7fee9412c6dc] -> /home/klugerjaeger/Qt/5.13.2/gcc_64/lib/libQt5Core.so.5(QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x5f) [0x7feea55bec7f] -> /home/klugerjaeger/Qt/5.13.2/gcc_64/lib/libQt5Core.so.5(QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0x112) [0x7feea5565382] -> /home/klugerjaeger/Qt/5.13.2/gcc_64/lib/libQt5Core.so.5(QCoreApplication::exec()+0x80) [0x7feea556dd80] -> /home/klugerjaeger/My-SOFA/build/lib/libSofaGuiQt.so.20.06.99(sofa::gui::qt::RealGUI::mainLoop()+0x11f) [0x7feea25b4daf] -> /home/klugerjaeger/My-SOFA/build/lib/libSofaGuiCommon.so.20.06.99(sofa::gui::GUIManager::MainLoop(boost::intrusive_ptr<sofa::simulation::Node>, char const*)+0x35) [0x7feea65a7665] -> ./bin/runSofa(+0x12af9) [0x55ea8f461af9] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7feea29bbb97] -> ./bin/runSofa(+0x1427a) [0x55ea8f46327a] Aborted (core dumped)
So, i would love if you could help me. I’m using xubuntu 18.04 in a VirtualBox and i don’t know which version of SOFA i downloaded but it was the unstable version.
Thanks you so much in advance!! and i’m sorry for so many posts30 September 2020 at 22:47 #17239HugoKeymasterFirst of all, our apologies for the delay. We had not much time this last month. We will definitely strengthen our online support in the coming weeks.
Regarding your feedback:
– for Python, the plugin seems properly loaded:
[INFO] [PluginManager] Loaded plugin: /home/klugerjaeger/My-SOFA/build/lib/libSofaPython.so
– for the 2 exceptions when did they occurred? Was this when closing SOFA?
Otherwise, can you properly run your simulations?
Best wishes,Hugo
PS: to know what is your version of SOFA, you can run
git log
in the source repo of SOFA -
AuthorPosts
- You must be logged in to reply to this topic.