Skip to content

compile error with gtest #17

@danwdart

Description

@danwdart

Sorry if I'm missing something obvious...
but I'm doing the usual "mkdir build && cd build && cmake ../ && make"
and getting a gtest error. Perhaps you're missing a CMakeLists or I'm missing a library or something?

Full output of make:

[ 79%] Built target assimp
[ 82%] Built target assimp2json
[ 82%] Performing update step for 'gtest'
Current branch master is up to date.
[ 82%] Performing configure step for 'gtest'
CMake Error at /home/kvd/www/other/assimp2json/build/assimp/test/gtest/src/gtest-stamp/gtest-    configure-.cmake:16 (message):
  Command failed: 1

   '/usr/bin/cmake' '-DCMAKE_BUILD_TYPE=' '-Dgtest_force_shared_crt=ON'             '-Dgtest_disable_pthreads:BOOL=OFF' '-GUnix Makefiles' '/home/kvd/www/other/assimp2json/build    /assimp/test/gtest/src/gtest'

  See also

    /home/kvd/www/other/assimp2json/build/assimp/test/gtest/src/gtest-stamp/gtest-configure-*.log


assimp/test/CMakeFiles/gtest.dir/build.make:105: recipe for target 'assimp/test/gtest/src/gtest-stamp/gtest-configure' failed
make[2]: *** [assimp/test/gtest/src/gtest-stamp/gtest-configure] Error 1
CMakeFiles/Makefile2:235: recipe for target 'assimp/test/CMakeFiles/gtest.dir/all' failed
make[1]: *** [assimp/test/CMakeFiles/gtest.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

The logs show:
CMake Error: The source directory "/home/kvd/www/other/assimp2json/build/assimp/test/gtest/src/gtest" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI.

Environment is Ubuntu 16.04.
Cheers

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