davidstutz / superpixel-benchmark

An extensive evaluation and comparison of 28 state-of-the-art superpixel algorithms on 5 datasets.
396 stars 109 forks source link

compilation issue #6

Closed pythonmobile closed 4 years ago

pythonmobile commented 5 years ago
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   filesystem
--   program_options
-- Configuring done
CMake Error at refh_cli/CMakeLists.txt:38 (add_library):
  Cannot find source file:

    ../lib_refh/lib/graph_segmentation.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

CMake Error at reseeds_cli/CMakeLists.txt:37 (add_library):
  Cannot find source file:

    ../lib_reseeds/lib/SeedsRevised.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

CMake Error: Cannot determine link language for target "refh".
CMake Error: CMake can not determine linker language for target: refh
CMake Error: Cannot determine link language for target "reseeds".
CMake Error: CMake can not determine linker language for target: reseeds
-- Generating done
-- Build files have been written to: /home/github/superpixel-benchmark/build

and then make fails:

[ 21%] Linking CXX static library libetps.a
[ 21%] Built target etps
make: *** [all] Error 2
Makefile:83: recipe for target 'all' failed
davidstutz commented 5 years ago

The errors above are most likely due to not cloning recursively. Both lib_fh and lib_reseeds come from seperate GitHub repositories (this means they are included as subrepositories). You need to clone with --recursive to include these.

For the error below I can't really tell what the problem is as there is not really an error message there ...