Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1901

Building C++ driver from master fails to find cmake packages of C driver

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.0
    • Affects Version/s: 3.4.0
    • Component/s: Build
    • None
    • Environment:
      OS: Windows 10 Enterprise (Version 1909, OS build 18363.535)
      Compiler: VS 2019 x64 (16.4.2)
      CMake: 3.16.2
      Git: https://github.com/mongodb/mongo-cxx-driver
      Branch: master

      Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.

      No build type selected, default is Release

      bsoncxx version: 3.4.0-pre

      CMake Error at src/bsoncxx/CMakeLists.txt:79 (find_package):
      By not providing "Findbson-1.0.cmake" in CMAKE_MODULE_PATH this project has
      asked CMake to find a package configuration file provided by "bson-1.0",
      but CMake did not find one.

      Could not find a package configuration file provided by "bson-1.0"
      (requested version 1.13.0) with any of the following names:

      bson-1.0Config.cmake
      bson-1.0-config.cmake

      Add the installation prefix of "bson-1.0" to CMAKE_PREFIX_PATH or set
      "bson-1.0_DIR" to a directory containing one of the above files. If
      "bson-1.0" provides a separate development package or SDK, be sure it has
      been installed.

      Configuring incomplete, errors occurred!

      See also "D:/MongoDB/mcc2/CMakeFiles/CMakeOutput.log".

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            note8g2018@gmail.com Shogair Shogair
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: