Skip to content

Instantly share code, notes, and snippets.

@brannondorsey
Created October 10, 2014 05:12
Show Gist options
  • Save brannondorsey/8963387147e9a0311a58 to your computer and use it in GitHub Desktop.
Save brannondorsey/8963387147e9a0311a58 to your computer and use it in GitHub Desktop.
Build Errors for PCL KinFu + KinFu_largeScale on OSX
-- Try OpenMP C flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-Qopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-xopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [+Oopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-qsmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-Qopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-xopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [+Oopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-qsmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Could NOT find OpenMP (missing: OpenMP_C_FLAGS OpenMP_CXX_FLAGS)
-- Not found OpenMP
-- Boost version: 1.56.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- date_time
-- iostreams
-- Eigen found (include: /usr/local/Cellar/eigen/3.2.2/include/eigen3, version: 3.2.2)
-- FLANN found (include: /usr/local/Cellar/flann/1.8.4/include, lib: optimized;/usr/local/Cellar/flann/1.8.4/lib/libflann_cpp.dylib;debug;/usr/local/Cellar/flann/1.8.4/lib/libflann_cpp.dylib)
-- OpenNI found (include: /usr/local/Cellar/openni/1.5.7.10/include/ni, lib: /usr/local/Cellar/openni/1.5.7.10/lib/libOpenNI.dylib)
-- OpenNI 2 found (include: /usr/local/Cellar/openni2/2.2.0.33/include/ni2, lib: /usr/local/Cellar/openni2/2.2.0.33/lib/ni2/libOpenNI2.dylib, redist: )
-- Could NOT find FZAPI (missing: FZAPI_LIBS FZAPI_INCLUDE_DIR)
-- Could NOT find PXCAPI (missing: PXCAPI_LIBS PXCAPI_INCLUDE_DIRS)
-- checking for module 'metslib'
-- package 'metslib' not found
-- QHULL found (include: /usr/local/include, lib: optimized;/usr/local/lib/libqhull_p.dylib;debug;/usr/local/lib/libqhull_p.dylib)
-- Found CUDA Toolkit v6.5
-- CUDA NVCC target flags: -gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_20,code=sm_21;-gencode;arch=compute_30,code=sm_30
-- VTK_MAJOR_VERSION 6
-- VTK found (include: /usr/local/include/vtk-6.1;/usr/include;/usr/local/include;/usr/include/libxml2;/usr/include/python2.7, lib: vtkalglib;vtkChartsCore;vtkCommonColor;vtkCommonDataModel;vtkCommonMath;vtkCommonCore;vtksys;vtkCommonMisc;vtkCommonSystem;vtkCommonTransforms;vtkInfovisCore;vtkFiltersExtraction;vtkCommonExecutionModel;vtkFiltersCore;vtkFiltersGeneral;vtkCommonComputationalGeometry;vtkFiltersStatistics;vtkImagingFourier;vtkImagingCore;vtkRenderingContext2D;vtkRenderingCore;vtkFiltersGeometry;vtkFiltersSources;vtkRenderingFreeType;vtkfreetype;/usr/lib/libz.dylib;vtkftgl;vtkRenderingOpenGL;vtkImagingHybrid;vtkIOImage;vtkDICOMParser;vtkIOCore;vtkmetaio;/usr/local/lib/libjpeg.dylib;/usr/local/lib/libpng.dylib;/usr/local/lib/libtiff.dylib;vtkDomainsChemistry;vtkIOXML;vtkIOGeometry;vtkjsoncpp;vtkIOXMLParser;/usr/lib/libexpat.dylib;vtkexoIIc;vtkNetCDF;vtkNetCDF_cxx;/usr/local/lib/libhdf5.dylib;/usr/local/lib/libsz.dylib;/usr/lib/libdl.dylib;/usr/lib/libm.dylib;/usr/local/lib/libhdf5_hl.dylib;vtkFiltersAMR;vtkParallelCore;vtkIOLegacy;vtkFiltersFlowPaths;vtkFiltersGeneric;vtkFiltersHybrid;vtkImagingSources;vtkFiltersHyperTree;vtkFiltersImaging;vtkImagingGeneral;vtkFiltersModeling;vtkFiltersParallel;vtkFiltersParallelImaging;vtkFiltersProgrammable;vtkFiltersSelection;vtkFiltersSMP;vtkFiltersTexture;vtkFiltersVerdict;verdict;vtkGeovisCore;vtkInfovisLayout;vtkInteractionStyle;vtkInteractionWidgets;vtkRenderingAnnotation;vtkImagingColor;vtkRenderingVolume;vtkViewsCore;vtkproj4;vtkgl2ps;vtkGUISupportQt;vtkGUISupportQtOpenGL;vtkGUISupportQtSQL;vtkIOSQL;vtksqlite;vtkGUISupportQtWebkit;vtkViewsQt;vtkViewsInfovis;vtkRenderingLabel;vtkImagingMath;vtkImagingMorphological;vtkImagingStatistics;vtkImagingStencil;vtkInfovisBoostGraphAlgorithms;vtkInteractionImage;vtkIOAMR;vtkIOEnSight;vtkIOExodus;vtkIOExport;vtkRenderingGL2PS;vtkIOImport;vtkIOInfovis;/usr/lib/libxml2.dylib;vtkIOLSDyna;vtkIOMINC;vtkIOMovie;vtkoggtheora;vtkIONetCDF;vtkIOParallel;vtkIOPLY;vtkIOVideo;/System/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib;vtkRenderingFreeTypeFontConfig;vtkRenderingFreeTypeOpenGL;vtkRenderingImage;vtkRenderingLIC;vtkRenderingLOD;vtkRenderingQt;vtkRenderingVolumeAMR;vtkRenderingVolumeOpenGL;vtkViewsContext2D;vtkViewsGeovis;vtkWrappingPythonCore;vtkWrappingTools
-- VTK found (include: /usr/local/include/vtk-6.1;/usr/include;/usr/local/include;/usr/include/libxml2;/usr/include/python2.7, lib: )
-- Found Glew: GLEW;-framework Cocoa
-- DOXYGEN_FOUND
-- HTML_HELP_COMPILER
-- The following subsystems will be built:
-- common
-- octree
-- io
-- kdtree
-- search
-- sample_consensus
-- filters
-- 2d
-- geometry
-- features
-- ml
-- segmentation
-- visualization
-- surface
-- registration
-- keypoints
-- tracking
-- recognition
-- stereo
-- apps
not building:
|_ 3d_rec_framework: No reason
|_ cloud_composer: No reason
|_ in_hand_scanner: No reason
|_ modeler: No reason
|_ optronic_viewer: FZAPI was not found.
|_ point_cloud_editor: No reason
-- cuda_common
-- cuda_features
-- cuda_segmentation
-- cuda_sample_consensus
-- outofcore
-- gpu_containers
-- gpu_utils
-- gpu_octree
-- gpu_features
-- gpu_kinfu
-- gpu_kinfu_large_scale
-- gpu_segmentation
-- people
-- tools
-- The following subsystems will not be built:
-- cuda_io: Disabled by default.
-- cuda_apps: Disabled: cuda_io missing.
-- examples: Code examples are disabled by default.
-- gpu_people: Disabled by default.
-- gpu_surface: Disabled by default.
-- gpu_tracking: Disabled by default.
-- simulation: Disabled by default.
-- global_tests: No reason
-- Configuring done
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
pcl_2d
pcl_apps
pcl_common
pcl_cuda_features
pcl_cuda_sample_consensus
pcl_cuda_segmentation
pcl_features
pcl_filters
pcl_gpu_containers
pcl_gpu_features
pcl_gpu_kinfu
pcl_gpu_kinfu_large_scale
pcl_gpu_octree
pcl_gpu_segmentation
pcl_gpu_utils
pcl_io
pcl_io_ply
pcl_kdtree
pcl_keypoints
pcl_ml
pcl_octree
pcl_outofcore
pcl_people
pcl_recognition
pcl_registration
pcl_sample_consensus
pcl_search
pcl_segmentation
pcl_stereo
pcl_surface
pcl_tracking
pcl_visualization
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /Users/bdorse/Documents/code/pcl-trunk/build
[ 0%] Built target pcl_pcd_convert_NaN_nan
[ 1%] [ 2%] Building NVCC (Device) object cuda/segmentation/CMakeFiles/pcl_cuda_segmentation.dir/src/./pcl_cuda_segmentation_generated_connected_components.cu.o
Building NVCC (Device) object cuda/features/CMakeFiles/pcl_cuda_features.dir/src/./pcl_cuda_features_generated_normal_3d.cu.o
[ 3%] Built target pcl_gpu_containers
[ 3%] Built target pcl_people
[ 3%] Built target pcl_octree
[ 4%] Built target pcl_gpu_utils
[ 4%] Built target pcl_io_ply
Linking CXX shared library ../../lib/libpcl_gpu_octree.dylib
[ 7%] Built target pcl_common
Scanning dependencies of target pcl_plyheader
[ 7%] Building CXX object io/tools/ply/CMakeFiles/pcl_plyheader.dir/plyheader.cpp.o
In file included from <built-in>:175:
<command line>:10:10: warning: In file included from <built-in>:175:
whitespace recommended after macro name<command line>:
10:10: warning: whitespace recommended after macro name
#define $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG> 1
^
#define $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG> 1
^
Linking CXX shared library ../../lib/libpcl_gpu_kinfu.dylib
Scanning dependencies of target pcl_ply2ply
Scanning dependencies of target pcl_ply2obj
Scanning dependencies of target pcl_ply2raw
Undefined symbols for architecture x86_64:
"std::string::_Rep::_M_destroy(std::allocator<char> const&)", referenced from:
void thrust::system::cuda::detail::free<thrust::system::cuda::detail::tag, thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >(thrust::system::cuda::detail::execution_policy<thrust::system::cuda::detail::tag>&, thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default>) in cuda_compile_generated_marching_cubes.cu.o
thrust::system::system_error::~system_error() in cuda_compile_generated_marching_cubes.cu.o
thrust::system::system_error::~system_error() in cuda_compile_generated_marching_cubes.cu.o
thrust::system::system_error::what() const in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::trivial_copy_detail::checked_cudaMemcpy(void*, void const*, unsigned long, cudaMemcpyKind) in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::current_device() in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::function_attributes_t thrust::system::cuda::detail::function_attributes<void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::device_ptr<int>, thrust::detail::normal_iterator<thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<int>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)>(void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::device_ptr<int>, thrust::detail::normal_iterator<thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<int>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)) in cuda_compile_generated_marching_cubes.cu.o
...
"std::string::_Rep::_S_empty_rep_storage", referenced from:
void thrust::system::cuda::detail::free<thrust::system::cuda::detail::tag, thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >(thrust::system::cuda::detail::execution_policy<thrust::system::cuda::detail::tag>&, thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default>) in cuda_compile_generated_marching_cubes.cu.o
thrust::system::system_error::~system_error() in cuda_compile_generated_marching_cubes.cu.o
thrust::system::system_error::~system_error() in cuda_compile_generated_marching_cubes.cu.o
thrust::system::system_error::what() const in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::trivial_copy_detail::checked_cudaMemcpy(void*, void const*, unsigned long, cudaMemcpyKind) in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::current_device() in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::function_attributes_t thrust::system::cuda::detail::function_attributes<void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::device_ptr<int>, thrust::detail::normal_iterator<thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<int>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)>(void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::device_ptr<int>, thrust::detail::normal_iterator<thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<int>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)) in cuda_compile_generated_marching_cubes.cu.o
...
"std::string::append(char const*, unsigned long)", referenced from:
thrust::system::system_error::what() const in cuda_compile_generated_marching_cubes.cu.o
thrust::system::detail::bad_alloc::bad_alloc(std::string const&) in cuda_compile_generated_marching_cubes.cu.o
"std::string::append(std::string const&)", referenced from:
thrust::system::system_error::what() const in cuda_compile_generated_marching_cubes.cu.o
thrust::system::detail::bad_alloc::bad_alloc(std::string const&) in cuda_compile_generated_marching_cubes.cu.o
"std::string::assign(char const*, unsigned long)", referenced from:
thrust::system::system_error::what() const in cuda_compile_generated_marching_cubes.cu.o
thrust::system::detail::bad_alloc::bad_alloc(std::string const&) in cuda_compile_generated_marching_cubes.cu.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:
void thrust::system::cuda::detail::free<thrust::system::cuda::detail::tag, thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >(thrust::system::cuda::detail::execution_policy<thrust::system::cuda::detail::tag>&, thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default>) in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::cuda_error_category::message(int) const in cuda_compile_generated_marching_cubes.cu.o
thrust::system::detail::generic_error_category::message(int) const in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::trivial_copy_detail::checked_cudaMemcpy(void*, void const*, unsigned long, cudaMemcpyKind) in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::current_device() in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::function_attributes_t thrust::system::cuda::detail::function_attributes<void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::device_ptr<int>, thrust::detail::normal_iterator<thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<int>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)>(void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::device_ptr<int>, thrust::detail::normal_iterator<thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<int>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)) in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::runtime_introspection_detail::get_device_properties(thrust::system::cuda::detail::device_properties_t&, int) in cuda_compile_generated_marching_cubes.cu.o
...
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)", referenced from:
thrust::system::cuda::detail::cuda_error_category::message(int) const in cuda_compile_generated_marching_cubes.cu.o
thrust::system::detail::generic_error_category::message(int) const in cuda_compile_generated_marching_cubes.cu.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:
thrust::system::cuda::detail::cuda_error_category::message(int) const in cuda_compile_generated_marching_cubes.cu.o
thrust::system::detail::generic_error_category::message(int) const in cuda_compile_generated_marching_cubes.cu.o
"std::runtime_error::runtime_error(std::string const&)", referenced from:
void thrust::system::cuda::detail::free<thrust::system::cuda::detail::tag, thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >(thrust::system::cuda::detail::execution_policy<thrust::system::cuda::detail::tag>&, thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default>) in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::trivial_copy_detail::checked_cudaMemcpy(void*, void const*, unsigned long, cudaMemcpyKind) in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::current_device() in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::function_attributes_t thrust::system::cuda::detail::function_attributes<void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::device_ptr<int>, thrust::detail::normal_iterator<thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<int>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)>(void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::device_ptr<int>, thrust::detail::normal_iterator<thrust::pointer<int, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<int>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)) in cuda_compile_generated_marching_cubes.cu.o
thrust::system::cuda::detail::runtime_introspection_detail::get_device_properties(thrust::system::cuda::detail::device_properties_t&, int) in cuda_compile_generated_marching_cubes.cu.o
"std::ios_base::Init::Init()", referenced from:
__GLOBAL__I_a in cuda_compile_generated_marching_cubes.cu.o
"std::ios_base::Init::~Init()", referenced from:
__GLOBAL__I_a in cuda_compile_generated_marching_cubes.cu.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libpcl_gpu_kinfu.1.8.0.dylib] Error 1
make[1]: *** [gpu/kinfu/CMakeFiles/pcl_gpu_kinfu.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Undefined symbols for architecture x86_64:
"pcl::device::OctreeImpl::radiusSearchHost(float4 const&, float, std::__1::vector<int, std::__1::allocator<int> >&, int) const", referenced from:
pcl::gpu::Octree::radiusSearchHost(pcl::PointXYZ const&, float, std::__1::vector<int, std::__1::allocator<int> >&, int) in octree.cpp.o
"std::string::_Rep::_M_destroy(std::allocator<char> const&)", referenced from:
void thrust::system::cuda::detail::free<thrust::system::cuda::detail::tag, thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >(thrust::system::cuda::detail::execution_policy<thrust::system::cuda::detail::tag>&, thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default>) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::system_error::~system_error() in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::system_error::~system_error() in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::system_error::what() const in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::trivial_copy_detail::checked_cudaMemcpy(void*, void const*, unsigned long, cudaMemcpyKind) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::current_device() in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::function_attributes_t thrust::system::cuda::detail::function_attributes<void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<long>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)>(void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<long>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)) in pcl_gpu_octree_generated_bfrs.cu.o
...
"std::string::_Rep::_S_empty_rep_storage", referenced from:
void thrust::system::cuda::detail::free<thrust::system::cuda::detail::tag, thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >(thrust::system::cuda::detail::execution_policy<thrust::system::cuda::detail::tag>&, thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default>) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::system_error::~system_error() in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::system_error::~system_error() in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::system_error::what() const in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::trivial_copy_detail::checked_cudaMemcpy(void*, void const*, unsigned long, cudaMemcpyKind) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::current_device() in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::function_attributes_t thrust::system::cuda::detail::function_attributes<void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<long>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)>(void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<long>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)) in pcl_gpu_octree_generated_bfrs.cu.o
...
"std::string::append(char const*, unsigned long)", referenced from:
thrust::system::system_error::what() const in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::detail::bad_alloc::bad_alloc(std::string const&) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::system_error::what() const in pcl_gpu_octree_generated_octree_builder.cu.o
thrust::system::detail::bad_alloc::bad_alloc(std::string const&) in pcl_gpu_octree_generated_octree_builder.cu.o
"std::string::append(std::string const&)", referenced from:
thrust::system::system_error::what() const in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::detail::bad_alloc::bad_alloc(std::string const&) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::system_error::what() const in pcl_gpu_octree_generated_octree_builder.cu.o
thrust::system::detail::bad_alloc::bad_alloc(std::string const&) in pcl_gpu_octree_generated_octree_builder.cu.o
"std::string::assign(char const*, unsigned long)", referenced from:
thrust::system::system_error::what() const in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::detail::bad_alloc::bad_alloc(std::string const&) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::system_error::what() const in pcl_gpu_octree_generated_octree_builder.cu.o
thrust::system::detail::bad_alloc::bad_alloc(std::string const&) in pcl_gpu_octree_generated_octree_builder.cu.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:
void thrust::system::cuda::detail::free<thrust::system::cuda::detail::tag, thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >(thrust::system::cuda::detail::execution_policy<thrust::system::cuda::detail::tag>&, thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default>) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::cuda_error_category::message(int) const in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::detail::generic_error_category::message(int) const in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::trivial_copy_detail::checked_cudaMemcpy(void*, void const*, unsigned long, cudaMemcpyKind) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::current_device() in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::function_attributes_t thrust::system::cuda::detail::function_attributes<void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<long>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)>(void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<long>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::runtime_introspection_detail::get_device_properties(thrust::system::cuda::detail::device_properties_t&, int) in pcl_gpu_octree_generated_bfrs.cu.o
...
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)", referenced from:
thrust::system::cuda::detail::cuda_error_category::message(int) const in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::detail::generic_error_category::message(int) const in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::cuda_error_category::message(int) const in pcl_gpu_octree_generated_octree_builder.cu.o
thrust::system::detail::generic_error_category::message(int) const in pcl_gpu_octree_generated_octree_builder.cu.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:
thrust::system::cuda::detail::cuda_error_category::message(int) const in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::detail::generic_error_category::message(int) const in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::cuda_error_category::message(int) const in pcl_gpu_octree_generated_octree_builder.cu.o
thrust::system::detail::generic_error_category::message(int) const in pcl_gpu_octree_generated_octree_builder.cu.o
"std::runtime_error::runtime_error(std::string const&)", referenced from:
void thrust::system::cuda::detail::free<thrust::system::cuda::detail::tag, thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >(thrust::system::cuda::detail::execution_policy<thrust::system::cuda::detail::tag>&, thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default>) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::trivial_copy_detail::checked_cudaMemcpy(void*, void const*, unsigned long, cudaMemcpyKind) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::current_device() in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::function_attributes_t thrust::system::cuda::detail::function_attributes<void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<long>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)>(void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<long>, thrust::system::detail::internal::uniform_decomposition<unsigned int>, thrust::system::cuda::detail::detail::blocked_thread_array>)) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::runtime_introspection_detail::get_device_properties(thrust::system::cuda::detail::device_properties_t&, int) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::function_attributes_t thrust::system::cuda::detail::function_attributes<void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::transform_iterator<thrust::detail::predicate_to_integral<pcl::device::InSphere, long>, thrust::device_ptr<float4 const>, long, thrust::use_default>, thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<long>, thrust::system::detail::internal::uniform_decomposition<long>, thrust::system::cuda::detail::detail::blocked_thread_array>)>(void (*)(thrust::system::cuda::detail::commutative_reduce_intervals_closure<thrust::transform_iterator<thrust::detail::predicate_to_integral<pcl::device::InSphere, long>, thrust::device_ptr<float4 const>, long, thrust::use_default>, thrust::detail::normal_iterator<thrust::pointer<long, thrust::system::cuda::detail::tag, thrust::use_default, thrust::use_default> >, thrust::plus<long>, thrust::system::detail::internal::uniform_decomposition<long>, thrust::system::cuda::detail::detail::blocked_thread_array>)) in pcl_gpu_octree_generated_bfrs.cu.o
thrust::system::cuda::detail::current_device() in pcl_gpu_octree_generated_octree_builder.cu.o
...
"std::ios_base::Init::Init()", referenced from:
__GLOBAL__I_a in pcl_gpu_octree_generated_bfrs.cu.o
__GLOBAL__I_a in pcl_gpu_octree_generated_octree_builder.cu.o
"std::ios_base::Init::~Init()", referenced from:
__GLOBAL__I_a in pcl_gpu_octree_generated_bfrs.cu.o
__GLOBAL__I_a in pcl_gpu_octree_generated_octree_builder.cu.o
"std::__throw_length_error(char const*)", referenced from:
std::vector<int, std::allocator<int> >::_M_insert_aux(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, int const&) in pcl_gpu_octree_generated_octree_host.cu.o
void std::vector<int, std::allocator<int> >::_M_range_insert<__gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int> > > >(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, __gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int> > >, __gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int> > >, std::forward_iterator_tag) in pcl_gpu_octree_generated_octree_host.cu.o
std::vector<float, std::allocator<float> >::_M_fill_insert(__gnu_cxx::__normal_iterator<float*, std::vector<float, std::allocator<float> > >, unsigned long, float const&) in pcl_gpu_octree_generated_octree_host.cu.o
std::vector<int, std::allocator<int> >::_M_fill_insert(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, unsigned long, int const&) in pcl_gpu_octree_generated_octree_host.cu.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libpcl_gpu_octree.1.8.0.dylib] Error 1
make[1]: *** [gpu/octree/CMakeFiles/pcl_gpu_octree.dir/all] Error 2
[ 8%] Building CXX object io/tools/ply/CMakeFiles/pcl_ply2ply.dir/ply2ply.cpp.o
[ 8%] Building CXX object io/tools/ply/CMakeFiles/pcl_ply2obj.dir/ply2obj.cpp.o
[ 8%] Building CXX object io/tools/ply/CMakeFiles/pcl_ply2raw.dir/ply2raw.cpp.o
1 warning generated.
1 warning generated.
In file included from <built-in>:175:
<command line>:10:10: warning: whitespace recommended after macro name
In file included from <built-in>:175:
<command line>:10#define $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG> 1:
10: ^
warning: whitespace recommended after macro name
#define $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG> 1
^
1 warning generated.
1 warning generated.
In file included from In file included from <built-in><built-in>::175175:
:
<command line><command line>::88::1010:: warningwarning: : whitespacewhitespace recommendedrecommended afterafter macromacro namename
#define $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG> 1#define $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG> 1
^ ^
1 warning generated.
1 warning generated.
In file included from <built-in>:175:
<command line>:9:10: warning: whitespace recommended after macro name
In file included from <built-in>:175:
<command line>:9:10: warning: #define $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG> 1
whitespace ^
recommended after macro name
#define $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG> 1
^
1 warning generated.
1 warning generated.
/usr/local/include/boost/config/suffix.hpp(496): error: identifier "__int128" is undefined
/usr/local/include/boost/config/suffix.hpp(497): error: expected a ";"
/usr/local/include/boost/config/suffix.hpp(496): error: identifier "__int128" is undefined
/usr/local/include/boost/config/suffix.hpp(497): error: expected a ";"
2 errors detected in the compilation of "/var/folders/bz/hvcfylnj7fb8t61rddpw7c1r0000gn/T//tmpxft_0000bd90_00000000-9_connected_components.compute_30.cpp1.ii".
CMake Error at pcl_cuda_segmentation_generated_connected_components.cu.o.cmake:264 (message):
Error generating file
/Users/bdorse/Documents/code/pcl-trunk/build/cuda/segmentation/CMakeFiles/pcl_cuda_segmentation.dir/src/./pcl_cuda_segmentation_generated_connected_components.cu.o
make[2]: *** [cuda/segmentation/CMakeFiles/pcl_cuda_segmentation.dir/src/./pcl_cuda_segmentation_generated_connected_components.cu.o] Error 1
make[1]: *** [cuda/segmentation/CMakeFiles/pcl_cuda_segmentation.dir/all] Error 2
2 errors detected in the compilation of "/var/folders/bz/hvcfylnj7fb8t61rddpw7c1r0000gn/T//tmpxft_0000bd8f_00000000-9_normal_3d.compute_30.cpp1.ii".
CMake Error at pcl_cuda_features_generated_normal_3d.cu.o.cmake:264 (message):
Error generating file
/Users/bdorse/Documents/code/pcl-trunk/build/cuda/features/CMakeFiles/pcl_cuda_features.dir/src/./pcl_cuda_features_generated_normal_3d.cu.o
make[2]: *** [cuda/features/CMakeFiles/pcl_cuda_features.dir/src/./pcl_cuda_features_generated_normal_3d.cu.o] Error 1
make[1]: *** [cuda/features/CMakeFiles/pcl_cuda_features.dir/all] Error 2
Linking CXX executable ../../../bin/pcl_plyheader
[ 8%] Built target pcl_plyheader
Linking CXX executable ../../../bin/pcl_ply2raw
Linking CXX executable ../../../bin/pcl_ply2obj
[ 8%] Built target pcl_ply2raw
[ 8%] Built target pcl_ply2obj
Linking CXX executable ../../../bin/pcl_ply2ply
[ 8%] Built target pcl_ply2ply
make: *** [all] Error 2
@Isha8
Copy link

Isha8 commented Nov 4, 2017

I get the same errors as well. Did find any solutions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment