Autoware source build,compile error
Ubuntu 16.04 ros kinetic
gcc g++ version 6.5.0
Follwing this,I want to install autoware 1.12.0.
But when I entered the following command,
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
errors occurred.
Starting >>> ndt_gpu
[27.384s] WARNING:colcon.colcon_cmake.task.cmake.build:Could not run installation step for package 'ndt_gpu' because it has no 'install' target
--- stderr: ndt_gpu
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
CMake Warning at /home/quanfayan/autoware.ai/install/autoware_build_flags/share/autoware_build_flags/cmake/autoware_build_flags-extras.cmake:36 (message):
CUDA support is disabled. Set the AUTOWARE_COMPILE_WITH_CUDA environment
variable and recompile to enable it
Call Stack (most recent call first):
CMakeLists.txt:22 (AW_CHECK_CUDA)
ndt_gpu will not be built, CUDA was not found.
---
Finished <<< ndt_gpu [2.44s]
Starting >>> rosinterface
Finished <<< kitti_player [6.32s]
Starting >>> runtime_manager
--- stderr: pcl_omp_registration
In file included from /home/quanfayan/autoware.ai/src/autoware/core_perception/pcl_omp_registration/include/pcl_omp_registration/ndt.h:45:0,
from /home/quanfayan/autoware.ai/src/autoware/core_perception/pcl_omp_registration/src/ndt.cpp:46:
/home/quanfayan/autoware.ai/src/autoware/core_perception/pcl_omp_registration/include/pcl_omp_registration/registration.h:181:23: error: expected identifier before string constant
PCL_DEPRECATED ("[pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/quanfayan/autoware.ai/src/autoware/core_perception/pcl_omp_registration/include/pcl_omp_registration/registration.h:181:23: error: expected ‘,’ or ‘...’ before string constant
/home/quanfayan/autoware.ai/src/autoware/core_perception/pcl_omp_registration/include/pcl_omp_registration/registration.h:181:137: error: ISO C++ forbids declaration of ‘PCL_DEPRECATED’ with no type [-fpermissive]
etInputCloud] setInputCloud is deprecated. Please use setInputSource instead.")
^
/home/quanfayan/autoware.ai/src/autoware/core_perception/pcl_omp_registration/include/pcl_omp_registration/registration.h:181:137: error: expected ‘;’ at end of member declaration
/home/quanfayan/autoware.ai/src/autoware/core_perception/pcl_omp_registration/include/pcl_omp_registration/registration.h:186:23: error: expected identifier before string constant
PCL_DEPRECATED ("[pcl::registration::Registration::getInputCloud] getInputCloud is deprecated. Please use getInputSource instead.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/quanfayan/autoware.ai/src/autoware/core_perception/pcl_omp_registration/include/pcl_omp_registration/registration.h:186:23: error: expected ‘,’ or ‘...’ before string constant
/home/quanfayan/autoware.ai/src/autoware/core_perception/pcl_omp_registration/include/pcl_omp_registration/registration.h:186:137: error: ISO C++ forbids declaration of ‘PCL_DEPRECATED’ with no type [-fpermissive]
etInputCloud] getInputCloud is deprecated. Please use getInputSource instead.")
^
/home/quanfayan/autoware.ai/src/autoware/core_perception/pcl_omp_registration/include/pcl_omp_registration/registration.h:186:137: error: expected ‘;’ at end of member declaration
/home/quanfayan/autoware.ai/src/autoware/core_perception/pcl_omp_registration/include/pcl_omp_registration/registration.h:186:7: error: ‘int pcl_omp::Registration<PointSource, PointTarget, Scalar>::PCL_DEPRECATED(int)’ cannot be overloaded
PCL_DEPRECATED ("[pcl::registration::Registration::getInputCloud] getInputCloud is deprecated. Please use getInputSource instead.")
^~~~~~~~~~~~~~
/home/quanfayan/autoware.ai/src/autoware/core_perception/pcl_omp_registration/include/pcl_omp_registration/registration.h:181:7: error: with ‘int pcl_omp::Registration<PointSource, PointTarget, Scalar>::PCL_DEPRECATED(int)’
PCL_DEPRECATED ("[pcl::registration::Registration::setInputCloud] setInputCloud is deprecated. Please use setInputSource instead.")
^~~~~~~~~~~~~~
/home/quanfayan/autoware.ai/src/autoware/core_perception/pcl_omp_registration/include/pcl_omp_registration/registration.h:375:45: error: ‘boost::function’ has not been declared
registerVisualizationCallback (boost::function<FunctionSignature> &visualizerCallback)
^~~~~~~~
/home/quanfayan/autoware ...
Can you please show us the content of your
autoware.ai.repos
file?