pincy wrote: ↑Mon Jun 07, 2021 12:20 pm
I don't think it's a bug, but I need more information to understand what is going on.
- Does the file build/examples/loop_functions/trajectory_loop_functions/libtrajectory_loop_functions.so exist?
- Do the other examples work?
Hi pincy,
same problem here:
Code: Select all
Can't load library "build/examples/loop_functions/trajectory_loop_functions/libtrajectory_loop_functions"
- Does the file build/examples/loop_functions/trajectory_loop_functions/libtrajectory_loop_functions.so exist?
- Do the other examples work?
- No, the file build/examples/loop_functions/trajectory_loop_functions/libtrajectory_loop_functions.so does not exist.
- Simple examples, the ones without using loop functions, work.
As you said in a later reply there's an issue with compilation. Namely the if(ARGOS_COMPILE_QTOPENGL) in argos3-kilobot/src/examples/loop_functions/CMakeLists.txt is not verified so the subdirectories "
debug_loop_functions" and "
trajectory_loop_functions" are not built. I have tried to modify that CMakeLists.txt replacing "
ARGOS_COMPILE_QTOPENGL" with "
ARGOS_QTOPENGL_FOUND", and at this point everithing is built.
Now, when I run kilobot_trajectory.argos I got this other error:
Code: Select all
argos@argos-VirtualBox:~/Documents/argos3-kilobot$ argos3 -c src/examples/experiments/kilobot_trajectory.argos
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_eyebot.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_dynamics2d.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_footbot.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_entities.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_epuck.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_spiri.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3core_simulator.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_prototype.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_media.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_dynamics3d.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_qtopengl.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_genericrobot.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_pointmass3d.so"
[INFO] Not using threads
[INFO] Using random seed = 124
[INFO] Using simulation clock tick = 0.0322581
[INFO] Total experiment length in clock ticks = unlimited
[INFO] Loaded library "./build/examples/loop_functions/trajectory_loop_functions/libtrajectory_loop_functions.so"
[INFO] The physics engine "dyn2d" will perform 10 iterations per tick (dt = 0.00322581 sec)
[FATAL] Failed to initialize the space.
[FATAL] Error while trying to distribute entities
[FATAL] Symbol "kilobot" not found
So, I verified that the kilobot is installed running
argos3 -q kilobot and everything seems to be okay:
Code: Select all
argos@argos-VirtualBox:~/Documents/argos3-kilobot$ argos3 -q kilobot
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_eyebot.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_dynamics2d.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_footbot.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_entities.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_epuck.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_spiri.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3core_simulator.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_prototype.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_media.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_dynamics3d.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_qtopengl.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_genericrobot.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_pointmass3d.so"
Plugins matching "kilobot":
None found.
The only thing I installed on a new virtual machine running Ubuntu 18.04 (using VirtualBox) is ARGoS. My Qt version is the following:
Code: Select all
argos@argos-VirtualBox:~/Documents/argos3-kilobot$ qmake --version
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu
Am I missing something?
Could you help me to solve this problem in order to use the kilobot plugin and the loop function? Thanks.