Git Product home page Git Product logo

argos3's Introduction

ARGoS README

What is ARGoS?

ARGoS is a physics-based simulator designed to simulate large-scale robot swarms. Benchmark results show that ARGoS can perform physics-accurate simulation involving thousands of robots in a fraction of real time. ARGoS' main features are:

  • Multi-threaded and deeply modular architecture, more flexible than any simulator with equivalent features;

  • The possibility to run multiple physics engines at the same time;

  • The possibility to divide the physical space in region, and assign different regions to different physics engines.

Starting from version 3, ARGoS is released under the terms of the MIT license.

Downloading ARGoS

You can download a binary package of ARGoS from http://www.argos-sim.info/download.php. Alternatively, you can download the development sources through git:

$ git clone https://github.com/ilpincy/argos3.git argos3

Compiling ARGoS

Requirements

If you downloaded the sources of ARGoS and want to compile its code, you need:

  • A UNIX system (Linux or MacOSX; Microsoft Windows is not supported)

  • g++ >= 5.4 (on Linux)

  • clang >= 3.1 (on MacOSX)

  • cmake >= 3.5.1

If you want to compile the simulator, you need:

  • FreeImage >= 3.15

The OpenGL-based graphical visualization is compiled only if the following libraries are found:

  • Qt >= 5.5

  • freeglut >= 2.6.0

  • libxi-dev (on Ubuntu and other Debian-based systems)

  • libxmu-dev (on Ubuntu and other Debian-based systems)

If you want to create the Lua wrapper you need:

  • lua == 5.3

If you want to create the documentation you need:

  • To create the API:

    • Doxygen >= 1.7.3

    • Graphviz/dot >= 2.28

  • To create the HTML version of this README:

    • asciidoc >= 8.6.2

Debian

On Debian, you can install all of the necessary requirements with the following command:

$ sudo apt-get install cmake libfreeimage-dev libfreeimageplus-dev \
  qt5-default freeglut3-dev libxi-dev libxmu-dev liblua5.3-dev \
  lua5.3 doxygen graphviz libgraphviz-dev asciidoc

OpenSuse

On openSUSE 13.2, you can install all of the necessary requirements with the following commands:

$ sudo zypper ar -n openSUSE-13.2-Graphics \
  http://download.opensuse.org/repositories/graphics/openSUSE_13.2/ \
  graphics
$ sudo zypper refresh
$ sudo zypper install git cmake gcc gcc-c++ freeimage-devel \
  doxygen graphviz asciidoc lua-devel libqt5-qtbase freeglut-devel \
  rpmbuild

Mac OSX

On Mac, you can install all of the necessary requirements using HomeBrew. On the command line, type the following command:

$ brew install pkg-config cmake libpng freeimage lua qt \
  docbook asciidoc graphviz doxygen

Compiling the code

The compilation of ARGoS is configured through CMake.

Fast compilation instructions

Compiling the ARGoS simulator
$ cd argos3
$ mkdir build_simulator
$ cd build_simulator
$ cmake ../src
$ make
Compiling ARGoS for a robot

DO NOT EXECUTE THESE COMMANDS IF YOU ARE INSTALLING ARGOS ON YOUR LAPTOP. THESE COMMANDS ARE MEANT TO INSTALL ARGOS ON A REAL ROBOT.

$ cd argos3
$ mkdir build_myrobot
$ cd build_myrobot
$ cmake -DARGOS_BUILD_FOR=myrobot ../src
$ make
Compiling the documentation
$ cd argos3
$ cd build_simulator # or 'cd build_myrobot'
$ make doc
ARGoS sources under Eclipse

To use Eclipse with the ARGoS sources, you must have the CDT installed. Optionally, you can also install CMakeEd to modify the CMakeLists.txt files comfortably within Eclipse.

To configure the ARGoS sources for Eclipse, it is better to avoid compiling the code in a separate build directory (for more details, see here). Thus, execute CMake as follows:

$ cd argos3
$ cmake -G "Eclipse CDT4 - Unix Makefiles" src/

Now open Eclipse. Click on FileImport…​, select Existing project into workspace, and click on Next. Set the base argos3 directory as the root directory in the dialog that appears. Click on Next and you’re ready to go.

Advanced compilation configuration

The compilation of ARGoS can be configured through a set of CMake options:

Variable Type Meaning [default value]

CMAKE_BUILD_TYPE

STRING

Build type (Debug, Release, etc.) [empty]

CMAKE_INSTALL_PREFIX

STRING

Install prefix (/usr, /usr/local, etc.) [/usr/local]

ARGOS_BUILD_FOR

STRING

Target of compilation (simulator or robot name) [simulator]

ARGOS_BUILD_NATIVE

BOOLEAN

Whether to use platform-specific instructions [OFF]

ARGOS_THREADSAFE_LOG

BOOLEAN

Use or not the thread-safe version of LOG/LOGERR. [ON]

ARGOS_DYNAMIC_LOADING

BOOLEAN

Compile (and use) dynamic loading facilities [ON]

ARGOS_USE_DOUBLE

BOOLEAN

Use double (ON) or float (OFF) [ON]

ARGOS_DOCUMENTATION

BOOLEAN

Create API documentation [ON]

ARGOS_INSTALL_LDSOCONF

BOOLEAN

Install the file /etc/ld.so.conf/argos3.conf [ON on Linux, OFF on Mac]

You can pass the wanted values from the command line. For instance, if you wanted to set explictly all the default values, when compiling on Linux you would write:

$ cd argos3/build_simulator
$ cmake -DCMAKE_BUILD_TYPE=Debug \
        -DCMAKE_INSTALL_PREFIX=/usr/local \
        -DARGOS_BUILD_FOR=simulator \
        -DARGOS_BUILD_NATIVE=OFF \
        -DARGOS_THREADSAFE_LOG=ON \
        -DARGOS_DYNAMIC_LOADING=ON \
        -DARGOS_USE_DOUBLE=ON \
        -DARGOS_DOCUMENTATION=ON \
        -DARGOS_INSTALL_LDSOCONF=ON \
        ../src
Important
When ARGOS_BUILD_FOR is set to simulator, ARGOS_THREADSAFE_LOG and ARGOS_DYNAMIC_LOADING must be ON.
Important
If you want to install ARGoS without root privileges, remember to set ARGOS_INSTALL_LDSOCONF to OFF. Otherwise, installation will fail midway.
Tip
For production environments, it is recommended to compile ARGoS with CMAKE_BUILD_TYPE set to Release. If you want to debug ARGoS, it is recommended to set CMAKE_BUILD_TYPE to Debug. The other standard settings (empty and RelWithDebInfo) are supported but should be avoided.
Tip
If you want to squeeze maximum performance from ARGoS, along with compiling with CMAKE_BUILD_TYPE set to Release, you can also set ARGOS_BUILD_NATIVE to ON. This setting instructs the compiler to use the compiler flags -march=native and -mtune=native. The code will run faster because you use the entire instruction set of your processor, but the generated binaries won’t be portable to computers with different processors.

Using the ARGoS simulator from the source tree

Important
You can’t install ARGoS system-wide and run the source version at the same time. If you intend to run ARGoS from the sources, you must uninstall it from the system.

Running the ARGoS simulator

If you don’t want to install ARGoS on your system, you can run it from the sources tree. In the directory build_simulator/ you’ll find a bash script called setup_env.sh. Executing this script, you configure the current environment to run ARGoS:

$ cd argos3
$ cd build_simulator
$ . setup_env.sh     # or 'source setup_env.sh'
$ cd core
$ ./argos3 -q all    # this shows all the plugins recognized by ARGoS

If you execute ARGoS with the graphical visualization, you’ll notice that icons, models, and textures are missing. This is normal, as ARGoS by default looks for them in the default install location. To fix this, you need to edit the default settings of the GUI.

On Linux, edit the file $HOME/.config/Iridia-ULB/ARGoS.conf as follows:

[MainWindow]
#
# other stuff
#
icon_dir=/PATH/TO/argos3/src/plugins/simulator/visualizations/qt-opengl/icons/
texture_dir=/PATH/TO/argos3/src/plugins/simulator/visualizations/qt-opengl/textures/
model_dir=/PATH/TO/argos3/src/plugins/simulator/visualizations/qt-opengl/models/
#
# more stuff
#

On Mac, write the following commands on the terminal window to fix the paths manually:

$ defaults write info.argos-sim.ARGoS MainWindow.texture_dir -string "/PATH/TO/argos3/src/plugins/simulator/visualizations/qt-opengl/textures/"
$ defaults write info.argos-sim.ARGoS MainWindow.model_dir -string "/PATH/TO/argos3/src/plugins/simulator/visualizations/qt-opengl/models/"
$ defaults write info.argos-sim.ARGoS MainWindow.icon_dir -string "/PATH/TO/argos3/src/plugins/simulator/visualizations/qt-opengl/icons/"
$ killall -u YOURUSERNAME cfprefsd

or use these commands to delete these paths and have ARGoS look for them:

$ defaults write info.argos-sim.ARGoS
$ killall -u YOURUSERNAME cfprefsd

Be sure to substitute /PATH/TO/ with the correct path that contains the argos3 folder, and YOURUSERNAME with your username as displayed on the terminal.

Debugging the ARGoS simulator

You can debug the ARGoS code using gdb. Since the code in scattered across multiple directories, you need a .gdbinit file. Luckily for you, this file is created automatically when you compile ARGoS. To use it, you just need to remember to run the ARGoS simulator from the build_simulator/core/ directory:

$ cd argos3/build_simulator/core
$ gdb ./argos3

Installing ARGoS from the compiled binaries

To install ARGoS after having compiled the sources, it is enough to write:

$ cd argos3
$ cd build_simulator # or 'cd build_myrobot'
$ make doc           # documentation is required!
$ sudo make install

Alternatively, one can create a package. To build all the packages supported by your system, run these commands:

$ cd argos3
$ git tag -a X.Y.Z-release # give the package a unique version
                           # the format must be as shown
                           # X       = version major
                           # Y       = version minor
                           # Z       = version patch
                           # release = a textual label
$ cd build_simulator       # or 'cd build_myrobot'
$ cmake .                  # let CMake read the newly set tag
$ make doc                 # documentation is required!
$ make                     # compile the code
$ sudo make package        # make the package

This typically creates a self-extracting .tar.gz archive, a .tar.bz2 archive, a .zip archive, and a platform-specific archive (.deb, .rpm, or a MacOSX package). You can determine which packages to create by setting the variables CPACK_BINARY_DEB, CPACK_BINARY_RPM, CPACK_BINARY_STGZ, CPACK_BINARY_TBZ2, CPACK_BINARY_TGZ, CPACK_BINARY_TZ.

Important
the creation of source packages through the command make package_source is not supported.

An easier option is to install ARGoS from a package distributed at http://www.argos-sim.info/download.php.

argos3's People

Contributors

alanmillard avatar allsey87 avatar cardinot avatar concatime avatar daneshtarapore avatar emerckx avatar freedomcondor avatar gamemonkey avatar gitsper avatar gusz92 avatar hikhvar avatar ilpincy avatar jadhavan avatar jharwell avatar mniess avatar pawel-jakubowski avatar petermitrano avatar xinyi-joffre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

argos3's Issues

Argos beta 50 fails to run due to unresolved symbol

The following error occurs:

ubuntu@computer01:~/Ziya/argos3-examples/experiments$ argos3 -c synchronization.argos
[FATAL] Can't load library "/usr/lib/argos3/libargos3plugin_simulator_dynamics3d.so" even after trying to add extensions for shared library (so) and module library (so):
/usr/lib/argos3/libargos3plugin_simulator_dynamics3d.so: /usr/lib/argos3/libargos3plugin_simulator_dynamics3d.so: undefined symbol: _ZTIN5argos21CMagnetEquippedEntityE
/usr/lib/argos3/libargos3plugin_simulator_dynamics3d.so.so: /usr/lib/argos3/libargos3plugin_simulator_dynamics3d.so.so: undefined symbol: _ZTIN5argos21CMagnetEquippedEntityE
/usr/lib/argos3/libargos3plugin_simulator_dynamics3d.so.so: OK

CMagnetEquippedEntity is not in current argos release (beta 50), but it is on github (I did not try the github version).

Solution to the "QObject::disconnect: Unexpected null parameter" warning

This is low priority, but there is a small bug in the Lua interface that causes the QObject::disconnect: Unexpected null parameter error. As shown in the backtrace I prepared, this results from trying to disconnect the Qt signals from m_pcLuaVariableTree->model(), which is already NULL at the time of the call to disconnect.

void CQTOpenGLLuaMainWindow::HandleEntityDeselection(size_t) {
   disconnect(&(m_pcMainWindow->GetOpenGLWidget()), SIGNAL(StepDone(int)),
              m_pcLuaVariableTree->model(), SLOT(Refresh(int)));
   disconnect(m_pcMainWindow, SIGNAL(ExperimentReset()),
              m_pcLuaVariableTree->model(), SLOT(Refresh()));
   disconnect(m_pcLuaVariableTree->model(), SIGNAL(modelReset()),
              this, SLOT(VariableTreeChanged()));
   m_pcLuaVariableDock->hide();
   delete m_pcLuaVariableTree->model();
   m_pcLuaVariableTree->setModel(NULL);
   disconnect(&(m_pcMainWindow->GetOpenGLWidget()), SIGNAL(StepDone(int)),
              m_pcLuaFunctionTree->model(), SLOT(Refresh(int)));
   disconnect(m_pcMainWindow, SIGNAL(ExperimentReset()),
              m_pcLuaFunctionTree->model(), SLOT(Refresh()));
   disconnect(m_pcLuaFunctionTree->model(), SIGNAL(modelReset()),
              this, SLOT(FunctionTreeChanged()));
   m_pcLuaFunctionDock->hide();
   delete m_pcLuaFunctionTree->model();
   m_pcLuaFunctionTree->setModel(NULL);
}

This occurs only when deselecting a non-controllable entity since m_pcLuaVariableTree->model() is never set due to the if condition below that only sets the model if the selected entity in void CQTOpenGLLuaMainWindow::HandleEntitySelection(size_t un_index) is controllable.

if(bFound &&
   m_vecControllers[m_unSelectedRobot]->GetLuaState() != NULL) {
   CQTOpenGLLuaStateTreeVariableModel* pcVarModel =
      new CQTOpenGLLuaStateTreeVariableModel(m_vecControllers[m_unSelectedRobot]->GetLuaState(),
                                             false,
                                             m_pcLuaVariableTree);
   pcVarModel->Refresh();
   connect(&(m_pcMainWindow->GetOpenGLWidget()), SIGNAL(StepDone(int)),
           pcVarModel, SLOT(Refresh(int)));
   connect(m_pcMainWindow, SIGNAL(ExperimentReset()),
           pcVarModel, SLOT(Refresh()));
   connect(pcVarModel, SIGNAL(modelReset()),
           this, SLOT(VariableTreeChanged()),
           Qt::QueuedConnection);
   m_pcLuaVariableTree->setModel(pcVarModel);
   m_pcLuaVariableTree->setRootIndex(pcVarModel->index(0, 0));
   m_pcLuaVariableTree->expandAll();
   ...
}

There are different solutions to this problem, for example, a quick hack would just check if the entity was controllable before calling disconnect. However, I think the most problematic line is m_vecControllers[m_unSelectedRobot]->GetLuaState() which seems to assume that the select robot index has a controller in the first place...

robots able to comunicate through obstacles via RAB

Footbots are able to occasionally communicate through obstacles using the RAB sensor and actuator.

Adding CCI_RangeAndBearingActuator and CCI_RangeAndBearingSensor to footbot_diffusion.cpp and setting 'show_rays="true"' in diffusion_10.argos will reproduce the bug as shown below.

screenshot from 2017-02-01 12-48-02

This was also tested with two footbots either side of a wall. They would continue to occasionally connect with one another through the object.

Segfault from inside i965_dri.so when selecting box

Hi,

Referring to gdbbacktrace.txt, it seems when I select a box in ARGoS I get a segfault from somewhere inside i965_dri.so (my intel graphics driver).

It is a bit strange as one of the last calls before the trace disappears inside graphics driver is to CQTOpenGLOperationDrawBoxNormal, which should always run on each frame. I would have expected the segfault to come after a CQTOpenGLOperationDrawBoxSelected.

I have tested this on a vanilla clone of this repo, checked out on the same date as this post. I am running Ubuntu Gnome 16.04 LTS, this is my uname -a output

Linux Fujitsu-Laptop 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

For details about the driver in use see: module-info-i915.txt

Segmentation fault when robots with Lua controllers are selected

Shift+clicking on a robot should select the robot and display its internal variable values in the Lua editor, but this results in a segmentation fault. I cannot reproduce this problem on my Mac, but it happens every time under Linux. I'm running the latest version of ARGoS (3.0.0-beta48).

The attached file contains the .argos configuration file, .lua controller, and an example core dump.

core_dump.zip

Eye-bot proximity sensor and box bug

Dear @ilpincy,

I have noticed a bug while simulating an experiment with an eye-bot. In this experiment, I have placed an eye-bot (containing a proximity sensor) in front of a box entity.

frame_00002

As you can see in the picture, some rays of the proximity sensor that aren't intersecting with the entity, are marked in magenta. But the correct color of those rays should be cyan, which means: not intersecting with an entity.

I think this issue is caused by the mathematical model of the box. More precisely, I think there is a check missing in the intersection method: if the intersection point is behind the start point of the ray, no intersection occurs.

Does this seem like a possible solution for the problem to you?

Sincerely yours,
Ewout Merckx

Segmentation fault (core dumped)

After the latest pull, I am getting a segmentation fault error when running a previously working project:

@ubuntu:~/argos3-examples$ argos3 -c experiments/obstacle_avoidance.argos 
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_qtopengl.so"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_footbot.so"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_media.so"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_epuck.so"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_spiri.so"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_entities.so"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3core_simulator.so"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_eyebot.so"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_pointmass3d.so"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_genericrobot.so"
[INFO] Loaded library "/usr/local/lib/argos3/libargos3plugin_simulator_dynamics2d.so"
[INFO] Not using threads
[INFO] Using random seed = 124
[INFO] Using simulation clock tick = 0.1
[INFO] Total experiment length in clock ticks = unlimited
[INFO] Loaded library "./build/controllers/obstacle_avoidance/libobstacle_avoidance.so"
Segmentation fault (core dumped)

Selecting a non controllable object causes segmentation fault when updating the Lua Variable Tree

As the title suggests, when an uncontrollable object is selected, there is a segfault that occurs when the QtLuaEditorWindow tries to get the 'variables' from the non controllable object.

Here is a backtrace from GDB:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff1f26cfc in argos::CQTOpenGLLuaMainWindow::VariableTreeChanged (this=0xe86bc0)
    at /home/allsey87/Workspace/ARGoS/argos3/src/plugins/simulator/visualizations/qt-opengl/qtopengl_lua_main_window.cpp:741
741       m_pcLuaVariableTree->setRootIndex(m_pcLuaVariableTree->model()->index(0, 0));
(gdb) backtrace
#0  0x00007ffff1f26cfc in argos::CQTOpenGLLuaMainWindow::VariableTreeChanged (this=0xe86bc0)
    at /home/allsey87/Workspace/ARGoS/argos3/src/plugins/simulator/visualizations/qt-opengl/qtopengl_lua_main_window.cpp:741
#1  0x00007ffff1ef9e7d in argos::CQTOpenGLLuaMainWindow::qt_static_metacall (_o=0xe86bc0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x2703ef0)
    at /home/allsey87/Workspace/ARGoS/argos3/build/plugins/simulator/visualizations/qt-opengl/moc_qtopengl_lua_main_window.cxx:83
#2  0x00007ffff08f9446 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007ffff0e52b7b in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#4  0x00007ffff122cc4b in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#5  0x00007ffff0e02894 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#6  0x00007ffff0e07713 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7  0x00007ffff1f03a6a in argos::CQTOpenGLApplication::notify (this=0x624a20, pc_receiver=0xe86bc0, pc_event=0x2627030)
    at /home/allsey87/Workspace/ARGoS/argos3/src/plugins/simulator/visualizations/qt-opengl/qtopengl_application.cpp:21
#8  0x00007ffff08dfe9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007ffff08e3c6a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007ffff090ef93 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007fffee487d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fffee4880a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fffee488164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff090f3bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007ffff0eaad5e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007ffff08dec82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007ffff08deed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007ffff08e3f67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007ffff1f12501 in argos::CQTOpenGLRender::Execute (this=0x624850) at /home/allsey87/Workspace/ARGoS/argos3/src/plugins/simulator/visualizations/qt-opengl/qtopengl_render.cpp:61
#20 0x00007ffff7b3f0c1 in argos::CSimulator::Execute (this=0x623570) at /home/allsey87/Workspace/ARGoS/argos3/src/core/simulator/simulator.cpp:239
#21 0x0000000000415062 in main (n_argc=3, ppch_argv=0x7fffffffdd08) at /home/allsey87/Workspace/ARGoS/argos3/src/core/simulator/main.cpp:38
(gdb) 

Segfault when accessing gripped entity

I get a Segemantation fault, when accessing the EmbodiedEntity the gripper holds via the .GetGrippedEntity() function.
I forked the argos3-examples repository and implemented a loopfunction, that produces the segault with the gripper example.

Steps to reproduce:

  1. clone https://github.com/randusr/argos3-examples
  2. build & run gripper example
  3. press start in gui
  4. as soon as the robot grips the cylinder, the Segfault occurs

Black area and no GUI icons

Hi,

I compiled simulator under Ubuntu 15.10 64-bit and I get black floor in simulation. What is more there is no icons for controls. Is there any way to fix it (maybe I forgot to set some variable during compilation?).

It looks like this:
argos_problem

Draw Position Error After Drawing Circles

Hello,

The function of CQTOpenGLUserFunctions::DrawCircle( ) did not do the job glPushMatrix(); and glPopMatrix(); So things drawed after the first call of this function will be distracted. I tried add them to this function, seems solve this problem.

Cheers,
Guangsha Xu

SelectionInfo.Index out of bounds when entities are added/removed

On line 207 of qtopengl_widget.cpp, there is an assumption that vecEntities has not changed and that SelectionInfo.Index is always valid over the collection. This does not always hold, and SelectionInfo.Index can be out of range if, for instance, entities are removed from CSpace::m_vecRootEntities during a CLoopFunctions::Reset

One quick fix could be to check if the size of the vector has changed between calls to DrawScene? Or perhaps CSpace could contain a flag indicating that m_vecRootEntities has changed and visualizations can consequently drop any selection info.

Symbol "qtopengl_render" not found

Help of argos3 says that I should use:

<visualization>
    <qtopengl_render>
      <user_functions library="/path/to/libmyuserfunctions.so"
                      label="my_user_functions" />
    </qtopengl_render>
 </visualization>

However when I try this I obtain:

[ 75%] Built target argos3plugin_simulator_flocking
[100%] Built target flocking
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_footbot.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_spiri.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_pointmass3d.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_genericrobot.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3core_simulator.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_eyebot.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_qtopengl.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_entities.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_dynamics2d.so"
[INFO] Loaded library "�[0[FATAL] Failed to initialize the visualization. Parse error in the <visualization> subtree.
[FATAL] Symbol "qtopengl_render" not found
m/usr/lib/argos3/libargos3plugin_simulator_media.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_epuck.so"
[INFO] Loaded library "/home/pjakubow/workspaces/Swarm/Flocking/Debug/robots/flocking/libargos3plugin_simulator_flocking.so"
[INFO] Not using threads
[INFO] Using random seed = 911832
[INFO] Using simulation clock tick = 0.0166667
[INFO] Total experiment length in clock ticks = unlimited
[INFO] Loaded library "./controllers/flocking/libflocking.so"
[INFO] The physics engine "dyn2d" will perform 10 iterations per tick (dt = 0.00166667 sec)
[100%] Built target start

When I change qtopengl_render to qt-opengl everything works fine. Probably it is only help page problem.

Entity selection box not anchored to entity

When selecting an entity, the selection box is not anchored to the entity itself (see image below). If a robot is selected, then the position of the box begins anchored on the robot, and then floats up into the air as the robot moves. Moving the camera also causes the selection box to move around.

I've only been able to reproduce this issue in my Ubuntu 16.04 VM (it doesn't happen under macOS). I'm testing this with 3.0.0-beta48 and Qt 5.5.1.

selection_box_bug

Fix AddComponent in C[Entity]EquippedEntity Classes

During checking my code, I noticed that the constructor initialisation path for many of the CEntityEquippedEntity entities is somewhat broken. The method AddComponent will add components to the composable entity correctly, however, the update components specialisation in the class (which uses an anchor and an offset often defined in a struct inside the class) would have no effect on these components. To this end, I propose applying the following pattern to the affected classes:

class CEntityEquippedEntity {
public:
   virtual void Init(TConfigurationNode& t_tree) {
      /* initialization code to init the entity, find its anchor, offset etc */
      AddComponent(pc_entity, s_anchor, c_offset);
   }

   /* new public version of AddComponent */
   (virtual) void AddComponent(CEntity* pc_entity, SAnchor& s_anchor,  CVector3& c_offset) {
      m_vecInstances.push_back(new SInstance(*pc_entity, s_anchor, c_offset));
      AddComponent(pc_entity);
   }

private:
   /* override the inherited AddComponent and make it private so only we
      can call this function (I think this should work) */
   virtual void AddComponent(CEntity* pc_entity) {
      CComposableEntity::AddComponent(pc_entity);
   }

};

I would say that this issue isn't urgent, but I think it should be fixed at some point in the future.

Camera angled at 90 degrees

Strangely, a custom-defined camera is angled at 90 degrees using the following specific setting:

<placement idx="1" position="0,-5, 1" look_at="0,0,0" lens_focal_length="20" />

as can be seen on this image:

I can fix it by having a non-zero x position, like so:

<placement idx="1" position="0.00001,-5, 1" look_at="0,0,0" lens_focal_length="20" />

How / where to free up data for plug-ins using CFactory

The following specializations of CFactory are created via macros but are never destroyed. This leads to memory errors being reported by Valgrind. We need to call these functions somewhere:

  1. CFactory<CDynamics3DPlugin>::Destroy()
  2. CFactory<CCameraSensorSimulatedAlgorithm>::Destroy()
  3. CFactory<CBatteryDischargeModel>::Destroy()

Segmentation fault after "./argos3 -q all"

Hello ilpincy,

I have noticed an issue while executing the following commands.

$ cd argos3
$ cd build_simulator
$ . setup_env.sh     # or 'source setup_env.sh'
$ cd core
$ ./argos3 -q all    # this shows all the plugins recognized by ARGoS

When executing the last command, all the actuators, sensors, entities, ... are shown. But after that, there is a segmentation fault and the core gets dumped.

Segmentation fault (core dumped)

Problem running an example

I installed ARGoS successfully, but when i try to run one of the ARGoS examples, I get the following error:

/Desktop/argos3-examples$ argos3 -c experiments/diffusion_1.argos
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_genericrobot.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_footbot.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_eyebot.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_media.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_entities.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_dynamics2d.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_pointmass3d.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_qtopengl.so"
[INFO] Loaded library "/usr/lib/argos3/libargos3plugin_simulator_epuck.so"
[INFO] Not using threads
[INFO] Using random seed = 124
[INFO] Using simulation clock tick = 0.1
[INFO] Total experiment length in clock ticks = unlimited
[INFO] Loaded library "./build/controllers/footbot_diffusion/libfootbot_diffusion.so"
[INFO] The physics engine "dyn2d" will perform 10 iterations per tick (dt = 0.01 sec)

[FATAL] Failed to initialize the space.
[FATAL] Failed to initialize entity "fb_0".
[FATAL] Failed to initialize controllable entity "controller_0".
[FATAL] Can't set controller for controllable entity "controller_0"
[FATAL] Symbol "footbot_diffusion_controller" not found

No error message when controller isn't assigned

Hi,

If a Lua controller is defined in the XML under controllers and isn't instantiated anywhere in an entity under the arena, the simulator exits without any error messages. This isn't user friendly and we need an error message here.

Cheers,

Registering an arbitrary number of anchors methods

Hi @ilpincy,

I'm currently cleaning up a featherstone-based multi-body physics model and prototype model for the Dynamics3d engine. Regarding the anchors, I would like to know what you think would be cleanest solution to the following:

I have an arbitrary number of links (not predictable at compile time), some of which have associated anchors. To update these anchors, I obviously shouldn't (can't) create an arbitrary number of callback functions which each anchor is registered against. To resolve this, I have been using a single callback function for updating the links. This works by using the anchor's index as a key to a std::unordered_map inside a given Dynamics3d physics model. The map then provides the callback function with the positions and orientations that I need to send back to the space.

This works, but I feel it could be done better. Any ideas? Perhaps it is possible to relax the requirements of / overload RegisterAnchorMethod to take a function object? At the moment this is not possible:

class CFunctor {
public:
   CFunctor(UInt32 un_val) : m_unVal(un_val) {}

   void operator()(SAnchor& s_anchor) {
      std::cout << s_anchor.Id;
   }
private:
   UInt32 m_unVal;

};

Compiler output when passing instance of CFunctor to RegisterAnchorMethod:

src/argos3/core/simulator/physics_engine/physics_model.h:300:12: note:
template argument deduction/substitution failed:
src/plugins/robots/foot-bot/simulator/dynamics2d_footbot_model.cpp:63:18: note:
cannot convert ‘cFunctor’ (type ‘argos::CDynamics2DFootBotModel::CFunctor’) to type 
‘void (argos::CDynamics2DFootBotModel::*)(argos::SAnchor&)’
          cFunctor);

E-Puck Sensors Implementation

I want to reimplement the "footbot_foraging" sample to use e-puck instead of foot-bot.
Why there is no specific sensor implementation for e-puck? Should I use the generic sensors implementation?
I want to use the extended e-puck ground sensors too. Is it possible in ARGoS?

Thank you.

freeze when capturing frames

When I clicked the button 'Capture Frames', the videos got stuck. For version 43, it does not have such a problem. I am not sure if this is because of an update from qt4 to qt5.

Thanks,
Wei
screenshot from 2018-02-15 14-56-01

Issue with compiling argos3 system-wide (linking error for argos3_prof)

Am trying to compile argos on Ubuntu 14.04 x86_64 system.

Have made all the dependency packages have been installed.
sudo apt-get install libfreeimage-dev libfreeimageplus-dev
qt5-default freeglut3-dev libxi-dev libxmu-dev liblua5.2-dev
lua5.2 doxygen graphviz graphviz-dev asciidoc

However, when compiling, I get the following linker errors for argos3_prof:
Scanning dependencies of target argos3_prof
[ 90%] Building CXX object testing/CMakeFiles/argos3_prof.dir//core/simulator/query_plugins.cpp.o
[ 91%] Building CXX object testing/CMakeFiles/argos3_prof.dir/
/core/simulator/main.cpp.o
[ 91%] Building CXX object testing/CMakeFiles/argos3_prof.dir/argos3_prof_automoc.cpp.o
[ 91%] Linking CXX executable argos3_prof
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreeimage.so: undefined reference to TIFFReadEncodedStrip@LIBTIFF_4.0' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreeimage.so: undefined reference to TIFFReadEXIFDirectory@LIBTIFF_4.0'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreeimage.so: undefined reference to TIFFFieldReadCount@LIBTIFF_4.0' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreeimage.so: undefined reference to TIFFSetTagExtender@LIBTIFF_4.0'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreeimage.so: undefined reference to TIFFCurrentDirectory@LIBTIFF_4.0' //usr/lib/x86_64-linux-gnu/libraw.so.15: undefined reference to GOMP_parallel@GOMP_4.0'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreeimage.so: undefined reference to TIFFReadTile@LIBTIFF_4.0' /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreeimage.so: undefined reference to TIFFSetDirectory@LIBTIFF_4.0'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreeimage.so: undefined reference to TIFFClientOpen@LIBTIFF_4.0' ...... /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreeimage.so: undefined reference to TIFFTileSize@LIBTIFF_4.0'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfreeimage.so: undefined reference to `TIFFStripSize@LIBTIFF_4.0'
collect2: error: ld returned 1 exit status
testing/CMakeFiles/argos3_prof.dir/build.make:169: recipe for target 'testing/argos3_prof' failed
make[2]: *** [testing/argos3_prof] Error 1
CMakeFiles/Makefile2:1734: recipe for target 'testing/CMakeFiles/argos3_prof.dir/all' failed
make[1]: *** [testing/CMakeFiles/argos3_prof.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

Any suggestions to resolve the issue would be much appreciated.

Thanks,
Danesh.

Moving unmovable object and reset

Hello, recently I came upon the following issue.
When an unmovable object is moved by using the SHIFT CLICK and CTRL CLICK shortcuts, the object gets re-positioned.
When the user then invokes the reset button, the object is moved back to its original position. However, when you select it by using SHIFT CLICK, you see that the bounding box is still at the position of movement.

The problem can be viewed in the following screenshots.
The user moves the box.
frame1
And after that, the user invokes the reset button.
frame2

According to me, the bounding box should also be placed at it's original position after invoking the reset button.

Sincerely yours,
Ewout Merckx

RGBA Colors don't parse from XML

Using RGBA values for specifying colors in the XML fails due to a bug on lines 166 and 167 of color.h. Since ParseValues falls back on operator>>, and UInt8 is actually a char, the result of parsing a red channel value of "128", would be 0x31 or 49 as only the first character '1' would be parsed.

Swapping UInt8 for UInt32 solves the issue. If the value is two large I believe the C++ standard requires that the UInt8 inside CColor::TChannels will take the lower 8 bits of the UInt32. An explicit failure could be added using an exception for values larger than 255.

Opinion: assigning the medium of an entity in an actuator is a bug

Referring to this line of code, I think the adding of LEDs to a medium here has been done as a work around so that entities like the foot-bot etc don't need to declare which medium their LEDs should be added to in the XML. This solution, however, just feels like a bit of a hack to me and possibly will lead to confusion and bugs in the future. For example, consider the case where I set the LED medium of the LEDs on an entity and then override that with the medium specified by an actuator.

It doesn't make any logical sense for an actuator (considering what it is and its functionality) to change such a property of an entity. If we want to keep the XML minimal, I would suggest adding a single attribute to the foot-bot and related entities as follows:

<foot-bot id="fb" led_medium="leds" rab_medium="rab">
   <body position="0,0,0" orientation="0,0,0"/>
   <controller config="x"/>
</foot-bot>

Or alternatively albeit more verbose:

<foot-bot id="fb">
   <body position="0,0,0" orientation="0,0,0"/>
   <leds medium="leds"/>
   <rab medium="rab"/>
   <controller config="x"/>
</foot-bot>

Incorrect rototranslation order in OpenGL model for box.

The draw method for the OpenGL box:
void CQTOpenGLBox::Draw(const CBoxEntity& c_entity)

Contains a line of code: glTranslatef(0.0f, 0.0f, c_entity.GetSize().GetZ() * 0.5f);

This is incorrect as the previous call to the method: CQTOpenGLWidget::DrawPositionalEntity(CPositionalEntity& c_entity)

Has already performed translation then rotation. The result of this call here causes translation, then rotation, followed by translation again, which is incorrect.

A work around is to move the line of code which translates the opengl box model relative to it's zero translation position (recent changed to 0,0,0), into the method ApplyTo method of class CQTOpenGLOperationDrawBoxNormal, before the call to c_visualization.DrawPositionalEntity(c_entity.GetEmbodiedEntity()); is made. This results in the correct rototranslation order.

Ordering of CSet<CRABEquippedEntity*> returned by CRABMedium::GetRABsCommunicatingWith() is non-deterministic

If I use the default RAB sensor with non-zero values for either noise_std_dev or packet_drop_prob, then I get inconsistent experimental results despite using the same random seed (not zero).

The problem seems to occur because the ordering of the CSet<CRABEquippedEntity*> returned by CRABMedium::GetRABsCommunicatingWith() is non-deterministic - it always contains the same objects in each run, but sometimes in a jumbled up order. This means that although the same random number sequence is used by ARGoS, the RAB sensor may apply noise to / drop different packets each time, as they may be in a different order.

This only seems to occur on Mac computers (I've tested two, both with ARGoS beta 48). So far I have been unable to reproduce the problem in an Ubuntu 16.04 VM.

@ilpincy any idea what might be causing this? Iterating over a CSet appears to produce deterministic results, so it looks like this might be something to do with the way m_tRoutingTable is populated in rab_medium.cpp.

Problem compiling from source code

As you suggested, i tried to compile ARGoS from source code, but i am getting this:

-:~/Desktop/argos3/build_simulator$ cmake ../src
-- GCC/G++ version >= 4.3
-- Could NOT find GooglePerfTools (missing:  GOOGLEPERFTOOLS_LIBRARY GOOGLEPERFTOOLS_INCLUDE_DIR) 
-- Configuring done
-- Generating done
-- Build files have been written to: /Desktop/argos3/build_simulator

ARGoSBuildFlags.cmake clobbers CMAKE_CXX_FLAGS and prevents cross compilation

Yocto is one of the most common build systems for embedded Linux systems. When using a CMake-based recipe in this build system, CMAKE_CXX_FLAGS is set up automatically to enable effortless cross compilation.

However, ARGoSBuildFlags.cmake clobbers this variable (see line 19 of ARGoSBuildFlags.cmake). By appending -Wall to CMAKE_CXX_FLAGS instead of overriding it, we are able to completely build ARGoS for our robot inside the Yocto build system.

Is there a reason why this variable needs to be overridden instead of appended to?

Compiling on Archlinux - Lua Issue

Make fails on Archlinux with Lua 5.2 and Lua 5.1

Lua :

[build_simulator]$ lua -v
Lua 5.2.1  Copyright (C) 1994-2012 Lua.org, PUC-Rio
[build_simulator]$ lua5.1 -v
Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio

Cmake :

[build_simulator]$ cmake ../src/
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- GCC/G++ version >= 4.2
-- Found DLFCN: /usr/lib64/libdl.so  
-- Found Pthreads: /usr/lib64/libpthread.so  
-- GSL using gsl-config /usr/bin/gsl-config
-- Using GSL from /usr
-- Found GooglePerfTools: /usr/lib64/libtcmalloc.so  
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.3.1") 
-- Found ASCIIDoc: /usr/bin/asciidoc  
-- Found Lua51: /usr/lib64/liblua5.1.so;/usr/lib64/libm.so  
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.4") 
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so  
-- Found GLUT: /usr/lib64/libglut.so  
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found SDL: /usr/lib64/libSDL.so;-lpthread (found version "1.2.15") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/u/argos3/build_simulator

Make :

[build_simulator]$ make
Scanning dependencies of target argos3core_simulator
[  0%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/string_utilities.cpp.o
[  1%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/configuration/command_line_arg_parser.cpp.o
[  1%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/configuration/tinyxml/ticpp.cpp.o
[  2%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/configuration/tinyxml/tinystr.cpp.o
[  3%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/configuration/tinyxml/tinyxml.cpp.o
[  3%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/configuration/tinyxml/tinyxmlerror.cpp.o
[  4%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/configuration/tinyxml/tinyxmlparser.cpp.o
[  4%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/datatypes/byte_array.cpp.o
[  5%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/datatypes/color.cpp.o
[  5%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/logging/argos_log.cpp.o
[  6%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/profiler/profiler.cpp.o
[  6%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/angles.cpp.o
[  7%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/vector2.cpp.o
[  8%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/vector3.cpp.o
[  8%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/ray3.cpp.o
[  9%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/rng.cpp.o
[  9%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/matrix/rotationmatrix3.cpp.o
[ 10%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/matrix/rotationmatrix2.cpp.o
[ 10%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/matrix/transformationmatrix3.cpp.o
[ 11%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/matrix/transformationmatrix2.cpp.o
[ 11%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/control_interface/ci_controller.cpp.o
[ 12%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/plugins/dynamic_loading.cpp.o
[ 13%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/argos_command_line_arg_parser.cpp.o
[ 13%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/loop_functions.cpp.o
[ 14%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/simulator.cpp.o
[ 14%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/composable_entity.cpp.o
[ 15%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/controllable_entity.cpp.o
[ 15%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/embodied_entity.cpp.o
[ 16%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/entity.cpp.o
[ 16%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/floor_entity.cpp.o
[ 17%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/led_entity.cpp.o
[ 18%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/medium_entity.cpp.o
[ 18%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/positional_entity.cpp.o
[ 19%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/rab_equipped_entity.cpp.o
[ 19%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/physics_engine/physics_engine.cpp.o
[ 20%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/visualization/visualization.cpp.o
[ 20%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/space/space.cpp.o
[ 21%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/space/space_multi_thread_balance_length.cpp.o
[ 21%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/space/space_multi_thread_balance_quantity.cpp.o
[ 22%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/space/space_no_threads.cpp.o
[ 23%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/wrappers/lua/lua_controller.cpp.o
[ 23%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/wrappers/lua/lua_utility.cpp.o
Linking CXX shared library libargos3core_simulator.so
[ 23%] Built target argos3core_simulator
Scanning dependencies of target argos3
[ 23%] Building CXX object core/CMakeFiles/argos3.dir/simulator/query_plugins.cpp.o
[ 24%] Building CXX object core/CMakeFiles/argos3.dir/simulator/main.cpp.o
Linking CXX executable argos3
libargos3core_simulator.so: référence indéfinie vers « lua_pcallk »
libargos3core_simulator.so: référence indéfinie vers « lua_getglobal »
libargos3core_simulator.so: référence indéfinie vers « lua_setglobal »
libargos3core_simulator.so: référence indéfinie vers « lua_tonumberx »
libargos3core_simulator.so: référence indéfinie vers « luaL_loadfilex »
collect2: erreur: ld a retourné 1 code d'état d'exécution
make[2]: *** [core/argos3] Erreur 1
make[1]: *** [core/CMakeFiles/argos3.dir/all] Erreur 2
make: *** [all] Erreur 2

liblua :

[build_simulator]$ locate liblua
/usr/lib/liblua.a
/usr/lib/liblua.so
/usr/lib/liblua.so.5.1
/usr/lib/liblua.so.5.1.5
/usr/lib/liblua.so.5.2
/usr/lib/liblua.so.5.2.1
/usr/lib/liblua5.1.a
/usr/lib/liblua5.1.so
/usr/lib/liblua5.1.so.5.1
/usr/lib/liblua5.1.so.5.1.5

Could NOT find Lua52 (missing: LUA_LIBRARIES LUA_INCLUDE_DIR

Hi,

I'm running on Ubuntu 14.04.2 on an EC2 instance.

ubuntu@ip-10-0-1-107:/argos3/build$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
ubuntu@ip-10-0-1-107:
/argos3/build$

ubuntu@ip-10-0-1-107:/argos3/build$ lua -v
Lua 5.2.3 Copyright (C) 1994-2013 Lua.org, PUC-Rio
ubuntu@ip-10-0-1-107:
/argos3/build$ which lua
/usr/bin/lua

ubuntu@ip-10-0-1-107:~/argos3/build$ whereis lua
lua: /usr/bin/lua5.2 /usr/bin/lua /usr/bin/lua5.1 /usr/bin/X11/lua5.2 /usr/bin/X11/lua /usr/bin/X11/lua5.1 /usr/share/man/man1/lua.1.gz

Any ideas?

Problem compiling the latest version of ARGoS

I pulled the latest changes today and tried to compile it. I got:
My OS is Ubuntu v17.04.

ubuntu:~/argos3/build$ make
[ 18%] Built target argos3core_simulator
[ 19%] Built target argos3
[ 19%] Automatic moc for target argos3plugin_simulator_qtopengl
[ 19%] Built target argos3plugin_simulator_qtopengl_automoc
[ 20%] Building CXX object plugins/simulator/media/CMakeFiles/argos3plugin_simulator_media.dir/rab_medium.cpp.o
In file included from /home/argos3/src/plugins/simulator/media/rab_medium.cpp:1:0:
/home/argos3/src/plugins/simulator/media/rab_medium.h:59:20: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
        typedef std::unordered_map<CRABEquippedEntity*, CSet<CRABEquippedEntity*,SEntityComparator> > TRoutingTable;
                     ^~~~~~~~~~~~~
 /home/argos3/src/plugins/simulator/media/rab_medium.h:62:7: error: ‘TRoutingTable’ does not name a type
        TRoutingTable m_tRoutingTable;
 

pointmass3d physics engine causes foot-bot's proximity sensors to detect non-existent obstacles

This is a bit of a contrived issue, but was raised by a student who was trying to use foot-bots and eye-bots simultaneously, so it may cause problems for other people.

Adding the pointmass3d physics engine to diffusion_1.argos, as is done in eyebot_circle.argos, allows the bug to be reproduced:

<physics_engines>
    <dynamics2d id="dyn2d" />
    <pointmass3d id="pm3d" iterations="10" />
</physics_engines>

Simply adding the pointmass3d physics engine to the ARGoS configuration file causes the foot-bot's proximity sensors to detect non-existent obstacles, as shown in the screenshot below:

argos_pm3d_bug

The sensors appear to be triggered by existing walls, but from further away than should be possible. It also seems to depend on which side of the wall the robot is on - if the robot approaches from the other side, it will detect the wall correctly.

no member named 'SaveAsImage' in 'argos::CFloorEntity'

Hi,

I'm running on OS X 10.10.4.

I got this error building ARGoS:

/Users/davidlaxer/argos3/src/plugins/simulator/visualizations/qt-opengl/qtopengl_widget.cpp:726:39: error:
no member named 'SaveAsImage' in 'argos::CFloorEntity'
m_cSpace.GetFloorEntity().SaveAsImage("/tmp/argos_floor.png");
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
3 warnings and 2 errors generated.
make[2]: *** [plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/qtopengl_widget.cpp.o] Error 1
make[1]: *** [plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/all] Error 2
make: *** [all] Error 2

Could this be the problem?
-- FreeImage not found, image source and OpenGL drawing for the floor entity won't be available

David-Laxers-MacBook-Pro:build_simulator davidlaxer$ gcc --version
gcc (MacPorts gcc48 4.8.5_0) 4.8.5
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

David-Laxers-MacBook-Pro:build_simulator davidlaxer$

I first installed FreeImage with MacPorts. But 'cmake ../src' couldn't find it.

David-Laxers-MacBook-Pro:src davidlaxer$ sudo port install FreeImage
Password:
---> Fetching archive for freeimage
---> Attempting to fetch freeimage-3.16.0_1.darwin_14.x86_64.tbz2 from http://packages.macports.org/freeimage
---> Attempting to fetch freeimage-3.16.0_1.darwin_14.x86_64.tbz2.rmd160 from http://packages.macports.org/freeimage
---> Installing freeimage @3.16.0_1
---> Activating freeimage @3.16.0_1
---> Cleaning freeimage
---> Updating database of binaries
---> Scanning binaries for linking errors
---> No broken files found.

David-Laxers-MacBook-Pro:build_simulator davidlaxer$ cmake ../src
-- GCC/G++ version >= 4.2.1
-- GSL using gsl-config /opt/local/bin/gsl-config
-- Using GSL from /opt/local
-- FreeImage not found, image source and OpenGL drawing for the floor entity won't be available
-- Could NOT find ASCIIDoc (missing: ASCIIDOC_EXECUTABLE)
-- Could NOT find Lua52 (missing: LUA_LIBRARIES LUA_INCLUDE_DIR)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/davidlaxer/argos3/build_simulator

-- FreeImage not found, image source and OpenGL drawing for the floor entity won't be available

Next, I installed and build FreeImage from github, that didn't work either.

David-Laxers-MacBook-Pro:~ davidlaxer$ git clone https://github.com/Kanma/FreeImage.git
Cloning into 'FreeImage'...
remote: Counting objects: 650, done.
remote: Total 650 (delta 0), reused 0 (delta 0), pack-reused 650
Receiving objects: 100% (650/650), 2.40 MiB | 1.53 MiB/s, done.
Resolving deltas: 100% (199/199), done.
Checking connectivity... done.
David-Laxers-MacBook-Pro:~ davidlaxer$ git submodule init
fatal: Not a git repository (or any of the parent directories): .git
David-Laxers-MacBook-Pro:~ davidlaxer$ cd FreeImage/
David-Laxers-MacBook-Pro:FreeImage davidlaxer$ git submodule init
Submodule 'dependencies/XMake' (git://github.com/Kanma/XMake.git) registered for path 'dependencies/XMake'
Submodule 'dependencies/zlib' (git://github.com/Kanma/zlib.git) registered for path 'dependencies/zlib'
David-Laxers-MacBook-Pro:FreeImage davidlaxer$ git submodule update
Cloning into 'dependencies/XMake'...
remote: Counting objects: 152, done.
remote: Compressing objects: 100% (68/68), done.
remote: Total 152 (delta 77), reused 152 (delta 77), pack-reused 0
Receiving objects: 100% (152/152), 24.60 KiB | 0 bytes/s, done.
Resolving deltas: 100% (77/77), done.
Checking connectivity... done.
Submodule path 'dependencies/XMake': checked out '77f42ff5f52eb3794fc734b8e1650998707ca447'
Cloning into 'dependencies/zlib'...
remote: Counting objects: 49, done.
remote: Compressing objects: 100% (35/35), done.
remote: Total 49 (delta 10), reused 49 (delta 10), pack-reused 0
Receiving objects: 100% (49/49), 122.19 KiB | 0 bytes/s, done.
Resolving deltas: 100% (10/10), done.
Checking connectivity... done.
Submodule path 'dependencies/zlib': checked out 'ca334810d72007c4c6bec269da408d13f70c9d4a'
David-Laxers-MacBook-Pro:FreeImage davidlaxer$ mkdir build
David-Laxers-MacBook-Pro:FreeImage davidlaxer$ cd build
David-Laxers-MacBook-Pro:build davidlaxer$ cmake ..
-- The C compiler identification is AppleClang 6.1.0.6020053
-- The CXX compiler identification is AppleClang 6.1.0.6020053
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/davidlaxer/FreeImage/build
David-Laxers-MacBook-Pro:build davidlaxer$ make
Scanning dependencies of target freeimage
[ 0%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/BitmapAccess.cpp.o
[ 0%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/CacheFile.cpp.o
[ 1%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/ColorLookup.cpp.o
[ 1%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/Conversion.cpp.o
[ 1%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/Conversion16_555.cpp.o
[ 2%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/Conversion16_565.cpp.o
[ 2%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/Conversion24.cpp.o
[ 2%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/Conversion32.cpp.o
[ 3%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/Conversion4.cpp.o
[ 3%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/Conversion8.cpp.o
[ 3%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/ConversionRGBF.cpp.o
[ 4%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/ConversionType.cpp.o
[ 4%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/FreeImage.cpp.o
[ 4%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/FreeImageIO.cpp.o
[ 5%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/GetType.cpp.o
[ 5%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/Halftoning.cpp.o
[ 5%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/J2KHelper.cpp.o
[ 6%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/MemoryIO.cpp.o
[ 6%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/MultiPage.cpp.o
[ 6%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/NNQuantizer.cpp.o
[ 7%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PSDParser.cpp.o
[ 7%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PixelAccess.cpp.o
[ 7%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/Plugin.cpp.o
[ 8%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginBMP.cpp.o
[ 8%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginCUT.cpp.o
[ 8%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginDDS.cpp.o
[ 9%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginEXR.cpp.o
[ 9%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginG3.cpp.o
[ 9%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginGIF.cpp.o
[ 10%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginHDR.cpp.o
[ 10%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginICO.cpp.o
[ 10%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginIFF.cpp.o
[ 11%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginJ2K.cpp.o
[ 11%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginJP2.cpp.o
[ 11%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginJPEG.cpp.o
[ 12%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginKOALA.cpp.o
[ 12%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginMNG.cpp.o
[ 12%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginPCD.cpp.o
[ 13%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginPCX.cpp.o
[ 13%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginPFM.cpp.o
[ 13%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginPICT.cpp.o
[ 14%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginPNG.cpp.o
[ 14%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginPNM.cpp.o
[ 14%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginPSD.cpp.o
[ 15%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginRAS.cpp.o
[ 15%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginRAW.cpp.o
[ 15%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginSGI.cpp.o
[ 16%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginTARGA.cpp.o
[ 16%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginTIFF.cpp.o
[ 16%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginWBMP.cpp.o
[ 17%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginXBM.cpp.o
[ 17%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/PluginXPM.cpp.o
[ 17%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/TIFFLogLuv.cpp.o
[ 18%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/ToneMapping.cpp.o
[ 18%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/WuQuantizer.cpp.o
[ 18%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/ZLibInterface.cpp.o
[ 19%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/tmoColorConvert.cpp.o
[ 19%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/tmoDrago03.cpp.o
[ 19%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/tmoFattal02.cpp.o
[ 20%] Building CXX object CMakeFiles/freeimage.dir/FreeImage/tmoReinhard05.cpp.o
[ 20%] Building CXX object CMakeFiles/freeimage.dir/FreeImageToolkit/BSplineRotate.cpp.o
[ 20%] Building CXX object CMakeFiles/freeimage.dir/FreeImageToolkit/Background.cpp.o
[ 21%] Building CXX object CMakeFiles/freeimage.dir/FreeImageToolkit/Channels.cpp.o
[ 21%] Building CXX object CMakeFiles/freeimage.dir/FreeImageToolkit/ClassicRotate.cpp.o
[ 21%] Building CXX object CMakeFiles/freeimage.dir/FreeImageToolkit/Colors.cpp.o
[ 22%] Building CXX object CMakeFiles/freeimage.dir/FreeImageToolkit/CopyPaste.cpp.o
[ 22%] Building CXX object CMakeFiles/freeimage.dir/FreeImageToolkit/Display.cpp.o
[ 22%] Building CXX object CMakeFiles/freeimage.dir/FreeImageToolkit/Flip.cpp.o
[ 23%] Building CXX object CMakeFiles/freeimage.dir/FreeImageToolkit/JPEGTransform.cpp.o
[ 23%] Building CXX object CMakeFiles/freeimage.dir/FreeImageToolkit/MultigridPoissonSolver.cpp.o
[ 23%] Building CXX object CMakeFiles/freeimage.dir/FreeImageToolkit/Rescale.cpp.o
[ 24%] Building CXX object CMakeFiles/freeimage.dir/FreeImageToolkit/Resize.cpp.o
[ 24%] Building CXX object CMakeFiles/freeimage.dir/Metadata/Exif.cpp.o
[ 24%] Building CXX object CMakeFiles/freeimage.dir/Metadata/FIRational.cpp.o
[ 25%] Building CXX object CMakeFiles/freeimage.dir/Metadata/FreeImageTag.cpp.o
[ 25%] Building CXX object CMakeFiles/freeimage.dir/Metadata/IPTC.cpp.o
[ 25%] Building CXX object CMakeFiles/freeimage.dir/Metadata/TagConversion.cpp.o
[ 26%] Building CXX object CMakeFiles/freeimage.dir/Metadata/TagLib.cpp.o
[ 26%] Building CXX object CMakeFiles/freeimage.dir/Metadata/XTIFF.cpp.o
Linking CXX static library lib/libfreeimage.a
[ 26%] Built target freeimage
Scanning dependencies of target zlib
[ 27%] Building C object dependencies/zlib/CMakeFiles/zlib.dir/adler32.c.o
[ 27%] Building C object dependencies/zlib/CMakeFiles/zlib.dir/compress.c.o
[ 27%] Building C object dependencies/zlib/CMakeFiles/zlib.dir/crc32.c.o
[ 28%] Building C object dependencies/zlib/CMakeFiles/zlib.dir/deflate.c.o
[ 28%] Building C object dependencies/zlib/CMakeFiles/zlib.dir/gzio.c.o
[ 28%] Building C object dependencies/zlib/CMakeFiles/zlib.dir/infback.c.o
[ 29%] Building C object dependencies/zlib/CMakeFiles/zlib.dir/inffast.c.o
[ 29%] Building C object dependencies/zlib/CMakeFiles/zlib.dir/inflate.c.o
[ 29%] Building C object dependencies/zlib/CMakeFiles/zlib.dir/inftrees.c.o
[ 30%] Building C object dependencies/zlib/CMakeFiles/zlib.dir/trees.c.o
[ 30%] Building C object dependencies/zlib/CMakeFiles/zlib.dir/uncompr.c.o
[ 31%] Building C object dependencies/zlib/CMakeFiles/zlib.dir/zutil.c.o
Linking C static library ../../lib/libzlib.a
[ 31%] Built target zlib
Scanning dependencies of target jpeg
[ 31%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jaricom.c.o
[ 32%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jcapimin.c.o
[ 32%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jcapistd.c.o
[ 32%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jcarith.c.o
[ 33%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jccoefct.c.o
[ 33%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jccolor.c.o
[ 33%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jcdctmgr.c.o
[ 34%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jchuff.c.o
[ 34%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jcinit.c.o
[ 34%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jcmainct.c.o
[ 35%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jcmarker.c.o
[ 35%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jcmaster.c.o
[ 35%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jcomapi.c.o
[ 36%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jcparam.c.o
[ 36%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jcprepct.c.o
[ 36%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jcsample.c.o
[ 37%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jctrans.c.o
[ 37%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdapimin.c.o
[ 37%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdapistd.c.o
[ 38%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdarith.c.o
[ 38%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdatadst.c.o
[ 38%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdatasrc.c.o
[ 39%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdcoefct.c.o
[ 39%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdcolor.c.o
[ 39%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jddctmgr.c.o
[ 40%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdhuff.c.o
[ 40%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdinput.c.o
[ 40%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdmainct.c.o
[ 41%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdmarker.c.o
[ 41%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdmaster.c.o
[ 41%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdmerge.c.o
[ 42%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdpostct.c.o
[ 42%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdsample.c.o
[ 42%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jdtrans.c.o
[ 43%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jerror.c.o
[ 43%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jfdctflt.c.o
[ 43%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jfdctfst.c.o
[ 44%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jfdctint.c.o
[ 44%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jidctflt.c.o
[ 44%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jidctfst.c.o
[ 45%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jidctint.c.o
[ 45%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jmemmgr.c.o
[ 45%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jmemnobs.c.o
[ 46%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jquant1.c.o
[ 46%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jquant2.c.o
[ 46%] Building C object LibJPEG/CMakeFiles/jpeg.dir/jutils.c.o
[ 47%] Building C object LibJPEG/CMakeFiles/jpeg.dir/transupp.c.o
Linking C static library ../lib/libjpeg.a
[ 47%] Built target jpeg
Scanning dependencies of target mng
[ 47%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_callback_xs.c.o
[ 47%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_chunk_descr.c.o
[ 48%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_chunk_io.c.o
[ 48%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_chunk_prc.c.o
[ 48%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_cms.c.o
[ 49%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_display.c.o
[ 49%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_dither.c.o
[ 49%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_error.c.o
[ 50%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_filter.c.o
[ 50%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_hlapi.c.o
[ 50%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_jpeg.c.o
[ 51%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_object_prc.c.o
[ 51%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_pixels.c.o
[ 51%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_prop_xs.c.o
[ 52%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_read.c.o
[ 52%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_write.c.o
[ 52%] Building C object LibMNG/CMakeFiles/mng.dir/libmng_zlib.c.o
Linking C static library ../lib/libmng.a
[ 52%] Built target mng
Scanning dependencies of target openjpeg
[ 53%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/bio.c.o
[ 53%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/cio.c.o
[ 53%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/dwt.c.o
[ 54%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/event.c.o
[ 54%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/image.c.o
[ 54%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/j2k.c.o
[ 55%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/j2k_lib.c.o
[ 55%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/jp2.c.o
[ 55%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/jpt.c.o
[ 56%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/mct.c.o
[ 56%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/mqc.c.o
[ 56%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/openjpeg.c.o
[ 57%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/pi.c.o
[ 57%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/raw.c.o
[ 57%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/t1.c.o
[ 58%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/t2.c.o
[ 58%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/tcd.c.o
[ 58%] Building C object LibOpenJPEG/CMakeFiles/openjpeg.dir/tgt.c.o
Linking C static library ../lib/libopenjpeg.a
[ 58%] Built target openjpeg
Scanning dependencies of target png
[ 59%] Building C object LibPNG/CMakeFiles/png.dir/png.c.o
[ 59%] Building C object LibPNG/CMakeFiles/png.dir/pngerror.c.o
[ 59%] Building C object LibPNG/CMakeFiles/png.dir/pngget.c.o
[ 60%] Building C object LibPNG/CMakeFiles/png.dir/pngmem.c.o
[ 60%] Building C object LibPNG/CMakeFiles/png.dir/pngpread.c.o
[ 60%] Building C object LibPNG/CMakeFiles/png.dir/pngread.c.o
[ 61%] Building C object LibPNG/CMakeFiles/png.dir/pngrio.c.o
[ 61%] Building C object LibPNG/CMakeFiles/png.dir/pngrtran.c.o
[ 61%] Building C object LibPNG/CMakeFiles/png.dir/pngrutil.c.o
[ 62%] Building C object LibPNG/CMakeFiles/png.dir/pngset.c.o
[ 62%] Building C object LibPNG/CMakeFiles/png.dir/pngtrans.c.o
[ 62%] Building C object LibPNG/CMakeFiles/png.dir/pngwio.c.o
[ 63%] Building C object LibPNG/CMakeFiles/png.dir/pngwrite.c.o
[ 63%] Building C object LibPNG/CMakeFiles/png.dir/pngwtran.c.o
[ 63%] Building C object LibPNG/CMakeFiles/png.dir/pngwutil.c.o
Linking C static library ../lib/libpng.a
[ 63%] Built target png
Scanning dependencies of target rawlite
[ 64%] Building CXX object LibRawLite/CMakeFiles/rawlite.dir/src/libraw_c_api.cpp.o
[ 64%] Building CXX object LibRawLite/CMakeFiles/rawlite.dir/src/libraw_cxx.cpp.o
[ 64%] Building CXX object LibRawLite/CMakeFiles/rawlite.dir/internal/dcraw_common.cpp.o
[ 65%] Building CXX object LibRawLite/CMakeFiles/rawlite.dir/internal/dcraw_fileio.cpp.o
Linking CXX static library ../lib/librawlite.a
[ 65%] Built target rawlite
Scanning dependencies of target tiff
[ 65%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_aux.c.o
[ 65%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_close.c.o
[ 66%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_codec.c.o
[ 66%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_color.c.o
[ 66%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_compress.c.o
[ 67%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_dir.c.o
[ 67%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_dirinfo.c.o
[ 67%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_dirread.c.o
[ 68%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_dirwrite.c.o
[ 68%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_dumpmode.c.o
[ 68%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_error.c.o
[ 69%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_extension.c.o
[ 69%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_fax3.c.o
[ 69%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_fax3sm.c.o
[ 70%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_flush.c.o
[ 70%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_getimage.c.o
[ 70%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_jpeg.c.o
[ 71%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_luv.c.o
[ 71%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_lzw.c.o
[ 71%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_next.c.o
[ 72%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_ojpeg.c.o
[ 72%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_open.c.o
[ 72%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_packbits.c.o
[ 73%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_pixarlog.c.o
[ 73%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_predict.c.o
[ 73%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_print.c.o
[ 74%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_read.c.o
[ 74%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_strip.c.o
[ 74%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_swab.c.o
[ 75%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_thunder.c.o
[ 75%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_tile.c.o
[ 75%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_version.c.o
[ 76%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_warning.c.o
[ 76%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_write.c.o
[ 76%] Building C object LibTIFF/CMakeFiles/tiff.dir/tif_zip.c.o
Linking C static library ../lib/libtiff.a
[ 76%] Built target tiff
Scanning dependencies of target openexr
[ 77%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/Half/half.cpp.o
[ 77%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/Iex/IexBaseExc.cpp.o
[ 77%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/Iex/IexThrowErrnoExc.cpp.o
[ 78%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfAttribute.cpp.o
[ 78%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfB44Compressor.cpp.o
[ 79%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfBoxAttribute.cpp.o
[ 79%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfCRgbaFile.cpp.o
[ 79%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfChannelList.cpp.o
[ 80%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfChannelListAttribute.cpp.o
[ 80%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfChromaticities.cpp.o
[ 80%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfChromaticitiesAttribute.cpp.o
[ 81%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfCompressionAttribute.cpp.o
[ 81%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfCompressor.cpp.o
[ 81%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfConvert.cpp.o
[ 82%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfDoubleAttribute.cpp.o
[ 82%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfEnvmap.cpp.o
[ 82%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfEnvmapAttribute.cpp.o
[ 83%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfFloatAttribute.cpp.o
[ 83%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfFrameBuffer.cpp.o
[ 83%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfFramesPerSecond.cpp.o
[ 84%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfHeader.cpp.o
[ 84%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfHuf.cpp.o
[ 84%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfIO.cpp.o
[ 85%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfInputFile.cpp.o
[ 85%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfIntAttribute.cpp.o
[ 85%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfKeyCode.cpp.o
[ 86%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfKeyCodeAttribute.cpp.o
[ 86%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfLineOrderAttribute.cpp.o
[ 86%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfLut.cpp.o
[ 87%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfMatrixAttribute.cpp.o
[ 87%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfMisc.cpp.o
[ 87%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfOpaqueAttribute.cpp.o
[ 88%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfOutputFile.cpp.o
[ 88%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfPizCompressor.cpp.o
[ 88%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfPreviewImage.cpp.o
[ 89%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfPreviewImageAttribute.cpp.o
[ 89%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfPxr24Compressor.cpp.o
[ 89%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfRational.cpp.o
[ 90%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfRationalAttribute.cpp.o
[ 90%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfRgbaFile.cpp.o
[ 90%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfRgbaYca.cpp.o
[ 91%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfRleCompressor.cpp.o
[ 91%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfScanLineInputFile.cpp.o
[ 91%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfStandardAttributes.cpp.o
[ 92%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfStdIO.cpp.o
[ 92%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfStringAttribute.cpp.o
[ 92%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfTestFile.cpp.o
[ 93%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfThreading.cpp.o
[ 93%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfTileDescriptionAttribute.cpp.o
[ 93%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfTileOffsets.cpp.o
[ 94%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfTiledInputFile.cpp.o
[ 94%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfTiledMisc.cpp.o
[ 94%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfTiledOutputFile.cpp.o
[ 95%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfTiledRgbaFile.cpp.o
[ 95%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfTimeCode.cpp.o
[ 95%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfTimeCodeAttribute.cpp.o
[ 96%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfVecAttribute.cpp.o
[ 96%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfVersion.cpp.o
[ 96%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfWav.cpp.o
[ 97%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmImf/ImfZipCompressor.cpp.o
[ 97%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmThread/IlmThread.cpp.o
[ 97%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmThread/IlmThreadMutex.cpp.o
[ 98%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmThread/IlmThreadPool.cpp.o
[ 98%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/IlmThread/IlmThreadSemaphore.cpp.o
[ 98%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/Imath/ImathBox.cpp.o
[ 99%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/Imath/ImathColorAlgo.cpp.o
[ 99%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/Imath/ImathFun.cpp.o
[ 99%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/Imath/ImathMatrixAlgo.cpp.o
[100%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/Imath/ImathRandom.cpp.o
[100%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/Imath/ImathShear.cpp.o
[100%] Building CXX object OpenEXR/CMakeFiles/openexr.dir/Imath/ImathVec.cpp.o
Linking CXX static library ../lib/libopenexr.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: i386 file: ../lib/libopenexr.a(ImathBox.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: i386 file: ../lib/libopenexr.a(ImathShear.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: x86_64 file: ../lib/libopenexr.a(ImathBox.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: x86_64 file: ../lib/libopenexr.a(ImathShear.cpp.o) has no symbols
[100%] Built target openexr

David-Laxers-MacBook-Pro:build_simulator davidlaxer$ cmake ../src
-- GCC/G++ version >= 4.2.1
-- GSL using gsl-config /opt/local/bin/gsl-config
-- Using GSL from /opt/local
-- FreeImage not found, image source and OpenGL drawing for the floor entity won't be available
-- Could NOT find ASCIIDoc (missing: ASCIIDOC_EXECUTABLE)
-- Found Lua52: /opt/local/lib/liblua.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/davidlaxer/argos3/build_simulator
David-Laxers-MacBook-Pro:build_simulator davidlaxer$ gcc --version
gcc (MacPorts gcc48 4.8.5_0) 4.8.5
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

David-Laxers-MacBook-Pro:build_simulator davidlaxer$ make
Scanning dependencies of target argos3core_simulator
[ 1%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/signal_processing.cpp.o
[ 1%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/string_utilities.cpp.o
[ 2%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/configuration/command_line_arg_parser.cpp.o
[ 2%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/configuration/tinyxml/ticpp.cpp.o
[ 3%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/configuration/tinyxml/tinystr.cpp.o
[ 3%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/configuration/tinyxml/tinyxml.cpp.o
[ 4%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/configuration/tinyxml/tinyxmlerror.cpp.o
[ 4%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/configuration/tinyxml/tinyxmlparser.cpp.o
[ 4%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/datatypes/byte_array.cpp.o
[ 5%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/datatypes/color.cpp.o
[ 5%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/logging/argos_log.cpp.o
[ 6%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/networking/tcp_socket.cpp.o
[ 6%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/profiler/profiler.cpp.o
[ 7%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/angles.cpp.o
[ 7%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/cylinder.cpp.o
[ 8%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/vector2.cpp.o
[ 8%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/vector3.cpp.o
[ 9%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/plane.cpp.o
[ 9%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/ray3.cpp.o
[ 9%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/rng.cpp.o
[ 10%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/matrix/rotationmatrix3.cpp.o
[ 10%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/matrix/rotationmatrix2.cpp.o
[ 11%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/matrix/transformationmatrix3.cpp.o
[ 11%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/math/matrix/transformationmatrix2.cpp.o
[ 12%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/control_interface/ci_controller.cpp.o
[ 12%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/utility/plugins/dynamic_loading.cpp.o
[ 13%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/argos_command_line_arg_parser.cpp.o
[ 13%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/loop_functions.cpp.o
[ 14%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/simulator.cpp.o
[ 14%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/composable_entity.cpp.o
[ 14%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/controllable_entity.cpp.o
[ 15%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/embodied_entity.cpp.o
[ 15%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/entity.cpp.o
[ 16%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/floor_entity.cpp.o
/Users/davidlaxer/argos3/src/core/simulator/entity/floor_entity.cpp:162:14: warning:
private field 'm_unPixelsPerMeter' is not used [-Wunused-private-field]
UInt32 m_unPixelsPerMeter;
^
1 warning generated.
[ 16%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/entity/positional_entity.cpp.o
[ 17%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/medium/medium.cpp.o
[ 17%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/physics_engine/physics_engine.cpp.o
[ 18%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/physics_engine/physics_model.cpp.o
[ 18%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/visualization/default_visualization.cpp.o
[ 19%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/space/space.cpp.o
[ 19%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/space/space_multi_thread_balance_length.cpp.o
[ 19%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/space/space_multi_thread_balance_quantity.cpp.o
[ 20%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/simulator/space/space_no_threads.cpp.o
[ 20%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/wrappers/lua/lua_controller.cpp.o
[ 21%] Building CXX object core/CMakeFiles/argos3core_simulator.dir/wrappers/lua/lua_utility.cpp.o
Linking CXX shared library libargos3core_simulator.dylib
[ 21%] Built target argos3core_simulator
Scanning dependencies of target argos3
[ 21%] Building CXX object core/CMakeFiles/argos3.dir/simulator/query_plugins.cpp.o
[ 21%] Building CXX object core/CMakeFiles/argos3.dir/simulator/main.cpp.o
Linking CXX executable argos3
[ 21%] Built target argos3
Scanning dependencies of target argos3plugin_simulator_media
[ 22%] Building CXX object plugins/simulator/media/CMakeFiles/argos3plugin_simulator_media.dir/led_medium.cpp.o
[ 22%] Building CXX object plugins/simulator/media/CMakeFiles/argos3plugin_simulator_media.dir/rab_medium.cpp.o
Linking CXX shared library libargos3plugin_simulator_media.dylib
[ 22%] Built target argos3plugin_simulator_media
Scanning dependencies of target argos3plugin_simulator_entities
[ 23%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/box_entity.cpp.o
[ 23%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/cylinder_entity.cpp.o
[ 23%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/gripper_equipped_entity.cpp.o
[ 24%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/ground_sensor_equipped_entity.cpp.o
[ 24%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/led_entity.cpp.o
[ 25%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/led_equipped_entity.cpp.o
[ 25%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/light_entity.cpp.o
[ 26%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/light_sensor_equipped_entity.cpp.o
[ 26%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/omnidirectional_camera_equipped_entity.cpp.o
[ 27%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/perspective_camera_equipped_entity.cpp.o
[ 27%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/proximity_sensor_equipped_entity.cpp.o
[ 28%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/quadrotor_entity.cpp.o
[ 28%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/rab_equipped_entity.cpp.o
[ 28%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/rotor_equipped_entity.cpp.o
[ 29%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/wheeled_entity.cpp.o
[ 29%] Building CXX object plugins/simulator/entities/CMakeFiles/argos3plugin_simulator_entities.dir/wifi_equipped_entity.cpp.o
Linking CXX shared library libargos3plugin_simulator_entities.dylib
[ 29%] Built target argos3plugin_simulator_entities
[ 29%] Generating moc_qtopengl_lua_statetree_model.cxx
[ 30%] Generating moc_qtopengl_application.cxx
[ 30%] Generating moc_qtopengl_camera.cxx
[ 31%] Generating moc_qtopengl_main_window.cxx
[ 31%] Generating moc_qtopengl_widget.cxx
[ 31%] Generating moc_qtopengl_lua_editor.cxx
[ 32%] Generating moc_qtopengl_lua_find_dialog.cxx
[ 32%] Generating moc_qtopengl_lua_main_window.cxx
[ 33%] Generating moc_qtopengl_lua_syntax_highlighter.cxx
Scanning dependencies of target argos3plugin_simulator_qtopengl
[ 34%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/moc_qtopengl_application.cxx.o
[ 34%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/moc_qtopengl_camera.cxx.o
[ 35%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/moc_qtopengl_main_window.cxx.o
[ 35%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/moc_qtopengl_widget.cxx.o
[ 36%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/moc_qtopengl_lua_editor.cxx.o
[ 36%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/moc_qtopengl_lua_find_dialog.cxx.o
[ 36%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/moc_qtopengl_lua_main_window.cxx.o
[ 37%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/moc_qtopengl_lua_syntax_highlighter.cxx.o
[ 37%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/moc_qtopengl_lua_statetree_model.cxx.o
[ 38%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/models/qtopengl_box.cpp.o
[ 38%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/models/qtopengl_cylinder.cpp.o
[ 39%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/models/qtopengl_light.cpp.o
[ 39%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/qtopengl_application.cpp.o
[ 40%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/qtopengl_camera.cpp.o
/Users/davidlaxer/argos3/src/plugins/simulator/visualizations/qt-opengl/qtopengl_camera.cpp:255:7: warning:
'gluLookAt' is deprecated: first deprecated in OS X 10.9 - "Use
GLKMatrix4MakeLookAt" [-Wdeprecated-declarations]
gluLookAt(
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:265:13: note:
'gluLookAt' has been explicitly marked deprecated here
extern void gluLookAt (GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ, GLdo...
^
/Users/davidlaxer/argos3/src/plugins/simulator/visualizations/qt-opengl/qtopengl_camera.cpp:335:7: warning:
'gluUnProject' is deprecated: first deprecated in OS X 10.9 -
"Use GLKMathUnproject" [-Wdeprecated-declarations]
gluUnProject(fWinX, fWinY, fWinZ,
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:297:14: note:
'gluUnProject' has been explicitly marked deprecated here
extern GLint gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, ...
^
/Users/davidlaxer/argos3/src/plugins/simulator/visualizations/qt-opengl/qtopengl_camera.cpp:370:7: warning:
'gluUnProject' is deprecated: first deprecated in OS X 10.9 -
"Use GLKMathUnproject" [-Wdeprecated-declarations]
gluUnProject(fWinX, fWinY, 0.0f,
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:297:14: note:
'gluUnProject' has been explicitly marked deprecated here
extern GLint gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, ...
^
/Users/davidlaxer/argos3/src/plugins/simulator/visualizations/qt-opengl/qtopengl_camera.cpp:378:7: warning:
'gluUnProject' is deprecated: first deprecated in OS X 10.9 -
"Use GLKMathUnproject" [-Wdeprecated-declarations]
gluUnProject(fWinX, fWinY, 1.0f,
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:297:14: note:
'gluUnProject' has been explicitly marked deprecated here
extern GLint gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, ...
^
4 warnings generated.
[ 40%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/qtopengl_main_window.cpp.o
[ 41%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/qtopengl_render.cpp.o
[ 41%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/qtopengl_user_functions.cpp.o
[ 41%] Building CXX object plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/qtopengl_widget.cpp.o
/Users/davidlaxer/argos3/src/plugins/simulator/visualizations/qt-opengl/qtopengl_widget.cpp:140:36: error:
no member named 'SaveAsImage' in 'argos::CFloorEntity'
m_cSpace.GetFloorEntity().SaveAsImage("/tmp/argos_floor.png");
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/davidlaxer/argos3/src/plugins/simulator/visualizations/qt-opengl/qtopengl_widget.cpp:194:7: warning:
'gluPerspective' is deprecated: first deprecated in OS X 10.9 - "Use
GLKMatrix4MakePerspective" [-Wdeprecated-declarations]
gluPerspective(m_cCamera.GetActiveSettings().YFieldOfView.GetValue(),
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:278:13: note:
'gluPerspective' has been explicitly marked deprecated here
extern void gluPerspective (GLdouble fovy, GLdouble aspect, GLdouble zNe...
^
/Users/davidlaxer/argos3/src/plugins/simulator/visualizations/qt-opengl/qtopengl_widget.cpp:282:7: warning:
'gluPickMatrix' is deprecated: first deprecated in OS X 10.9
[-Wdeprecated-declarations]
gluPickMatrix(un_x,
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:279:13: note:
'gluPickMatrix' has been explicitly marked deprecated here
extern void gluPickMatrix (GLdouble x, GLdouble y, GLdouble delX, GLdoub...
^
/Users/davidlaxer/argos3/src/plugins/simulator/visualizations/qt-opengl/qtopengl_widget.cpp:286:7: warning:
'gluPerspective' is deprecated: first deprecated in OS X 10.9 - "Use
GLKMatrix4MakePerspective" [-Wdeprecated-declarations]
gluPerspective(m_cCamera.GetActiveSettings().YFieldOfView.GetValue(),
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:278:13: note:
'gluPerspective' has been explicitly marked deprecated here
extern void gluPerspective (GLdouble fovy, GLdouble aspect, GLdouble zNe...
^
/Users/davidlaxer/argos3/src/plugins/simulator/visualizations/qt-opengl/qtopengl_widget.cpp:726:39: error:
no member named 'SaveAsImage' in 'argos::CFloorEntity'
m_cSpace.GetFloorEntity().SaveAsImage("/tmp/argos_floor.png");
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
3 warnings and 2 errors generated.
make[2]: *** [plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/qtopengl_widget.cpp.o] Error 1
make[1]: *** [plugins/simulator/visualizations/qt-opengl/CMakeFiles/argos3plugin_simulator_qtopengl.dir/all] Error 2
make: *** [all] Error 2
David-Laxers-MacBook-Pro:build_simulator davidlaxer$

Symbol "qt-opengl" Not Found -- macOS 10.12.1

Just trying to get started with running examples in argos. After installation and compilation, I get the following:

argos3 -c experiments/diffusion_1.argos

[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta43/lib/argos3/libargos3core_simulator.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta43/lib/argos3/libargos3plugin_simulator_dynamics2d.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta43/lib/argos3/libargos3plugin_simulator_entities.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta43/lib/argos3/libargos3plugin_simulator_epuck.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta43/lib/argos3/libargos3plugin_simulator_eyebot.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta43/lib/argos3/libargos3plugin_simulator_footbot.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta43/lib/argos3/libargos3plugin_simulator_genericrobot.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta43/lib/argos3/libargos3plugin_simulator_media.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta43/lib/argos3/libargos3plugin_simulator_pointmass3d.dylib"
[INFO] Loaded library "/usr/local/Cellar/argos3/3.0.0-beta43/lib/argos3/libargos3plugin_simulator_spiri.dylib"
[INFO] Not using threads
[INFO] Using random seed = 124
[INFO] Using simulation clock tick = 0.1
[INFO] Total experiment length in clock ticks = unlimited
[INFO] Loaded library "./build/controllers/footbot_diffusion/libfootbot_diffusion.so"
[INFO] The physics engine "dyn2d" will perform 10 iterations per tick (dt = 0.01 sec)
[FATAL] Failed to initialize the visualization. Parse error in the subtree.
[FATAL] Symbol "qt-opengl" not found

LEDs on boxes are not removed from medium

LEDs on boxes are inserted into the specified medium, in box_entity.h during Init(). CBoxEntity doesn't provide a destroy method and doesn't remove the associated LEDs in the CLEDEquippedEntity class from the medium when it is destroyed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.