autowarefoundation / autoware_ai

Apache License 2.0
27 stars 11 forks source link

Docker Build still error, please help #220

Closed jt387 closed 6 years ago

jt387 commented 6 years ago

I fellowed https://github.com/CPFL/Autoware/wiki/Generic-x86-Docker and used the Case 2: Using modify-then-recompile Dockerfile. After executing "sudo sh build.sh indigo", got the error as below. I tried the source build method and also got error. Could any one give some help? Thanks!

Bug

Expected Behavior

No build error

Actual Behavior

-- +++ processing catkin package: 'ndt_gpu' -- ==> add_subdirectory(computing/perception/localization/lib/ndt_gpu) -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- iostreams -- serialization -- checking for module 'openni-dev' -- package 'openni-dev' not found -- checking for module 'openni-dev' -- package 'openni-dev' not found -- checking for module 'openni-dev' -- package 'openni-dev' not found -- looking for PCL_COMMON -- looking for PCL_OCTREE -- looking for PCL_IO -- looking for PCL_KDTREE -- looking for PCL_SEARCH -- looking for PCL_SAMPLE_CONSENSUS -- looking for PCL_FILTERS -- looking for PCL_FEATURES -- looking for PCL_KEYPOINTS -- looking for PCL_GEOMETRY -- looking for PCL_SEGMENTATION -- looking for PCL_VISUALIZATION -- looking for PCL_OUTOFCORE -- looking for PCL_REGISTRATION -- looking for PCL_RECOGNITION -- looking for PCL_SURFACE -- looking for PCL_PEOPLE -- looking for PCL_TRACKING -- looking for PCL_APPS -- Found CUDA: /usr/local/cuda (found version "8.0") -- +++ processing catkin package: 'ndt_tku' -- ==> add_subdirectory(computing/perception/localization/lib/ndt_tku) -- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so
-- +++ processing catkin package: 'nmea_navsat' -- ==> add_subdirectory(sensing/drivers/gnss/packages/nmea_navsat) -- +++ processing catkin package: 'op_utility' -- ==> add_subdirectory(computing/planning/common/lib/openplanner/op_utility) -- Found TinyXML: /usr/lib/x86_64-linux-gnu/libtinyxml.so
-- +++ processing catkin package: 'op_planner' -- ==> add_subdirectory(computing/planning/common/lib/openplanner/op_planner) -- +++ processing catkin package: 'op_simu' -- ==> add_subdirectory(computing/planning/common/lib/openplanner/op_simu) -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/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/lib/x86_64-linux-gnu/libX11.so -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Found GLEW: /usr/include
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find Threads (missing: Threads_FOUND) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-2.8/Modules/FindThreads.cmake:166 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) computing/planning/common/lib/openplanner/op_simu/CMakeLists.txt:19 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/autoware/Autoware/ros/build/CMakeFiles/CMakeOutput.log". See also "/home/autoware/Autoware/ros/build/CMakeFiles/CMakeError.log".

Running command: "cmake /home/autoware/Autoware/ros/src -DCATKIN_DEVEL_PREFIX=/home/autoware/Autoware/ros/devel -DCMAKE_INSTALL_PREFIX=/home/autoware/Autoware/ros/install -G Unix Makefiles" in "/home/autoware/Autoware/ros/build"

Invoking "cmake" failed The command '/bin/sh -c /bin/bash -c 'source /opt/ros/indigo/setup.bash; cd /home/$USERNAME/Autoware/ros/src; git submodule update --init --recursive; catkin_init_workspace; cd ../; ./catkin_make_release'' returned a non-zero code: 1

Specifications

New Feature

Describe where the new feature request comes from. Add a high-level diagram of how the new feature should work.

kfunaoka commented 6 years ago

It's better to use Case 1 at autowarefoundation/autoware_ai#231 until everything goes well.