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

C++ Driver on master fails to compile with Visual Studio 2015

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0-rc0
    • Affects Version/s: 0.2.0
    • Component/s: Build
    • Labels:
      None

      Compiler: VS 2015 RTM x64
      OS: Window 8.1
      CMake: 3.2.3
      Git Hash: https://github.com/mongodb/mongo-cxx-driver/commits/master

      D:\mongo-cxx-driver>"c:\Program Files (x86)\CMake\bin\cmake.exe" -G "Visual Studio 14 2015 Win64" .
      -- The CXX compiler identification is MSVC 19.0.23026.0
      -- Check for working CXX compiler using: Visual Studio 14 2015 Win64
      -- Check for working CXX compiler using: Visual Studio 14 2015 Win64 -- works
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
      -- No build type selected, default is Release
      -- The C compiler identification is MSVC 19.0.23026.0
      -- Check for working C compiler using: Visual Studio 14 2015 Win64
      -- Check for working C compiler using: Visual Studio 14 2015 Win64 -- works
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      CMake Error at c:/Program Files (x86)/CMake/share/cmake-3.2/Modules/FindPkgConfig.cmake:388 (message):
        pkg-config tool not found
      Call Stack (most recent call first):
        c:/Program Files (x86)/CMake/share/cmake-3.2/Modules/FindPkgConfig.cmake:502 (_pkg_check_modules_internal)
        src/bsoncxx/CMakeLists.txt:24 (pkg_check_modules)
      
      
      -- Performing Test COMPILER_HAS_DEPRECATED_ATTR
      -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
      -- Performing Test COMPILER_HAS_DEPRECATED
      -- Performing Test COMPILER_HAS_DEPRECATED - Success
      CMake Error at src/bsoncxx/CMakeLists.txt:113 (install):
        install Library TARGETS given no DESTINATION!
      
      
      CMake Error at c:/Program Files (x86)/CMake/share/cmake-3.2/Modules/FindPkgConfig.cmake:388 (message):
        pkg-config tool not found
      Call Stack (most recent call first):
        c:/Program Files (x86)/CMake/share/cmake-3.2/Modules/FindPkgConfig.cmake:502 (_pkg_check_modules_internal)
        src/mongocxx/CMakeLists.txt:17 (pkg_check_modules)
      
      
      CMake Error at src/mongocxx/CMakeLists.txt:138 (install):
        install Library TARGETS given no DESTINATION!
      
      
      -- Configuring incomplete, errors occurred!
      See also "D:/mongo-cxx-driver/CMakeFiles/CMakeOutput.log".
      See also "D:/mongo-cxx-driver/CMakeFiles/CMakeError.log".
      

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: