GeezerVison is showing github.com — cmake errors when trying to build master branch · Issue #816 · cpp-netlib/cpp-netlib
cmake errors when trying to build master branch #816
Description
I am trying to build the master branch, but getting the following cmake errors:
CMake Error at deps/uri/CMakeLists.txt:77 (add_subdirectory):
The source directory
/home/nr/dev/libraries/cpp-netlib-git/deps/uri/deps/googletest
does not contain a CMakeLists.txt file.
Configuring documentation
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Found PythonInterp: /usr/bin/python (found version "2.7.13")
CMake Error at CMakeLists.txt:136 (add_subdirectory):
The binary directory
/home/nr/dev/libraries/cpp-netlib-git/build/deps/uri/test
is already used to build a source directory. It cannot be used to build
source directory
/home/nr/dev/libraries/cpp-netlib-git/deps/uri/test
Specify a unique binary directory name.
Note, I did run git submodule init and git submodule update.
Activity
HighCommander4 commented on Feb 14, 2018
Hmm, running the same cmake command a second time worked.
I've never understood cmake...
carun commented on Feb 14, 2018
@HighCommander4 when in doubt, rm -rf build and start from scratch 😃 Look at build.sh in the repo root.
HighCommander4 commented on Feb 14, 2018
Oh, to be clear: I still see these errors the first time I run cmake in the build directory, including after deleting the build directory. I have to call it a second time in a row for it to succeed.
HighCommander4 commented on Feb 14, 2018
The problem doesn't seem to occur at all on the 0.13-release branch.
Metadata
Metadata
Development
No branches or pull requestsIssue actions