GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

New issue
Copy link
New issue
Copy link
Open
Open
cmake errors when trying to build master branch#816
Copy link

Description

@HighCommander4
HighCommander4
opened on Feb 11, 2018
Issue body actions

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

  1. HighCommander4 commented on Feb 14, 2018

    @HighCommander4
    HighCommander4
    on Feb 14, 2018
    Author
    More actions

    Hmm, running the same cmake command a second time worked.

    I've never understood cmake...

  2. carun commented on Feb 14, 2018

    @carun
    carun
    on Feb 14, 2018
    More actions

    @HighCommander4 when in doubt, rm -rf build and start from scratch 😃 Look at build.sh in the repo root.

  3. HighCommander4 commented on Feb 14, 2018

    @HighCommander4
    HighCommander4
    on Feb 14, 2018
    Author
    More actions

    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.

  4. HighCommander4 commented on Feb 14, 2018

    @HighCommander4
    HighCommander4
    on Feb 14, 2018
    Author
    More actions

    The problem doesn't seem to occur at all on the 0.13-release branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.