Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1197

CMake instructions for Windows out of date?

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.0
    • Affects Version/s: 1.3.5
    • Component/s: Build, libbson
    • None
    • Environment:
      Win7, VS2015, 32 bit, CMake 3.5
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Using CMake GUI to build libbson and then C driver based on instructions found here: http://api.mongodb.org/c/current/installing.html. libbson builds fine. However, attempting to build C driver results in:
      1) There is no BSON_ROOT_DIR variable listed in the CMAKE GUI Advanced list of variables. There are 2 other BSON related variables. I added BSON_ROOT_DIR, but I suspect there is a problem there.
      2) Got link errors when running msbuild ALL_BUILD.vcxproj after configuring. First error is: LINK : fatal error LNK1104: cannot open file 'D:\Freeware\mongo\mongo-client-1.
      3.5-install\libinstall.obj' [D:\Freeware\mongo\mongo-c-driver-build\test-libmon
      goc.vcxproj]

            Assignee:
            bjori Hannes Magnusson (Inactive)
            Reporter:
            sxhickman Steve Hickman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: