You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cmake errors when trying to build master branch #816
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.
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.
Activity
HighCommander4 commentedon Feb 14, 2018
Hmm, running the same cmake command a second time worked.
I've never understood cmake...
carun commentedon Feb 14, 2018
@HighCommander4 when in doubt,
rm -rf buildand start from scratch 😃 Look atbuild.shin the repo root.HighCommander4 commentedon 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 commentedon Feb 14, 2018
The problem doesn't seem to occur at all on the
0.13-releasebranch.