Created
September 4, 2014 14:56
-
-
Save gadomski/1962b87c5582595793e3 to your computer and use it in GitHub Desktop.
Next PCD PDAL error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[1/41] 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 /usr/local/lib/python2.7/site-packages/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:194:17: error: no matching constructor for initialization of 'pcl::SetIfFieldExists<typename PointCloud<PointNormal>::PointType, boost::uint32_t>' | |
pcl::SetIfFieldExists<typename CloudT::PointType, boost::uint32_t> ( | |
^ | |
../src/filters/PCLBlock.cpp:82:5: note: in instantiation of function template specialization 'pdal::PDALtoPCD<pcl::PointCloud<pcl::PointNormal> >' requested here | |
PDALtoPCD(*input, *cloud, buffer_bounds); | |
^ | |
../include/stubs/pcl/point_traits.h:35:5: note: candidate constructor not viable: no known conversion from 'int' to 'unsigned int &' for 3rd argument | |
SetIfFieldExists(const inT& pt, const std::string& field, outT& value) | |
^ | |
../include/stubs/pcl/point_traits.h:33:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided | |
struct SetIfFieldExists | |
^ | |
../include/stubs/pcl/point_traits.h:33:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided | |
In file included from ../src/filters/PCLBlock.cpp:35: | |
../src/../include/pdal/PCLConversions.hpp:119:17: error: no matching constructor for initialization of 'pcl::CopyIfFieldExists<typename PointCloud<PointNormal>::PointType, boost::uint32_t>' | |
(pcl::CopyIfFieldExists<typename CloudT::PointType, boost::uint32_t> | |
^ | |
../src/filters/PCLBlock.cpp:128:5: note: in instantiation of function template specialization 'pdal::PCDtoPDAL<pcl::PointCloud<pcl::PointNormal> >' requested here | |
PCDtoPDAL(*cloud_f, *output, buffer_bounds); | |
^ | |
../include/stubs/pcl/point_traits.h:22:5: note: candidate constructor not viable: requires 4 arguments, but 3 were provided | |
CopyIfFieldExists(const inT& pt, const std::string& field, | |
^ | |
../include/stubs/pcl/point_traits.h:20:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided | |
struct CopyIfFieldExists | |
^ | |
../include/stubs/pcl/point_traits.h:20:8: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided | |
2 errors generated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment