Skip to content

Execute "cmake .." and "make" Error #73

@niwanli

Description

@niwanli

When I execute "cmake .." and "make" output errors as follows. I can't solve them, especially, vtkRenderingPythonTkWidgets can't be found, and `PCL' can't be installed successfully.

fm@FM-DELL:~/niwanli/PoseCNN-master/lib/synthesize/build$ cmake ..
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   date_time
--   iostreams
--   serialization
--   chrono
--   atomic
--   regex
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
-- 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
-- xFusion root: /home/fm/niwanli/PoseCNN-master/lib/synthesize/../kinect_fusion
-- pangolin: /home/fm/niwanli/Pangolin/include;/home/fm/niwanli/Pangolin/build/src/include;/usr/include;/usr/include;/usr/include
-- Configuring done
CMake Warning at /usr/share/cmake-3.5/Modules/FindCUDA.cmake:1649 (add_library):
  Cannot generate a safe runtime search path for target synthesizer because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /usr/local/lib
      /home/fm/anaconda3/lib
    runtime library [libtiff.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /home/fm/anaconda3/lib
    runtime library [libfreetype.so.6] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /home/fm/anaconda3/lib
    runtime library [libexpat.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /home/fm/anaconda3/lib
    runtime library [libxml2.so.2] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /home/fm/anaconda3/lib
    runtime library [libQt5OpenGL.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /home/fm/anaconda3/lib
    runtime library [libQt5WebKitWidgets.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /home/fm/anaconda3/lib
    runtime library [libQt5WebKit.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /home/fm/anaconda3/lib
    runtime library [libQt5Network.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /home/fm/anaconda3/lib
    runtime library [libQt5Widgets.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /home/fm/anaconda3/lib
    runtime library [libQt5Gui.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /home/fm/anaconda3/lib
    runtime library [libQt5Sql.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /home/fm/anaconda3/lib
    runtime library [libQt5Core.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /home/fm/anaconda3/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  CMakeLists.txt:80 (cuda_add_library)


-- Generating done
-- Build files have been written to: /home/fm/niwanli/PoseCNN-master/lib/synthesize/build
fm@FM-DELL:~/niwanli/PoseCNN-master/lib/synthesize/build$ make
[ 25%] Building CXX object CMakeFiles/synthesizer.dir/synthesize.cpp.o
In file included from /home/fm/niwanli/PoseCNN-master/lib/synthesize/synthesize.cpp:1:0:
/home/fm/niwanli/PoseCNN-master/lib/synthesize/synthesize.hpp:20:28: fatal error: assimp/cimport.h: on such file or directory.
compilation terminated.
CMakeFiles/synthesizer.dir/build.make:62: recipe for target 'CMakeFiles/synthesizer.dir/synthesize.cpp.o' failed
make[2]: *** [CMakeFiles/synthesizer.dir/synthesize.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/synthesizer.dir/all' failed
make[1]: *** [CMakeFiles/synthesizer.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions