Page 1 of 1
Error running basic examples
Posted: Mon Feb 01, 2021 8:55 pm
by Ons_snO
Hello,
When I try to run any simulation from the examples provided through GitHub, I get this error:
Code: Select all
[FATAL] Can't load library "/usr/local/lib/argos3/libargos3plugin_simulator_epuck.so" even after trying to add extensions for shared library (so) and module library (so):
/usr/local/lib/argos3/libargos3plugin_simulator_epuck.so: libQt5Core.so.5: cannot open shared object file: No such file or directory
/usr/local/lib/argos3/libargos3plugin_simulator_epuck.so.so: /usr/local/lib/argos3/libargos3plugin_simulator_epuck.so.so: cannot open shared object file: No such file or directory
/usr/local/lib/argos3/libargos3plugin_simulator_epuck.so.so: OK
Any idea how to solve this, please?
Thank you in advance!
Re: Error running basic examples
Posted: Tue Feb 02, 2021 4:22 am
by jharwell
Did you install ARGoS from source or from a package ? It looks like ARGOS can't find all its libraries. Does the <install prefix>/lib/argos3 contain the epuck library ?
- John
Re: Error running basic examples
Posted: Tue Feb 02, 2021 7:38 am
by Ons_snO
Hi John,
Many thanks for your reply.
I have Argos libraries including the ones mentioned in the error message.
Code: Select all
libargos3core_simulator.so libargos3plugin_simulator_genericrobot.so
libargos3plugin_simulator_dynamics2d.so libargos3plugin_simulator_media.so
libargos3plugin_simulator_dynamics3d.so libargos3plugin_simulator_pointmass3d.so
libargos3plugin_simulator_entities.so libargos3plugin_simulator_prototype.so
libargos3plugin_simulator_epuck.so libargos3plugin_simulator_qtopengl.so
libargos3plugin_simulator_eyebot.so libargos3plugin_simulator_spiri.so
libargos3plugin_simulator_footbot.so
I have installed it from a package.
Many thanks
Re: Error running basic examples
Posted: Tue Feb 02, 2021 5:05 pm
by jharwell
Do you have Qt installed ? It looks like libQt5Core.so is missing. What does "ldd /path/to/argos3/lib/libargos3plugin_simulator_epuck.so" show ?
Re: Error running basic examples
Posted: Tue Feb 02, 2021 7:34 pm
by pincy
Do you happen to have Anaconda installed? That is a common cause for errors like this. Please report the output of 'echo $LD_LIBRARY_PATH', it's gonna help us find spot the issue.
Re: Error running basic examples
Posted: Fri Feb 05, 2021 4:50 pm
by Ons_snO
Many thanks for your answers. I fixed that issue, but now I have another one.
Code: Select all
[FATAL] Failed to initialize the visualization. Parse error in the <visualization> subtree.
[FATAL] Error initializing QTOpenGL camera settings
[FATAL] Error parsing attribute "idx"
Attribute does not exist <ticpp.h@1791>
I have tried all the possible solutions I found online, but nothing helped.
Do you have any idea how to fix this please?
Appreciate your help!
Re: Error running basic examples
Posted: Fri Feb 05, 2021 8:16 pm
by pincy
We just updated ARGoS to beta57. The attribute 'idx' became 'index'. Check the output of 'argos3 -q qt-opengl' for details.