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.