ethz-asl / ethzasl_ptam

Modified version of Parallel Tracking and Mapping (PTAM)
http://wiki.ros.org/ethzasl_ptam
235 stars 184 forks source link

make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. #82

Open meuchel opened 8 years ago

meuchel commented 8 years ago

$ catkin --version catkin_tools 0.4.2 (C) 2014-2016 Open Source Robotics Foundation

$ catkin build ... Warnings << ptam:make /home/uavc/catkin_ws/logs/ptam/build.make.012.log
make[3]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. CMake Warning (dev) at CMakeLists.txt:17 (add_library): Policy CMP0003 should be set before this line. Add code such as

if(COMMAND cmake_policy)
  cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)

as early as possible but after the most recent call to cmake_minimum_required or cmake_policy(VERSION). This warning appears because target "agast" links to some libraries for which the linker must search:

dl, m, pthread, rt, cudart, nppc, nppi, npps, cufft

and other libraries with known full path:

/usr/local/lib/libopencv_videostab.so.2.4.11
/usr/lib/x86_64-linux-gnu/libGLU.so

CMake is adding directories in the second list to the linker search path in case they are needed to find libraries from the first list (for backwards compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for more information. This warning is for project developers. Use -Wno-dev to suppress it. ...