-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help! Error in building pcl-trunk #399
Comments
Hi Kevin, This error seems strange, since it's coming straight from the assembler and On Mon, Dec 9, 2013 at 3:27 PM, sunliamm notifications@github.com wrote:
|
Hi Sdmiler, Thanks a lot for your reply. This is a new machine, I just installed the system. I have tried to build it on my old machine, and did it successfully. It's wired... Kevin |
That is strange, and it would definitely make me suspect something about A quick Google search tells me that this error typically means AVX rm -rf build But in general this would indicate something much deeper than a PCL build On Mon, Dec 9, 2013 at 3:47 PM, sunliamm notifications@github.com wrote:
|
Hi Sdmiller, I only build cuda5.5 samples, and did that successfully. then I saw some guys said gcc<4.8 doesnt work well with qt5, here: #272 , then I turn to install gcc 4.8, and comment "include(cmake/pcl_find_qt5.cmake)" in the CMakeLists.txt, but does not helpful as well... I am at home now, tomorrow I will let you know my CPU info of my working machine, and try your solution. Kevin |
Hi Sdmiller, The CPU is Intel® Core™ i7-4770K CPU @ 3.50GHz × 8. The machine I use is a workspace like powerful machine, so I got much more problems than I did on my laptop. I tried your approach, but got some new problem: It fails with the following output: Change Dir: /home/kevin/pcl-trunk/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make make[1]: Entering directory /usr/bin/cmake -E cmake_progress_report Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o /usr/bin/g++ -march=core-avx2 -o /home/kevin/pcl-trunk/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx:1:0: make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o] Error make[1]: Leaving directory make: *** [cmTryCompileExec/fast] Error 2 CMake will not be able to correctly generate this project. -- Configuring incomplete, errors occurred! And my current GCC is 4.8: kevin@kevin-desktop: Do you have any ideas about it? Thanks, Kevin |
Hi @sunliamm, Could you please try the following : comment the lines for finding qt5. Seems there is a problem with the ubuntu package in there. Just find qt5 section in the CMakeLists.txt and make it look like this: # Find Qt5
# include(cmake/pcl_find_qt5.cmake)
# Find QT4
# if(NOT QT5_FOUND)
find_package(Qt4)
if (QT4_FOUND)
include(${QT_USE_FILE})
endif (QT4_FOUND)
# endif() This should care of your problem. |
Hi, Thanks a lot for help. It still got the same error. I guess it is because my CPU is too new....but Kevin 2013/12/16 nizar sallem notifications@github.com
|
Can you attach the CMakeCache.txt file and the full build log (redirect both stdout and stderr please) ? Even if your architecture is new your compiler should be able to handle it. |
Hi @sunliamm, Try to run make with
|
This issue is not PCL related and the solution provided seems to work: I think this can be closed |
I am trying to build pcl-trunk on ubuntu in order to run kinfu.
The error I got is:
kevin@kevin-desktop:
/pcl-trunk$ cd build/pcl-trunk/build$ cmake -DCMAKE_BUILD_TYPE=Release ..kevin@kevin-desktop:
-- 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)
-- 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
-- octree
-- io
-- kdtree
-- search
-- sample_consensus
-- filters
-- 2d
-- features
-- geometry
-- keypoints
-- surface
-- registration
-- ml
-- segmentation
-- recognition
-- visualization
-- people
-- outofcore
-- tracking
-- tools
-- stereo
-- The following subsystems will not be built:
-- global_tests: Disabled by default.
-- simulation: Disabled by default.
-- apps: Disabled by default.
-- examples: Code examples are disabled by default.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kevin/pcl-trunk/build
kevin@kevin-desktop:~/pcl-trunk/build$ make
[ 0%] Building CXX object common/CMakeFiles/pcl_common.dir/src/intersections.cpp.o
/tmp/cc2mNKnO.s: Assembler messages:
/tmp/cc2mNKnO.s:44: Error: no such instruction:
vfmadd312ss (%rdi),%xmm1,%xmm0' /tmp/cc2mNKnO.s:78: Error: no such instruction:
vfmadd312ss (%rdx),%xmm1,%xmm0'/tmp/cc2mNKnO.s:696: Error: no such instruction:
vfmadd312ss (%r9),%xmm2,%xmm1' /tmp/cc2mNKnO.s:730: Error: no such instruction:
vfmadd312ss (%rdx),%xmm2,%xmm1'/tmp/cc2mNKnO.s:906: Error: no such instruction:
vfmadd312ss (%rax,%r11,4),%xmm5,%xmm1' /tmp/cc2mNKnO.s:977: Error: no such instruction:
vfmadd312ss (%rax,%r11,4),%xmm5,%xmm1'/tmp/cc2mNKnO.s:1035: Error: no such instruction:
vfmadd312ss (%rax,%rdx,4),%xmm1,%xmm2' /tmp/cc2mNKnO.s:1069: Error: no such instruction:
vfmadd312ss (%rax,%rdx,4),%xmm1,%xmm2'/tmp/cc2mNKnO.s:2676: Error: no such instruction:
vfmadd312ss (%r11),%xmm0,%xmm4' /tmp/cc2mNKnO.s:2684: Error: no such instruction:
vfmadd312ss (%r11,%rbx,4),%xmm0,%xmm3'/tmp/cc2mNKnO.s:2688: Error: no such instruction:
vfmadd312ss (%r11,%rbp,4),%xmm0,%xmm2' /tmp/cc2mNKnO.s:2690: Error: no such instruction:
vfmadd312ss (%r11,%r13,4),%xmm0,%xmm1'/tmp/cc2mNKnO.s:2769: Error: no such instruction:
vfmadd312ss (%r10),%xmm0,%xmm1' /tmp/cc2mNKnO.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
My ubuntu version is 12.04 64bit
gcc I tried both 4.6 4.7 4.8 all doent work
My graphic card is GTX 660ti, with cuda 5.5 installed
I am really hurry in using kinfu. Could anyone tell me how to solve it?
Thanks a million!
Kevin
The text was updated successfully, but these errors were encountered: