[CXX-1428] The following faults occur during build: Created: 29/Aug/17  Updated: 27/Oct/23  Resolved: 30/Aug/17

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: 3.1.3
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Omer faruk Dinder Assignee: Andrew Morrow (Inactive)
Resolution: Works as Designed Votes: 0
Labels: Bug, driver
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 10 64-bit


Attachments: Zip Archive VCXPROJs.zip    

 Description   

Build FAILED.

"C:\mongo-cxx-driver-r3.1.3\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx.vcxproj" (default target) (3) ->
(ClCompile target) ->
C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\array\view.cpp(21): fatal error C1083: Cannot open include file: 'bson.h': No such file or directory [C:\mon
go-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx.vcxproj]

"C:\mongo-cxx-driver-r3.1.3\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx_static.vcxproj" (default target) (4) ->
C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\array\view.cpp(21): fatal error C1083: Cannot open include file: 'bson.h': No such file or directory [C:\mon
go-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx_static.vcxproj]

0 Warning(s)
2 Error(s)

--------------------------------Details--------------------------------
C:\mongo-cxx-driver-r3.1.3>"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -G "Visual Studio 14 Win64" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="C:\\mongo-cxx-driver-r3.1.3
" -DLIBMONGOC_DIR="C:
mongo-c-driver-1.7.0" -DLIBBSON_DIR="C:
libbson-1.7.0" -DBOOST_ROOT="F:
Program Files
boost_1_65_0"
– The CXX compiler identification is MSVC 19.0.24225.1
– Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
– Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– The C compiler identification is MSVC 19.0.24225.1
– Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
– Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Found LIBBSON: bson-1.0
– Boost version: 1.65.0
– Performing Test COMPILER_HAS_DEPRECATED_ATTR
– Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
– Performing Test COMPILER_HAS_DEPRECATED
– Performing Test COMPILER_HAS_DEPRECATED - Success
– Found LIBMONGOC: mongoc-1.0
– Configuring done
– Generating done
– Build files have been written to: C:/mongo-cxx-driver-r3.1.3

C:\mongo-cxx-driver-r3.1.3>msbuild.exe ALL_BUILD.vcxproj /p:Configuration=Release
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 29.08.2017 10:09:53.
Project "C:\mongo-cxx-driver-r3.1.3\ALL_BUILD.vcxproj" on node 1 (default targets).
Project "C:\mongo-cxx-driver-r3.1.3\ALL_BUILD.vcxproj" (1) is building "C:\mongo-cxx-driver-r3.1.3\ZERO_CHECK.vcxproj" (2) on node 1 (default targets
).
PrepareForBuild:
Creating directory "x64\Release\ZERO_CHECK\".
Creating directory "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\".
InitializeBuildStatus:
Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
Checking Build System
CMake does not need to re-run because C:/mongo-cxx-driver-r3.1.3/CMakeFiles/generate.stamp is up-to-date.
CMake does not need to re-run because C:/mongo-cxx-driver-r3.1.3/src/CMakeFiles/generate.stamp is up-to-date.
CMake does not need to re-run because C:/mongo-cxx-driver-r3.1.3/src/bsoncxx/CMakeFiles/generate.stamp is up-to-date.
CMake does not need to re-run because C:/mongo-cxx-driver-r3.1.3/src/bsoncxx/third_party/CMakeFiles/generate.stamp is up-to-date.
CMake does not need to re-run because C:/mongo-cxx-driver-r3.1.3/src/bsoncxx/config/CMakeFiles/generate.stamp is up-to-date.
CMake does not need to re-run because C:/mongo-cxx-driver-r3.1.3/src/bsoncxx/test/CMakeFiles/generate.stamp is up-to-date.
CMake does not need to re-run because C:/mongo-cxx-driver-r3.1.3/src/mongocxx/CMakeFiles/generate.stamp is up-to-date.
CMake does not need to re-run because C:/mongo-cxx-driver-r3.1.3/src/mongocxx/config/CMakeFiles/generate.stamp is up-to-date.
CMake does not need to re-run because C:/mongo-cxx-driver-r3.1.3/src/mongocxx/test/CMakeFiles/generate.stamp is up-to-date.
CMake does not need to re-run because C:/mongo-cxx-driver-r3.1.3/examples/CMakeFiles/generate.stamp is up-to-date.
CMake does not need to re-run because C:/mongo-cxx-driver-r3.1.3/examples/bsoncxx/CMakeFiles/generate.stamp is up-to-date.
CMake does not need to re-run because C:/mongo-cxx-driver-r3.1.3/examples/mongocxx/CMakeFiles/generate.stamp is up-to-date.
FinalizeBuildStatus:
Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
Done Building Project "C:\mongo-cxx-driver-r3.1.3\ZERO_CHECK.vcxproj" (default targets).

Project "C:\mongo-cxx-driver-r3.1.3\ALL_BUILD.vcxproj" (1) is building "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx.vcxproj" (3) on node 1 (defaul
t targets).
PrepareForBuild:
Creating directory "bsoncxx.dir\Release\".
Creating directory "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\Release\".
Creating directory "bsoncxx.dir\Release\bsoncxx.tlog\".
InitializeBuildStatus:
Creating "bsoncxx.dir\Release\bsoncxx.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
Building Custom Rule C:/mongo-cxx-driver-r3.1.3/src/bsoncxx/CMakeLists.txt
CMake does not need to re-run because C:/mongo-cxx-driver-r3.1.3/src/bsoncxx/CMakeFiles/generate.stamp is up-to-date.
MakeDirsForCl:
Creating directory "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx.dir\Release\array".
Creating directory "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx.dir\Release\document".
Creating directory "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx.dir\Release\types".
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /I"C:\libbson-1.7.0\include\libbson-1.0" /I"C:\mongo-cxx-driver-r3.1
.3\src" /I"F:\Program Files\boost_1_65_0" /nologo /W3 /WX- /O2 /Ob2 /D "WIN32" /D "_WINDOWS" /D NDEBUG /D "MONGO_CXX_DRIVER_COMPILING" /D "CMAKE_IN
TDIR=\"Release\"" /D BSONCXX_EXPORT /D "_WINDLL" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"bsoncxx.dir\Re
lease\/array/element.cpp.obj" /Fd"bsoncxx.dir\Release\vc140.pdb" /Gd /TP /errorReport:queue "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\array\element.c
pp"
element.cpp
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /I"C:\libbson-1.7.0\include\libbson-1.0" /I"C:\mongo-cxx-driver-r3.1
.3\src" /I"F:\Program Files\boost_1_65_0" /nologo /W3 /WX- /O2 /Ob2 /D "WIN32" /D "_WINDOWS" /D NDEBUG /D "MONGO_CXX_DRIVER_COMPILING" /D "CMAKE_IN
TDIR=\"Release\"" /D BSONCXX_EXPORT /D "_WINDLL" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"bsoncxx.dir\Re
lease\/array/value.cpp.obj" /Fd"bsoncxx.dir\Release\vc140.pdb" /Gd /TP /errorReport:queue "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\array\value.cpp"
value.cpp
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /I"C:\libbson-1.7.0\include\libbson-1.0" /I"C:\mongo-cxx-driver-r3.1
.3\src" /I"F:\Program Files\boost_1_65_0" /nologo /W3 /WX- /O2 /Ob2 /D "WIN32" /D "_WINDOWS" /D NDEBUG /D "MONGO_CXX_DRIVER_COMPILING" /D "CMAKE_IN
TDIR=\"Release\"" /D BSONCXX_EXPORT /D "_WINDLL" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"bsoncxx.dir\Re
lease\/array/view.cpp.obj" /Fd"bsoncxx.dir\Release\vc140.pdb" /Gd /TP /errorReport:queue "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\array\view.cpp"
view.cpp
C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\array\view.cpp(21): fatal error C1083: Cannot open include file: 'bson.h': No such file or directory [C:\mongo
-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx.vcxproj]
Done Building Project "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx.vcxproj" (default targets) – FAILED.

Project "C:\mongo-cxx-driver-r3.1.3\ALL_BUILD.vcxproj" (1) is building "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx_static.vcxproj" (4) on node 1
(default targets).
PrepareForBuild:
Creating directory "bsoncxx_static.dir\Release\".
Creating directory "bsoncxx_static.dir\Release\bsoncxx_static.tlog\".
InitializeBuildStatus:
Creating "bsoncxx_static.dir\Release\bsoncxx_static.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
Building Custom Rule C:/mongo-cxx-driver-r3.1.3/src/bsoncxx/CMakeLists.txt
CMake does not need to re-run because C:/mongo-cxx-driver-r3.1.3/src/bsoncxx/CMakeFiles/generate.stamp is up-to-date.
MakeDirsForCl:
Creating directory "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx_static.dir\Release\array".
Creating directory "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx_static.dir\Release\document".
Creating directory "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx_static.dir\Release\types".
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /I"C:\libbson-1.7.0\include\libbson-1.0" /I"C:\mongo-cxx-driver-r3.1
.3\src" /I"F:\Program Files\boost_1_65_0" /nologo /W3 /WX- /O2 /Ob2 /D "WIN32" /D "_WINDOWS" /D NDEBUG /D "BSONCXX_STATIC" /D "MONGO_CXX_DRIVER_COM
PILING" /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"bsoncxx_static.dir\Releas
e\/array/element.cpp.obj" /Fd"bsoncxx_static.dir\Release\bsoncxx_static.pdb" /Gd /TP /errorReport:queue "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\arr
ay\element.cpp"
element.cpp
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /I"C:\libbson-1.7.0\include\libbson-1.0" /I"C:\mongo-cxx-driver-r3.1
.3\src" /I"F:\Program Files\boost_1_65_0" /nologo /W3 /WX- /O2 /Ob2 /D "WIN32" /D "_WINDOWS" /D NDEBUG /D "BSONCXX_STATIC" /D "MONGO_CXX_DRIVER_COM
PILING" /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"bsoncxx_static.dir\Releas
e\/array/value.cpp.obj" /Fd"bsoncxx_static.dir\Release\bsoncxx_static.pdb" /Gd /TP /errorReport:queue "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\array
\value.cpp"
value.cpp
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /I"C:\libbson-1.7.0\include\libbson-1.0" /I"C:\mongo-cxx-driver-r3.1
.3\src" /I"F:\Program Files\boost_1_65_0" /nologo /W3 /WX- /O2 /Ob2 /D "WIN32" /D "_WINDOWS" /D NDEBUG /D "BSONCXX_STATIC" /D "MONGO_CXX_DRIVER_COM
PILING" /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"bsoncxx_static.dir\Releas
e\/array/view.cpp.obj" /Fd"bsoncxx_static.dir\Release\bsoncxx_static.pdb" /Gd /TP /errorReport:queue "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\array\
view.cpp"
view.cpp
C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\array\view.cpp(21): fatal error C1083: Cannot open include file: 'bson.h': No such file or directory [C:\mongo
-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx_static.vcxproj]
Done Building Project "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx_static.vcxproj" (default targets) – FAILED.

Done Building Project "C:\mongo-cxx-driver-r3.1.3\ALL_BUILD.vcxproj" (default targets) – FAILED.

Build FAILED.

"C:\mongo-cxx-driver-r3.1.3\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx.vcxproj" (default target) (3) ->
(ClCompile target) ->
C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\array\view.cpp(21): fatal error C1083: Cannot open include file: 'bson.h': No such file or directory [C:\mon
go-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx.vcxproj]

"C:\mongo-cxx-driver-r3.1.3\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx_static.vcxproj" (default target) (4) ->
C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\array\view.cpp(21): fatal error C1083: Cannot open include file: 'bson.h': No such file or directory [C:\mon
go-cxx-driver-r3.1.3\src\bsoncxx\bsoncxx_static.vcxproj]

0 Warning(s)
2 Error(s)

Time Elapsed 00:00:03.33



 Comments   
Comment by Omer faruk Dinder [ 30/Aug/17 ]

Hi Andrew. I missed your message by a few minutes. Actually I have another question.

Should I include the bsoncxx and mongoxx folders (under the v_noabi folder) in my project after installing the drivers? And is it the same for the Boost? Is this the way to use it?

Thanks in advance.

Comment by Andrew Morrow (Inactive) [ 30/Aug/17 ]

HI omerfarukdinder@msn.com - Great, sounds like you are making progress. Unless I can help with anything else here, I'm going to resolve this ticket.

Comment by Omer faruk Dinder [ 30/Aug/17 ]

I missed the part about installing mongo-c-driver in the document. Thanks for helping me to see this. (I'm a beginner )

Comment by Andrew Morrow (Inactive) [ 29/Aug/17 ]

Right, and that gets resolved by way of an include path formed by interpreting LIBBSON_DIR. You aren't answering the questions I'm asking, but it appears that you either a) didn't install libmongo-c and libbson anywhere, or b) aren't providing the correct values of LIBBSON_DIR and LIBMONGOC_DIR to reflect the location to where you did install it.

Comment by Omer faruk Dinder [ 29/Aug/17 ]

C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\array\view.cpp(21): fatal error C1083: Cannot open include file: 'bson.h': No such file or directory


Content of "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\array\view.cpp"

1 // Copyright 2014 MongoDB Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 #include <bsoncxx/array/view.hpp>
16
17 #include <cstdlib>
18 #include <cstring>
19 #include <tuple>
20
21 #include <bson.h>


Header path on line 21: C: \ libbson-1.7.0 \ src \ bson \ bson.h
view.cpp path on here: "C:\mongo-cxx-driver-r3.1.3\src\bsoncxx\array\view.cpp"

Comment by Andrew Morrow (Inactive) [ 29/Aug/17 ]

So, I don't see any include or lib directories inside the libbson or libmongo-c directories. Did you run the install target for those? What was the CMAKE_INSTALL_PREFIX set to when you built the C driver/libbson? The LIBBSON_DIR and LIBMONGOC_DIR variables to the C++ driver build should refer to the installation locations for libbson and libmongo-c, respectively, not the source trees (unless you installed them to the source tree location).

Comment by Omer faruk Dinder [ 29/Aug/17 ]

C:\>dir libbson-1.7.0
Volume in drive C has no label.
Volume Serial Number is 484E-C0DF

Directory of C:\libbson-1.7.0

09.08.2017 18:46 <DIR> .
09.08.2017 18:46 <DIR> ..
09.08.2017 18:46 1.032 .clang-format
09.08.2017 18:46 <DIR> .evergreen
09.08.2017 18:46 69 .gitattributes
09.08.2017 18:46 737 .gitignore
09.08.2017 18:46 169 .travis.yml
09.08.2017 18:46 943 autogen.sh
09.08.2017 18:46 <DIR> build
09.08.2017 18:46 12.412 CMakeLists.txt
09.08.2017 18:46 1.959 configure.ac
09.08.2017 18:46 11.358 COPYING
09.08.2017 18:46 <DIR> doc
09.08.2017 18:46 <DIR> examples
09.08.2017 18:46 3.243 Makefile.am
09.08.2017 18:46 29.475 NEWS
09.08.2017 18:46 10 README
09.08.2017 18:46 2.592 README.rst
09.08.2017 18:46 <DIR> src
09.08.2017 18:46 <DIR> tests
09.08.2017 18:46 9.048 THIRD_PARTY_NOTICES
09.08.2017 18:46 5 VERSION_CURRENT
09.08.2017 18:46 5 VERSION_RELEASED
15 File(s) 73.057 bytes
8 Dir(s) 68.127.805.440 bytes free


C:\>dir mongo-c-driver-1.7.0
Volume in drive C has no label.
Volume Serial Number is 484E-C0DF

Directory of C:\mongo-c-driver-1.7.0

09.08.2017 19:22 <DIR> .
09.08.2017 19:22 <DIR> ..
09.08.2017 19:22 1.032 .clang-format
09.08.2017 19:22 <DIR> .evergreen
09.08.2017 19:22 27 .gitattributes
09.08.2017 19:22 1.588 .gitignore
09.08.2017 19:22 108 .gitmodules
09.08.2017 19:22 248 .travis.yml
09.08.2017 19:22 1.285 autogen.sh
09.08.2017 19:22 <DIR> build
09.08.2017 19:22 30.893 CMakeLists.txt
09.08.2017 19:22 2.936 configure.ac
09.08.2017 19:22 7.103 CONTRIBUTING.md
09.08.2017 19:22 10.174 COPYING
09.08.2017 19:22 <DIR> doc
09.08.2017 19:22 <DIR> examples
09.08.2017 19:22 3.720 Makefile.am
09.08.2017 19:22 63.755 NEWS
09.08.2017 19:22 <DIR> orchestration_configs
09.08.2017 19:22 3.545 README.rst
09.08.2017 19:22 <DIR> src
09.08.2017 19:22 <DIR> tests
09.08.2017 19:22 8.188 THIRD_PARTY_NOTICES
09.08.2017 19:22 945 valgrind.suppressions
09.08.2017 19:22 5 VERSION_CURRENT
09.08.2017 19:22 5 VERSION_RELEASED
17 File(s) 135.557 bytes
9 Dir(s) 68.127.801.344 bytes free


"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -G "Visual Studio 14 Win64" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="C:
mongo-cxx-driver-r3.1.3" -DLIBMONGOC_DIR="C:
mongo-c-driver-1.7.0" -DLIBBSON_DIR="C:
libbson-1.7.0" -DBOOST_ROOT="F:
Program Files
boost_1_65_0"


msbuild.exe ALL_BUILD.vcxproj /p:Configuration=Release


Comment by Andrew Morrow (Inactive) [ 29/Aug/17 ]

That is the output of just running dir. What is the output of

dir C:\mongo-c-driver-1.7.0

and

dir C:\libbson-1.7.0

Also, can you provide the complete CMake and msbuild invocations you used to configure, build, and install the C driver?

Comment by Omer faruk Dinder [ 29/Aug/17 ]

Hi Andrew.

C:\>dir
Volume in drive C has no label.
Volume Serial Number is 484E-C0DF

Directory of C:\

15.08.2017 15:26 <DIR> 4D
15.08.2017 15:10 <DIR> 4D_RA
14.06.2017 13:43 <DIR> AMD
24.11.2016 19:47 <DIR> data
09.08.2017 18:46 <DIR> libbson-1.7.0
09.08.2017 19:22 <DIR> mongo-c-driver-1.7.0
29.08.2017 20:40 <DIR> mongo-cxx-driver-r3.1.3
19.03.2017 00:03 <DIR> PerfLogs
23.08.2017 14:50 <DIR> Program Files
19.08.2017 14:44 <DIR> Program Files (x86)
28.08.2017 15:56 <DIR> Python27
14.04.2017 09:59 <DIR> SymCache
14.06.2017 13:45 <DIR> Users
27.08.2017 18:19 <DIR> Windows
0 File(s) 0 bytes
14 Dir(s) 68.126.703.616 bytes free

I offered TeamViewer remote desktop connection with the idea that you could fix the problem faster.

Comment by Andrew Morrow (Inactive) [ 29/Aug/17 ]

Hi omerfarukdinder@msn.com - Actually, I don't have easy access to Visual Studio or TeamViewer. I really just want the output of running 'dir' on those directories from a cmd shell.

Comment by Omer faruk Dinder [ 29/Aug/17 ]

I think you want these. The paths are structured correctly. I can provide TeamViewer connection if you want.

Comment by Andrew Morrow (Inactive) [ 29/Aug/17 ]

I suspect that the paths you are setting for LIBMONGOC_DIR and LIBBSON_DIR are not correct. Can you provide the output from running

dir C:\mongo-c-driver-1.7.0

and

dir C:\libbson-1.7.0

Generated at Wed Feb 07 22:02:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.