Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem compiling Plugins

Hello,

i have a problem, compiling Plugins for Gazebo. I am running Gazebo version 9.5.0 in an Ubuntu 16.04 LTS. Bevore i switched to Gazebo version 9.5 i used an older Version, but I cant recall with it was. With this older version I had no problems writing and compiling Plugins.

Since the Update There is no longer an .so file after building the Plugin. I think, that it must be an error on compiler site, for the error existis even if i try to recreate the hello_world tutorialt http://gazebosim.org/tutorials?tut=plugins_hello_world, if i try to start the simulation, as told in the tutorial, it says that it cant find the .so file. The consol output doesen't (clearly) state an error, witch is the reason i am left clueless.

-- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- 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 -- Detecting C compile features -- Detecting C compile features - 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 -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'bullet>=2.82' -- Found bullet, version 2.83 -- Found Simbody: /usr/include/simbody
-- Looking for pthread.h -- Looking for 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
-- Boost version: 1.58.0 -- Found the following Boost libraries: -- thread -- signals -- system -- filesystem -- program_options -- regex -- iostreams -- date_time -- chrono -- atomic -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so
-- Boost version: 1.58.0 -- Looking for OGRE... -- OGRE_PREFIX_WATCH changed. -- Checking for module 'OGRE' -- Found OGRE, version 1.9.0 -- Found Ogre Ghadamon (1.9.0) -- Found OGRE: optimized;/usr/lib/x86_64-linux-gnu/libOgreMain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreMain.so -- Looking for OGRE_Paging... -- Found OGRE_Paging: optimized;/usr/lib/x86_64-linux-gnu/libOgrePaging.so;debug;/usr/lib/x86_64-linux-gnu/libOgrePaging.so -- Looking for OGRE_Terrain... -- Found OGRE_Terrain: optimized;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so -- Looking for OGRE_Property... -- Found OGRE_Property: optimized;/usr/lib/x86_64-linux-gnu/libOgreProperty.so;debug;/usr/lib/x86_64-linux-gnu/libOgreProperty.so -- Looking for OGRE_RTShaderSystem... -- Found OGRE_RTShaderSystem: optimized;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so;debug;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so -- Looking for OGRE_Volume... -- Found OGRE_Volume: optimized;/usr/lib/x86_64-linux-gnu/libOgreVolume.so;debug;/usr/lib/x86_64-linux-gnu/libOgreVolume.so -- Looking for OGRE_Overlay... -- Found OGRE_Overlay: optimized;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so;debug;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so (Required is at least version "2.3.0") -- Checking for module 'uuid' -- Found uuid, version 2.27.0 -- Found UUID: TRUE
-- Checking for module 'tinyxml2' -- Found tinyxml2, version 2.2.0 -- Looking for dlfcn.h - found -- Looking for libdl - found -- Found DL: TRUE
-- FreeImage.pc not found, we will search for FreeImage_INCLUDE_DIRS and FreeImage_LIBRARIES -- Checking for module 'gts' -- Found gts, version 0.7.6 -- Found GTS: TRUE
-- Checking for module 'libswscale' -- Found libswscale, version 3.1.101 -- Found SWSCALE: TRUE
-- Checking for module 'libavdevice >= 56.4.100' -- Found libavdevice , version 56.4.100 -- Found AVDEVICE: TRUE (Required is at least version "56.4.100") -- Checking for module 'libavformat' -- Found libavformat, version 56.40.101 -- Found AVFORMAT: TRUE
-- Checking for module 'libavcodec' -- Found libavcodec, version 56.60.100 -- Found AVCODEC: TRUE
-- Checking for module 'libavutil' -- Found libavutil, version 54.31.100 -- Found AVUTIL: TRUE
-- Found CURL: /home/blacksheep/anaconda3/lib/libcurl.so (found version "7.60.0") -- Checking for module 'jsoncpp' -- Found jsoncpp, version 1.7.2 -- Found JSONCPP: TRUE
-- Checking for module 'yaml-0.1' -- Found yaml-0.1, version 0.1.6 -- Found YAML: TRUE
-- Checking for module 'libzip' -- Found libzip, version 1.0.1 -- Found ZIP: TRUE
-- Configuring done -- Generating done -- Build files have been written to: /home/blacksheep/Workspaces/Gazebo/Tutorial/build

the only thing that looks suspicious is the statement : -- FreeImage.pc not found, we will search for FreeImage_INCLUDE_DIRS and FreeImage_LIBRARIES but i dont know, what this means or if this is the problem.

I hope someone can help me with this problem and if you know a better way to write the consol output please tell me.

have a nice day Delay Lama