make returns error with pcl_cuda_io_generated_debayering

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

make returns error with pcl_cuda_io_generated_debayering

Andreas
Dear List,

I'm trying to built  PCL from trunk. After watching make
for about 1,5h (I have no experience - is that too long on
i7 24GB RAM?) it stops with an error at 92%!

[ 92%] Building NVCC (Device) object
cuda/io/CMakeFiles/pcl_cuda_io.dir/src/./pcl_cuda_io_generated_debayering.cu.o

Any kind of suggestion is very much appreciated!

Andreas

andreas@pinguin:~/PCLTrunk/pcl/built$ cmake
-DCMAKE_BUILD_TYPE=Release ..
-- GCC > 4.3 found, enabling -Wabi
-- Using CPU native flags for SSE optimization:
 -march=native
-- HAVE_OPENMP status 1
-- Eigen found (include: /usr/include/eigen3)
-- FLANN found (include: /usr/include, lib:
optimized;/usr/lib/libflann_cpp.so;debug;/usr/lib/libflann_cpp.so)
-- checking for module 'libusb-1.0'
--   package 'libusb-1.0' not found
-- Could NOT find USB_10 (missing:  USB_10_LIBRARY
USB_10_INCLUDE_DIR)
-- OpeNI disabled because libusb-1.0 not found.
-- QHULL found (include: /usr/local/include, lib:
optimized;/usr/local/lib/libqhull.so;debug;/usr/local/lib/libqhull.so)
-- Found CUDA Toolkit v4.2
-- 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
-- Could NOT find QVTK (missing:  QVTK_LIBRARY)
-- VTK found (include: /usr/include/vtk-5.8, lib:
/usr/lib/)
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
-- [pcl_keypoints] SSE 4.1 status: found. Enabling
BriskKeypoint2D.
-- VTK found (include: /usr/include/vtk-5.8, lib:
/usr/lib/)
-- PCL_EXAMPLES_SUBDIRS
/home/andreas/PCLTrunk/pcl/examples/keypoints/;/home/andreas/PCLTrunk/pcl/examples/common/;/home/andreas/PCLTrunk/pcl/examples/geometry/;/home/andreas/PCLTrunk/pcl/examples/filters/;/home/andreas/PCLTrunk/pcl/examples/surface/;/home/andreas/PCLTrunk/pcl/examples/features/;/home/andreas/PCLTrunk/pcl/examples/segmentation/
-- DOXYGEN_FOUND NO
-- HTML_HELP_COMPILER
-- checking for module 'sphinx-build'
--   package 'sphinx-build' not found
-- Could NOT find Sphinx (missing:  SPHINX_EXECUTABLE)
-- Found CPack generators: DEB
-- The following subsystems will be built:
--   common
--   kdtree
--   octree
--   search
--   ml
--   geometry
--   io
--   sample_consensus
--   filters
--   2d
--   features
--   segmentation
--   visualization
--   surface
--   registration
--   keypoints
--   tracking
--   recognition
--   outofcore
--   tools
--   stereo
--   gpu_containers
--   gpu_utils
--   gpu_octree
--   gpu_features
--   gpu_segmentation
--   global_tests
--   cuda_common
--   cuda_io
--   cuda_features
--   cuda_segmentation
--   cuda_sample_consensus
--   cuda_apps
--   examples
-- The following subsystems will not be built:
--   apps: OpenNI was not found.
--   simulation: Disabled by default.
--   gpu_kinfu: OpenNI was not found or was disabled by the
user.
--   gpu_kinfu_large_scale: OpenNI was not found or was
disabled by the user.
--   gpu_tracking: Disabled by default.
--   gpu_people: Disabled by default.
--   gpu_surface: Disabled by default.
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/andreas/PCLTrunk/pcl/built


Linking CXX executable test_octree_search
[ 92%] Built target test_octree_search
[ 92%] Building NVCC (Device) object
cuda/io/CMakeFiles/pcl_cuda_io.dir/src/./pcl_cuda_io_generated_debayering.cu.o
/home/andreas/PCLTrunk/pcl/cuda/io/include/pcl/cuda/io/debayering.h(101):
error: name followed by "::" must be a class or namespace
name

/home/andreas/PCLTrunk/pcl/cuda/io/include/pcl/cuda/io/debayering.h(121):
error: name followed by "::" must be a class or namespace
name

/home/andreas/PCLTrunk/pcl/cuda/io/include/pcl/cuda/io/debayering.h(130):
error: name followed by "::" must be a class or namespace
name

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(252):
error: name followed by "::" must be a class or namespace
name

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(274):
error: name followed by "::" must be a class or namespace
name

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(310):
error: name followed by "::" must be a class or namespace
name

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(276):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(348): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(277):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(348): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(278):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(348): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(278):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(348): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(282):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(348): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(282):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(348): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(284):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(348): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(284):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(348): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(281):
error: no instance of overloaded function
"thrust::transform" matches the argument list
            argument types are:
(thrust::counting_iterator<int, thrust::use_default,
thrust::use_default, thrust::use_default>, <error-type>,
thrust::detail::normal_iterator<thrust::device_ptr<pcl::cuda::OpenNIRGB>>,
pcl::cuda::YUV2RGBKernel<pcl::cuda::Device>)
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(348): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(276):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(349): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(277):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(349): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(278):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(349): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(278):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(349): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(282):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(349): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(282):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(349): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(284):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(349): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(284):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(349): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(281):
error: no instance of overloaded function
"thrust::transform" matches the argument list
            argument types are:
(thrust::counting_iterator<int, thrust::use_default,
thrust::use_default, thrust::use_default>, <error-type>,
thrust::detail::normal_iterator<pcl::cuda::OpenNIRGB *>,
pcl::cuda::YUV2RGBKernel<pcl::cuda::Host>)
          detected during instantiation of "void
pcl::cuda::YUV2RGB<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(349): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(255):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(350): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(255):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(350): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(257):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(350): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(258):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(350): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(258):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(350): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(268):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(350): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(268):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(350): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(270):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(350): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(270):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(350): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(267):
error: no instance of overloaded function
"thrust::transform" matches the argument list
            argument types are:
(thrust::counting_iterator<int, thrust::use_default,
thrust::use_default, thrust::use_default>, <error-type>,
thrust::detail::normal_iterator<thrust::device_ptr<pcl::cuda::OpenNIRGB>>,
pcl::cuda::DebayerBilinear<pcl::cuda::Device>)
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(350): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(255):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(351): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(255):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(351): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(257):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(351): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(258):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(351): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(258):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(351): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(268):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(351): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(268):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(351): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(270):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(351): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(270):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(351): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(267):
error: no instance of overloaded function
"thrust::transform" matches the argument list
            argument types are:
(thrust::counting_iterator<int, thrust::use_default,
thrust::use_default, thrust::use_default>, <error-type>,
thrust::detail::normal_iterator<pcl::cuda::OpenNIRGB *>,
pcl::cuda::DebayerBilinear<pcl::cuda::Host>)
          detected during instantiation of "void
pcl::cuda::Debayering<Storage>::computeBilinear(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(351): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(313):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(352): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(313):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(352): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(315):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(352): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(316):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(352): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(316):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(352): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(321):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(352): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(321):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(352): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(323):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(352): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(323):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(352): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(325):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(352): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(325):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(352): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(322):
error: no instance of overloaded function "thrust::copy_if"
matches the argument list
            argument types are:
(thrust::counting_iterator<int, thrust::use_default,
thrust::use_default, thrust::use_default>, <error-type>,
thrust::detail::normal_iterator<thrust::device_ptr<int>>,
pcl::cuda::downsampleIndices)
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(352): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(330):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Device]"
(352): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(313):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(353): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(313):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(353): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(315):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(353): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(316):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(353): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(316):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(353): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(321):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(353): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(321):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(353): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(323):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(353): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(323):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(353): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(325):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(353): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(325):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(353): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(322):
error: no instance of overloaded function "thrust::copy_if"
matches the argument list
            argument types are:
(thrust::counting_iterator<int, thrust::use_default,
thrust::use_default, thrust::use_default>, <error-type>,
thrust::detail::normal_iterator<signed int *>,
pcl::cuda::downsampleIndices)
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(353): here

/home/andreas/PCLTrunk/pcl/cuda/io/src/debayering.cu(330):
error: expression must have pointer-to-class type
          detected during instantiation of "void
pcl::cuda::DebayeringDownsampling<Storage>::compute(const
boost::shared_ptr<<error-type>> &,
Storage<pcl::cuda::OpenNIRGB>::type &) const [with
Storage=pcl::cuda::Host]"
(353): here

70 errors detected in the compilation of
"/tmp/tmpxft_00001ba7_00000000-6_debayering.compute_30.cpp1.ii".
CMake Error at
pcl_cuda_io_generated_debayering.cu.o.cmake:256 (message):
  Error generating file
  /home/andreas/PCLTrunk/pcl/built/cuda/io/CMakeFiles/pcl_cuda_io.dir/src/./pcl_cuda_io_generated_debayering.cu.o


make[2]: ***
[cuda/io/CMakeFiles/pcl_cuda_io.dir/src/./pcl_cuda_io_generated_debayering.cu.o]
Fehler 1
make[1]: *** [cuda/io/CMakeFiles/pcl_cuda_io.dir/all]
Fehler 2
make: *** [all] Fehler 2
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: make returns error with pcl_cuda_io_generated_debayering

maxula
If you don't need the pcl_cuda_* modules, you can disable them by appending -DBUILD_CUDA=OFF to your cmake command line :

cmake -DBUILD_CUDA=OFF /path/to/pcl/sources
Reply | Threaded
Open this post in threaded view
|

Re: make returns error with pcl_cuda_io_generated_debayering

Andreas
Without cuda it works fine. However, the reason for using trunk was to get the cuda support. Any ideas?
Reply | Threaded
Open this post in threaded view
|

Re: make returns error with pcl_cuda_io_generated_debayering

Andreas
building with Openni does the trick.
Reply | Threaded
Open this post in threaded view
|

Re: make returns error with pcl_cuda_io_generated_debayering

Sergey
Administrator
In reply to this post by Andreas
Hi Andreas,

For the record, you can accelerate the build process by running make with multiple threads:

make -j4

You can use whichever number you want instead of 4, but it makes sense to set it to the number of cores you have.

You may also find this post from the developers list useful.

Regards,
Sergey