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

Ordinal Entry Point in libmongoc-1.0 drivers

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.1.1
    • Component/s: Build
    • Labels:
    • Environment:
      Windows 10 64bit, MSBuild, CMake

      I compiled Libbson, Mongo C and C++ successful on Windows 10 64bit using CMake and MSBuild. I also compiled a sample test program which also compiles fine. When trying to run the test program I get an error message

      Unable to find source-code formatter for language: text. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      The ordinal 4694 could not be located in the dynamic library libmongoc-1.0.dll.
      

      I could not figure out what exactly the problem is even after asking several times in Stackoverflow.
      My CMake, test C++ files and the Python script I'm using for compilation are attached.

        1. build.py
          4 kB
        2. CMakeLists.txt
          0.5 kB
        3. test.cpp
          0.9 kB

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            tembo Tembo Nyati
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: