[CXX-56] Implicit dependencies not found when building on Windows Created: 18/Feb/14  Updated: 26/Mar/14  Resolved: 27/Feb/14

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: legacy-0.0-26compat-2.6.0-rc0

Type: Bug Priority: Major - P3
Reporter: Tyler Brock Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CXX-10 Ensure test repo functions correctly ... Closed

 Description   

scons --64 --dbg=on --cpppath=c:\boost -k -j4 test

scons: Building targets ...
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\base\parse_number_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mongo
\base\parse_number_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\bson\bson_field_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mongo\b
son\bson_field_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\bson\bson_obj_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mongo\bso
n\bson_obj_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\bson\bson_validate_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mong
o\bson\bson_validate_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\bson\bsonobjbuilder_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mon
go\bson\bsonobjbuilder_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\bson\util\bson_extract_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\
mongo\bson\util\bson_extract_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\client\dbclient_rs_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mong
o\client\dbclient_rs_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\client\scoped_db_conn_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\m
ongo\client\scoped_db_conn_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\client\replica_set_monitor_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg
_on\mongo\client\replica_set_monitor_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\dbtests\jsobjtests.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mongo\dbt
ests\jsobjtests.exe'.
cl /Fobuild\win32\64\cpppath_c__boost\dbg_on\mongo\dbtests\jsontests.obj /c src\mongo\dbtests\jsontests.cpp /TP /nologo /EHsc /W3 /wd4355 /wd4800 /wd4267 /wd4244 /we4099 /Z7 /errorReport:none /MTd /Od
 /RTC1 /DBOOST_ALL_NO_LIB /D_SCONS /DMONGO_EXPOSE_MACROS /DSUPPORT_UTF8 /D_UNICODE /DUNICODE /D_CONSOLE /D_CRT_SECURE_NO_WARNINGS /D_WIN32_WINNT=0x0502 /DNTDDI_VERSION=0x05020200 /DMONGO_HAVE___DECLSP
EC_THREAD /Ibuild\win32\64\cpppath_c__boost\dbg_on\third_party\gtest-1.7.0\include /Isrc\third_party\gtest-1.7.0\include /Ibuild\win32\64\cpppath_c__boost\dbg_on\third_party\snappy /Isrc\third_party\s
nappy /Ibuild\win32\64\cpppath_c__boost\dbg_on\third_party\libstemmer_c\include /Isrc\third_party\libstemmer_c\include /Ibuild\win32\64\cpppath_c__boost\dbg_on\third_party\s2 /Isrc\third_party\s2 /Ibu
ild\win32\64\cpppath_c__boost\dbg_on\third_party\boost /Isrc\third_party\boost /Ibuild\win32\64\cpppath_c__boost\dbg_on\third_party\pcre-8.30 /Isrc\third_party\pcre-8.30 /Ibuild\win32\64\cpppath_c__bo
ost\dbg_on /Isrc /Ibuild\win32\64\cpppath_c__boost\dbg_on\mongo /Isrc\mongo /IC:\boost /IC:\winpcap\Include /Z7
jsontests.cpp
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\dbtests\mock_dbclient_conn_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg
_on\mongo\dbtests\mock_dbclient_conn_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\dbtests\mock_replica_set_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_o
n\mongo\dbtests\mock_replica_set_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\dbtests\replica_set_monitor_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\db
g_on\mongo\dbtests\replica_set_monitor_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\logger\console_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mongo\lo
gger\console_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\logger\log_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mongo\logger
\log_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\logger\rotatable_file_writer_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\d
bg_on\mongo\logger\rotatable_file_writer_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\platform\atomic_word_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mo
ngo\platform\atomic_word_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\platform\process_id_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mon
go\platform\process_id_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\platform\random_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mongo\p
latform\random_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\util\net\sock_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mongo\uti
l\net\sock_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\util\stringutils_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mongo\
util\stringutils_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\util\time_support_test.exe] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mongo
\util\time_support_test.exe'.
scons: *** [build\win32\64\cpppath_c__boost\dbg_on\mongo\dbtests\jsontests.pdb] Implicit dependency `src\mongoclient.lib' not found, needed by target `build\win32\64\cpppath_c__boost\dbg_on\mongo\dbte
sts\jsontests.exe'.
scons: done building targets (errors occurred during build).



 Comments   
Comment by Andrew Morrow (Inactive) [ 26/Feb/14 ]

Updated PR: https://github.com/mongodb/mongo-cxx-driver/pull/5

Comment by Andrew Morrow (Inactive) [ 26/Feb/14 ]

https://github.com/mongodb/mongo-cxx-driver/pull/4

Generated at Wed Feb 07 21:58:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.