Skip to content

Instantly share code, notes, and snippets.

@gadomski
Created September 4, 2014 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gadomski/54424539d6505e06555b to your computer and use it in GitHub Desktop.
Save gadomski/54424539d6505e06555b to your computer and use it in GitHub Desktop.
Error output for no PCL, with stubs
[1/45] Building CXX object src/CMakeFiles/pdalcpp.dir/filters/PCLBlock.cpp.o
FAILED: /usr/bin/c++ -DHAVE_PYTHON=1 -Dpdalcpp_EXPORTS -Wextra -Wall -Wno-unused-parameter -Wno-unused-variable -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++11 -g -fPIC -I../include/stubs -Iinclude -I../src/../include -I/usr/local/include -I/usr/include/libxml2 -isystem /usr/include/python2.7 -isystem /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include -MMD -MT src/CMakeFiles/pdalcpp.dir/filters/PCLBlock.cpp.o -MF src/CMakeFiles/pdalcpp.dir/filters/PCLBlock.cpp.o.d -o src/CMakeFiles/pdalcpp.dir/filters/PCLBlock.cpp.o -c ../src/filters/PCLBlock.cpp
In file included from ../src/filters/PCLBlock.cpp:35:
../src/../include/pdal/PCLConversions.hpp:111:22: error: no member named 'has_color' in namespace 'pcl::traits'
if (pcl::traits::has_color<typename CloudT::PointType>::value)
~~~~~~~~~~~~~^
../src/../include/pdal/PCLConversions.hpp:111:58: error: expected '(' for function-style cast or type construction
if (pcl::traits::has_color<typename CloudT::PointType>::value)
~~~~~~~~~~~~~~~~~~~~~~~~~~^
../src/../include/pdal/PCLConversions.hpp:111:61: error: no member named 'value' in the global namespace
if (pcl::traits::has_color<typename CloudT::PointType>::value)
~~^
../src/../include/pdal/PCLConversions.hpp:184:22: error: no member named 'has_color' in namespace 'pcl::traits'
if (pcl::traits::has_color<typename CloudT::PointType>::value)
~~~~~~~~~~~~~^
../src/../include/pdal/PCLConversions.hpp:184:58: error: expected '(' for function-style cast or type construction
if (pcl::traits::has_color<typename CloudT::PointType>::value)
~~~~~~~~~~~~~~~~~~~~~~~~~~^
../src/../include/pdal/PCLConversions.hpp:184:61: error: no member named 'value' in the global namespace
if (pcl::traits::has_color<typename CloudT::PointType>::value)
~~^
6 errors generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment