pamela-project / slambench

SLAM performance evaluation framework
https://apt.cs.manchester.ac.uk/projects/PAMELA/
Other
311 stars 84 forks source link

Kfusion App compilation error #24

Closed jb892 closed 4 years ago

jb892 commented 6 years ago

Hi, I just overcome an issue when I was trying to compile the Kfusion app. The error msg lists down blow:

$ make slambench APPS=kfusion
mkdir -p build/
cmake -U -Bbuild -H.  -DAPPS="kfusion"   -D"CMAKE_MODULE_PATH:PATH=/home/jake/Documents/slambench2/cmake_modules"
-- CMAKE_MODULE_PATH=/home/jake/Documents/slambench2/cmake_modules
-- Could NOT find PAPI (missing: SENSORS_LIBRARY) 
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   program_options
--   regex
-- Found OpenNI2: /usr/lib/libOpenNI2.so
-- SLAMBENCH will use OpenNI 2.X, include path = /usr/include/openni2
-- SLAMBENCH will use OpenNI 1.5, include path = /usr/include/ni
-- Could NOT find PAPI (missing: SENSORS_LIBRARY) 
-- Using OPENCL_LIBRARY = /usr/local/cuda/lib64/libOpenCL.so
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   date_time
--   iostreams
--   serialization
--   chrono
--   atomic
--   regex
-- Checking for module 'libopenni'
--   Found libopenni, version 1.5.4.0
-- The imported target "vtkRenderingPythonTkWidgets" references the file
   "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-6.2/VTKTargets.cmake"
but not all the files it references.

-- looking for PCL_COMMON
-- looking for PCL_KDTREE
-- looking for PCL_OCTREE
-- looking for PCL_SEARCH
-- looking for PCL_IO
-- looking for PCL_SAMPLE_CONSENSUS
-- looking for PCL_FILTERS
-- looking for PCL_GEOMETRY
-- looking for PCL_FEATURES
-- looking for PCL_SEGMENTATION
-- looking for PCL_SURFACE
-- looking for PCL_REGISTRATION
-- looking for PCL_RECOGNITION
-- looking for PCL_KEYPOINTS
-- looking for PCL_VISUALIZATION
-- looking for PCL_PEOPLE
-- looking for PCL_OUTOFCORE
-- looking for PCL_TRACKING
-- looking for PCL_APPS
-- Could NOT find PCL_APPS (missing: PCL_APPS_LIBRARY) 
-- looking for PCL_MODELER
-- looking for PCL_IN_HAND_SCANNER
-- looking for PCL_POINT_CLOUD_EDITOR
-- VTK FIX:Previous properties=DISABLE_PCAP;DISABLE_PNG;vtkFiltersFlowPaths_AUTOINIT=1(vtkFiltersParallelFlowPaths);vtkIOExodus_AUTOINIT=1(vtkIOParallelExodus);vtkIOGeometry_AUTOINIT=1(vtkIOMPIParallel);vtkIOImage_AUTOINIT=1(vtkIOMPIImage);vtkIOSQL_AUTOINIT=2(vtkIOMySQL,vtkIOPostgreSQL);vtkRenderingContext2D_AUTOINIT=1(vtkRenderingContextOpenGL);vtkRenderingCore_AUTOINIT=4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL);vtkRenderingFreeType_AUTOINIT=2(vtkRenderingFreeTypeFontConfig,vtkRenderingMatplotlib);vtkRenderingLIC_AUTOINIT=1(vtkRenderingParallelLIC);vtkRenderingVolume_AUTOINIT=1(vtkRenderingVolumeOpenGL)
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   program_options
--   regex
-- Found LIBYAML Library: /usr/lib/x86_64-linux-gnu/libyaml-cpp.so
-- Found LIBYAML includes: /usr/include/yaml-cpp
-- Found LIBYAML: /usr/lib/x86_64-linux-gnu/libyaml-cpp.so
-- Using OPENCL_LIBRARY = /usr/local/cuda/lib64/libOpenCL.so
-- Select only kfusion applications...
-- Application loop over kfusion
-- Load application kfusion
-- Load version original of kfusion.
-- Found Toon: /usr/local/include
-- Potential interfaces are ...
-- Generation of kfusion-cpp-library : Activated
-- Potential interfaces are ...
-- Generation of kfusion-openmp-library : Activated
-- Using OPENCL_LIBRARY = /usr/local/cuda/lib64/libOpenCL.so
-- Potential interfaces are ...
-- Generation of kfusion-opencl-library : Activated
-- Potential interfaces are ...
-- Generation of kfusion-cuda-library : Activated
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jake/Documents/slambench2/build
make -C build 
make[1]: Entering directory '/home/jake/Documents/slambench2/build'
make[2]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[  3%] Built target slambench-io-oni2
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[  5%] Built target slambench-ui-pangolin
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[  7%] Built target slambench-c-wrapper
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 25%] Built target slambench-metrics
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 29%] Built target slambench-io-oni15
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 34%] Built target slambench-utils
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 62%] Built target slambench-io
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 63%] Built target pointcloud_aligner
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 65%] Built target ICLNUIM
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 67%] Built target TUM
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 68%] Built target EUROCMAV
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 70%] Built target ICL
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 71%] Built target SVO
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 73%] Built target dataset-generator
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 74%] Built target io-inspect-file
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 76%] Built target io-readply
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 78%] Built target oclwrapper
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 80%] Built target pangolin_loader
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
[ 82%] Built target benchmark_loader
make[3]: Entering directory '/home/jake/Documents/slambench2/build'
[ 83%] Building NVCC (Device) object benchmarks/kfusion/src/original/CMakeFiles/kfusion-cuda.dir/kfusion-cuda_generated_kernels.cu.o
benchmarks/kfusion/src/original/CMakeFiles/kfusion-cuda.dir/build.make:63: recipe for target 'benchmarks/kfusion/src/original/CMakeFiles/kfusion-cuda.dir/kfusion-cuda_generated_kernels.cu.o' failed
make[3]: Leaving directory '/home/jake/Documents/slambench2/build'
CMakeFiles/Makefile2:1088: recipe for target 'benchmarks/kfusion/src/original/CMakeFiles/kfusion-cuda.dir/all' failed
make[2]: Leaving directory '/home/jake/Documents/slambench2/build'
Makefile:129: recipe for target 'all' failed
make[1]: Leaving directory '/home/jake/Documents/slambench2/build'
Makefile:180: recipe for target 'slambench' failed

Could anybody help? Thanks in advance!

bbodin commented 5 years ago

Hello,

Sorry for the very late reply. unfortunately with this log, hard to say what is wrong except the CUDA compilation failed.

Some command like "VERBOSE=1 make slambench APPS=kfusion" could provide more content, though I am not sure it will help much more.

mihaibujanca commented 4 years ago

Closing due to inactivity