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

Unable to install mongo-c-driver

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • 1.6.0
    • Build
    • Windows 10 w/ MSVS2015

    Description

      I was following installation guide from this
      link

      I installed libbson successfully, but when I tried to do the same for cd mongo-c-driver-1.6.1
      I was getting "sasl/sasl.h not found" error so I downloaded Cyrus-SASL for Windows from here and put it in my Visual Studio include folder.

      Then I was getting same error from this bug so I used current github master branch to include all the mongoc source files.

      Finally I was able to do
      make -G "Visual Studio 14 2015 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver" "-DBSON_ROOT_DIR=C:\mongo-c-driver" without any errors but when I tried "msbuild.exe ALL_BUILD.vcxproj" it was getting this error:

      Also attached txt version of that code and I wasn't able to find any log file regarding this compilation.

      Could you tell me whether I am doing this right and configure what's going on here?

      Attachments

        1. error_msg.txt
          40 kB
        2. error_prtscn.png
          error_prtscn.png
          152 kB

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            ysw0927 Seungwon Yoon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: