|
Hi gokhan.ylmz87,
Indeed, I see the following error in your attached file commandlist2.txt:
D:\01-Dev\mongo-cxx-driver-master\src\mongocxx/private/libmongoc.hpp(17): fatal error C1083: Cannot open include file: 'mongoc.h': No such file or directory [D:\01-Dev\mongo-cxx-driver-master\src\mongocxx\mongocxx.vcxproj]
|
mongoc.h is a header file provided by libmongoc. Since mongoc.h cannot be found, I infer that either the value passed for LIBMONGOC_DIR is incorrect, or that the libmongoc build or install process did not successfully complete. The value you pass for LIBMONGOC_DIR when building the C++ driver should be the same as the value passed for CMAKE_INSTALL_PREFIX when building libmongoc.
Could you provide the answers to the following questions?
- Can you post the cmake invocation you used to configure the build for libmongoc?
- Did "msbuild.exe ALL_BUILD.vcxproj" and "msbuild.exe INSTALL.vcxproj" both complete successfully for libmongoc?
- Can you post the output of running the command "dir /s D:\01-Dev\mongo-c-driver"? I am guessing that this is the directory you attempted to install libmongoc to, and this directory listing should reveal whether or not the install process completed.
Thanks.
~ Rassi
|