Skip to content

Compiling error with PCL trunk on Ubuntu 12.04 LTS #334

@yuanqingz

Description

@yuanqingz

I'm compiling PCL trunk cloned from github.
I have already installed all the dependencies by installing libpcl-all from the Ubuntu ppa repo.I also installed the newest CUDA driver and tookit.
I only changed the CMAKE_BUILD_TYPE, Build_CUDA,Build_gpu,Build_app.

When i was running "Make", I got this error:

-- Using CPU native flags for SSE optimization: -march=native
-- -- GCC > 4.3 found, enabling -Wabi
-- Found OpenMP
-- Eigen found (include: /usr/include/eigen3)
-- FLANN found (include: /usr/include, lib: optimized;/usr/lib/libflann_cpp.so;debug;/usr/lib/libflann_cpp.so)
-- OpenNI found (include: /usr/include/openni, lib: /usr/lib/libOpenNI.so)
-- Could NOT find FZAPI (missing: FZAPI_LIBS FZAPI_INCLUDE_DIR)
-- Could NOT find PXCAPI (missing: PXCAPI_LIBS PXCAPI_INCLUDE_DIRS PXCAPI_LIB_DIRS)
-- QHULL found (include: /usr/include/qhull, lib: optimized;/usr/lib/libqhull.so;debug;/usr/lib/libqhull.so)
-- Found CUDA Toolkit v5.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 found (include: /usr/include/vtk-5.8;/usr/include, lib: /usr/lib/;/usr/lib)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Could NOT find PCAP (missing: PCAP_LIBRARIES PCAP_INCLUDE_DIRS)
-- Found Glew: /usr/lib/x86_64-linux-gnu/libGLEW.so
-- VTK found (include: /usr/include/vtk-5.8;/usr/include, lib: /usr/lib/;/usr/lib)
-- 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
-- sample_consensus
-- filters
-- io
-- 2d
-- features
-- geometry
-- visualization
-- ml
-- segmentation
-- people
-- registration
-- recognition
-- keypoints
-- surface
-- outofcore
-- stereo
-- tracking
-- apps
not building:
|_ cloud_composer: Disabled by default.
|_ optronic_viewer: FZAPI was not found.
|_ point_cloud_editor: Disabled by default.
|_ 3d_rec_framework: Disabled by default.
|_ modeler: Disabled by default.
|_ in_hand_scanner: Disabled by default.
-- tools
-- gpu_containers
-- gpu_utils
-- gpu_kinfu
-- gpu_octree
-- gpu_segmentation
-- gpu_kinfu_large_scale
-- gpu_features
-- cuda_common
-- cuda_features
-- cuda_segmentation
-- cuda_sample_consensus
-- The following subsystems will not be built:
-- global_tests: Disabled by default.
-- examples: Code examples are disabled by default.
-- simulation: Disabled by default.
-- gpu_people: Disabled by default.
-- gpu_tracking: Disabled by default.
-- gpu_surface: Disabled by default.
-- cuda_io: Disabled by default.
-- cuda_apps: Disabled: cuda_io missing.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nuwashi/pcl-trunk/build
[ 0%] Building CXX object common/CMakeFiles/pcl_common.dir/src/intersections.cpp.o
/tmp/cchyMCWF.s: Assembler messages:
/tmp/cchyMCWF.s:44: Error: no such instruction: vfmadd312ss (%rdi),%xmm1,%xmm0' /tmp/cchyMCWF.s:78: Error: no such instruction:vfmadd312ss (%rdx),%xmm1,%xmm0'
/tmp/cchyMCWF.s:696: Error: no such instruction: vfmadd312ss (%r9),%xmm2,%xmm1' /tmp/cchyMCWF.s:730: Error: no such instruction:vfmadd312ss (%rdx),%xmm2,%xmm1'
/tmp/cchyMCWF.s:906: Error: no such instruction: vfmadd312ss (%rax,%r11,4),%xmm5,%xmm1' /tmp/cchyMCWF.s:977: Error: no such instruction:vfmadd312ss (%rax,%r11,4),%xmm5,%xmm1'
/tmp/cchyMCWF.s:1035: Error: no such instruction: vfmadd312ss (%rax,%rdx,4),%xmm1,%xmm2' /tmp/cchyMCWF.s:1069: Error: no such instruction:vfmadd312ss (%rax,%rdx,4),%xmm1,%xmm2'
/tmp/cchyMCWF.s:2676: Error: no such instruction: vfmadd312ss (%r11),%xmm0,%xmm4' /tmp/cchyMCWF.s:2684: Error: no such instruction:vfmadd312ss (%r11,%rbx,4),%xmm0,%xmm3'
/tmp/cchyMCWF.s:2688: Error: no such instruction: vfmadd312ss (%r11,%rbp,4),%xmm0,%xmm2' /tmp/cchyMCWF.s:2690: Error: no such instruction:vfmadd312ss (%r11,%r13,4),%xmm0,%xmm1'
/tmp/cchyMCWF.s:2769: Error: no such instruction: vfmadd312ss (%r10),%xmm0,%xmm1' /tmp/cchyMCWF.s:3916: Error: no such instruction:vfnmadd312ss (%rdx),%xmm0,%xmm0'
make[2]: *** [common/CMakeFiles/pcl_common.dir/src/intersections.cpp.o] Error 1
make[1]: *** [common/CMakeFiles/pcl_common.dir/all] Error 2
make: *** [all] Error 2

I'm a newer in cmake,make and other compiling stuff.I searched this on Google and it seems about something wrong with "SSE optimization" and "-march=native"?

Anyone can help? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions