JuliaMPC/MAVs

build issues on develop branch

Closed this issue · 2 comments

after recent changes these errors are popping up

febbo@febbo-HP-ZBook-17-G2:~/Documents/workspace/MAVs$ sh build.sh
middle: Pulling from avpg/cain
Digest: sha256:b0f93807d1c5e45dd9cee4a3708d3e1339b1f58043767652d7952746f9adaa61
Status: Image is up to date for avpg/cain:middle
Sending build context to Docker daemon  282.6MB
Step 1/4 : FROM avpg/cain:middle
 ---> 39b9aecb3da8
Step 2/4 : COPY ros /home/$USERNAME/MAVs/ros
 ---> ac58ee918a4c
Step 3/4 : RUN /bin/bash -c 'source /opt/ros/kinetic/setup.bash; cd /home/$USERNAME/MAVs/ros/; catkin_make'
 ---> Running in 9e335aa64810
-- Using CATKIN_DEVEL_PREFIX: /home/mavs/MAVs/ros/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic
-- This workspace overlays: /opt/ros/kinetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/mavs/MAVs/ros/build/test_results
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.14
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 18 packages in topological order:
-- ~~  - contact_sensor
-- ~~  - controller
-- ~~  - interpolation
-- ~~  - mavs_msgs
-- ~~  - nloptcontrol_planner
-- ~~  - ros_chrono_msgs
-- ~~  - ros_chrono
-- ~~  - system
-- ~~  - point_cloud_converter
-- ~~  - chrono_position_broadcaster
-- ~~  - hector_trajectory
-- ~~  - set_step_size
-- ~~  - sim_time
-- ~~  - traj_gen_chrono
-- ~~  - obstacle_detector
-- ~~  - vehicle_description
-- ~~  - visualization
-- ~~  - ros_base_planner
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'contact_sensor'
-- ==> add_subdirectory(models/gazebo/contact_sensor)
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   thread
--   signals
--   system
--   filesystem
--   program_options
--   regex
--   iostreams
--   date_time
--   chrono
--   atomic
-- Boost version: 1.58.0
-- Looking for OGRE...
-- 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
-- Looking for ignition-msgs - found
-- +++ processing catkin package: 'controller'
-- ==> add_subdirectory(computing/tools/controller)
-- +++ processing catkin package: 'interpolation'
-- ==> add_subdirectory(computing/tools/interpolation)
-- +++ processing catkin package: 'mavs_msgs'
-- ==> add_subdirectory(computing/mavs_msgs)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- mavs_msgs: 2 messages, 0 services
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):
  catkin_package() DEPENDS on 'system_lib' but neither
  'system_lib_INCLUDE_DIRS' nor 'system_lib_LIBRARIES' is defined.
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  computing/mavs_msgs/CMakeLists.txt:107 (catkin_package)


-- +++ processing catkin package: 'nloptcontrol_planner'
-- ==> add_subdirectory(computing/planning/motion/nloptcontrol_planner)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- nloptcontrol_planner: 2 messages, 0 services
-- +++ processing catkin package: 'ros_chrono_msgs'
-- ==> add_subdirectory(models/chrono/ros_chrono_msgs)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- ros_chrono_msgs: 1 messages, 0 services
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):
  catkin_package() DEPENDS on 'system_lib' but neither
  'system_lib_INCLUDE_DIRS' nor 'system_lib_LIBRARIES' is defined.
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  models/chrono/ros_chrono_msgs/CMakeLists.txt:106 (catkin_package)


-- +++ processing catkin package: 'ros_chrono'
-- ==> add_subdirectory(models/chrono/ros_chrono)
-- Finding package Chrono...
--    Requested component Irrlicht (REQUIRED)
--    CHRONO_CXX_FLAGS         (Compiler flags):  -std=c++14 -pthread -fopenmp  -march=native -msse4.2 -mfpmath=sse  -march=native -mavx2  -march=native -mfma 
--    CHRONO_C_FLAGS           (Compiler flags):  -pthread -fopenmp  -march=native -msse4.2 -mfpmath=sse  -march=native -mavx2  -march=native -mfma 
--    CHRONO_LINKER_FLAGS      (Linker flags): -L/opt/chrono/chrono_build/lib64
--    CHRONO_INCLUDE_DIRS      (Chrono include directories): /opt/chrono/chrono_source/chrono/src;/opt/chrono/chrono_source/chrono/src/chrono;/opt/chrono/chrono_source/chrono/src/chrono/collision/bullet;/opt/chrono/chrono_source/chrono/src/chrono/collision/gimpact;/opt/chrono/chrono_source/chrono/src/chrono/collision/convexdecomposition/HACD;/opt/chrono/chrono_build;/usr/local/include/irrlicht
--    CHRONO_LIB_NAMES         (Chrono library names): ChronoEngine;ChronoEngine_irrlicht
--    CHRONO_LIBRARIES         (Chrono libraries): /usr/local/lib/libIrrlicht.so;-lXxf86vm;-lglut;-lX11;-lGL;/opt/chrono/chrono_build/lib64/libChronoEngine.so;/opt/chrono/chrono_build/lib64/libChronoEngine_irrlicht.so
--    CHRONO_DLL_NAMES         (Chrono DLL names): 
--    CHRONO_DLLS              (Chrono DLLs): 
--    CHRONO_DATA_DIR          (Path to Chrono data folder): /opt/chrono/chrono_source/chrono/data/
--    CHRONO_VEHICLE_DATA_DIR  (Path to Chrono::Vehicle data folder): /opt/chrono/chrono_source/chrono/data/vehicle/
--    CHRONO_FSI_DATA_DIR      (Path to Chrono::fsi data folder): /opt/chrono/chrono_source/chrono/data/fsi/
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):
  catkin_package() DEPENDS on 'system_lib' but neither
  'system_lib_INCLUDE_DIRS' nor 'system_lib_LIBRARIES' is defined.
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  models/chrono/ros_chrono/CMakeLists.txt:121 (catkin_package)


CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):
  catkin_package() DEPENDS on 'Chrono' but neither 'Chrono_INCLUDE_DIRS' nor
  'Chrono_LIBRARIES' is defined.
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  models/chrono/ros_chrono/CMakeLists.txt:121 (catkin_package)




Going to build the ros_chrono tests!


-- +++ processing catkin package: 'system'
-- ==> add_subdirectory(system)


Going to build the tests!


CMake Warning at system/CMakeLists.txt:30 (find_package):
  By not providing "Findgtest.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "gtest", but
  CMake did not find one.

  Could not find a package configuration file provided by "gtest" with any of
  the following names:

    gtestConfig.cmake
    gtest-config.cmake

  Add the installation prefix of "gtest" to CMAKE_PREFIX_PATH or set
  "gtest_DIR" to a directory containing one of the above files.  If "gtest"
  provides a separate development package or SDK, be sure it has been
  installed.

But it still builds OK...

Part of the above seems to be resolved, but now the warning pops up

-- +++ processing catkin package: 'ros_chrono_msgs'
-- ==> add_subdirectory(models/chrono/ros_chrono_msgs)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- ros_chrono_msgs: 1 messages, 0 services
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):
  catkin_package() DEPENDS on 'system_lib' but neither
  'system_lib_INCLUDE_DIRS' nor 'system_lib_LIBRARIES' is defined.
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  models/chrono/ros_chrono_msgs/CMakeLists.txt:106 (catkin_package)

Also the gtest issue

--    CHRONO_FSI_DATA_DIR      (Path to Chrono::fsi data folder): /opt/chrono/chrono_source/chrono/data/fsi/


Going to build the ros_chrono tests!


-- +++ processing catkin package: 'system'
-- ==> add_subdirectory(system)
CMake Warning at /home/mavs/MAVs/ros/build/system/cmake/system-genmsg.cmake:3 (message):
  Invoking generate_messages() without having added any message or service
  file before.

  You should either add add_message_files() and/or add_service_files() calls
  or remove the invocation of generate_messages().
Call Stack (most recent call first):
  /opt/ros/kinetic/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
  system/CMakeLists.txt:16 (generate_messages)


-- system: 0 messages, 0 services


Going to build the tests!


CMake Warning at system/CMakeLists.txt:44 (find_package):
  By not providing "Findgtest.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "gtest", but
  CMake did not find one.

  Could not find a package configuration file provided by "gtest" with any of
  the following names:

    gtestConfig.cmake
    gtest-config.cmake

  Add the installation prefix of "gtest" to CMAKE_PREFIX_PATH or set
  "gtest_DIR" to a directory containing one of the above files.  If "gtest"
  provides a separate development package or SDK, be sure it has been
  installed.

remove testing functions and fixed other errors