Fatal error after installation ARGoS 3

Requests regarding how to set up experiments in ARGoS.
jotasmall
Posts: 2
Joined: Tue Apr 26, 2016 12:39 am

Fatal error after installation ARGoS 3

Postby jotasmall » Tue Apr 26, 2016 7:34 pm

Hi,

My computer is running Fedora 23 64bits, I followed the following instructions from the GitHub installation because the download links for rpm packages are broken.

$ git clone https://github.com/ilpincy/argos3.git argos3
$ cd argos3
$ mkdir build_simulator
$ cd build_simulator
$ cmake ../src
$ sudo make
$ make doc # documentation is required!
$ sudo make install

Everything ran well, until I wanted to execute Argos3, the terminal printed me a red message saying

$ argos3
[FATAL] No --help, --version, --config-file or --query options specified.

Then I tried to do it using the source, but the same result. I installed linux to be able to use this software, so please do not have hope on me when it is about working or debugging linux files.

My questions are:

1. How can I fix this fatal error?

This was the answer from the terminal when I runned cmake ../src

-- The C compiler identification is GNU 5.3.1
-- The CXX compiler identification is GNU 5.3.1
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/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: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- GCC/G++ version >= 4.3
-- 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.10")
-- Found ASCIIDoc: /usr/bin/asciidoc
-- Could NOT find Lua52 (missing: LUA_INCLUDE_DIR)
-- 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.7")
-- Found OpenGL: /usr/lib64/libGL.so
-- Found GLUT: /usr/lib64/libglut.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jotasmall/argos3/build_sim

2. Am I missing those not found?

3. I installed all the packages, how could I uninstall ARGoS without sudo make uninstall? to try run it by sources (I read that both at the same time will have problems...) because when I tried, the terminal printed this:

$ cd core
$ ./argos3 -q all
...
terminate called after throwing an instance of 'argos::CARGoSException'
what(): [FATAL] Can't unload library "�2�
Aborted (core dumped)


Thanks for your time,

pincy
Site Admin
Posts: 632
Joined: Thu Mar 08, 2012 8:04 pm
Location: Boston, MA
Contact:

Re: Fatal error after installation ARGoS 3

Postby pincy » Tue Apr 26, 2016 8:02 pm

Hi,
the download links for rpm packages are broken
Thanks for letting me know, I'll fix them!
the terminal printed me a red message saying

$ argos3
[FATAL] No --help, --version, --config-file or --query options specified.

[...]
1. How can I fix this fatal error?
This is correct behavior. The output of the error is telling you that you must pass a parameter to the argos3 command, whether it is --help, --version, or the others. Read the documentations and check the examples for a starting point on how to use ARGoS.
I installed linux to be able to use this software, so please do not have hope on me when it is about working or debugging linux files.
I suggest you learn Linux commands and C++ programming under Linux before trying to use ARGoS. Basic knowledge of tools such as CMake, GCC, and command-line interaction is a prerequisite to use ARGoS, because you will need to code your controllers.
2. Am I missing those not found?
No. CMake looks for the Qt and OpenGL libraries in various places, and some of these places report "not found", as it should. The necessary libraries were found.
3. I installed all the packages, how could I uninstall ARGoS without sudo make uninstall?
You should never install the packages and the sources at the same time. The linking error you got is expected behavior.

To uninstall ARGoS, you need to know where it was installed. It seems that you followed the normal procedure, so the files should be in /usr/local. To uninstall, execute the following commands:

Code: Select all

$ sudo rm -rf /usr/local/bin/argos3 $ sudo rm -rf /usr/local/doc/argos3 $ sudo rm -rf /usr/local/include/argos3 $ sudo rm -rf /usr/local/lib/argos3 $ sudo rm -rf /usr/local/lib/pkgconfig/argos3_simulator.pc $ sudo rm -rf /usr/local/libexec/argos3 $ sudo rm -rf /usr/local/share/man/man1/argos3.1.gz $ sudo rm -rf /usr/local/share/argos3
Cheers,
Carlo
I made ARGoS.

jotasmall
Posts: 2
Joined: Tue Apr 26, 2016 12:39 am

Re: Fatal error after installation ARGoS 3

Postby jotasmall » Wed Apr 27, 2016 5:09 pm

I tried with version and it printed the version, so it is installed!
Yeah, I need to learn these commands, it is a new environment for me.
Thanks,

pincy
Site Admin
Posts: 632
Joined: Thu Mar 08, 2012 8:04 pm
Location: Boston, MA
Contact:

Re: Fatal error after installation ARGoS 3

Postby pincy » Wed Apr 27, 2016 7:54 pm

Two good beginner articles to learn Unix:
Cheers,
Carlo
I made ARGoS.


Return to “How to... ?”