[CXX-893] Link errors in Debug Build Created: 12/Apr/16  Updated: 19/Sep/16  Resolved: 18/May/16

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: 3.0.1
Fix Version/s: 3.0.2

Type: Bug Priority: Minor - P4
Reporter: Steve Hickman Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Release builds for cxx driver all appear to have built cleanly. Debug builds had a few link errors in some of the examples. Specifically, after adding these steps to the end of steps listed in appveyor.yml
cmd: msbuild.exe ALL_BUILD.vcxproj /p:Configuration=Debug
cmd: msbuild.exe INSTALL.vcxproj /p:Configuration=Debug
cmd: msbuild.exe examples\examples.vcxproj /p:Configuration=Debug
I got link errors in some (not all) of the examples. Here are some examples:
Link:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\Debug\view_and_value.exe" /INCREMENTAL /NOLOGO /LIBPATH:"D
:/GITRepos/mongo-cxx-driver/install/lib" /LIBPATH:"D:/GITRepos/mongo-cxx-driver/install/lib/Debug" kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg3
2.lib advapi32.lib ..\..\src\bsoncxx\Debug\bsoncxx.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"D:/GITRepos/mongo-cxx-driver/examples/bsoncxx/Debug/v
iew_and_value.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/GITRepos/mongo-cxx-driver/examples/bsoncxx/Debug/view_and_value.lib" /MACHINE:X86 /SAFESEH /machine:X86 view_and_v
alue.dir\Debug\view_and_value.obj
view_and_value.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall bsoncxx::v_noabi::builder::basic::sub_array::sub_array(class bsoncxx::v_noabi::builder::core *
)" (_imp??0sub_array@basic@builder@v_noabi@bsoncxx@@QAE@PAVcore@234@@Z) referenced in function "void __vectorcall bsoncxx::v_noabi::builder::basic::impl::generic_append<class <lambda_c8016f0f43fec5
746f6c2b9c70eb508a> >(class bsoncxx::v_noabi::builder::core *,class <lambda_c8016f0f43fec5746f6c2b9c70eb508a> &&)" (??$generic_append@V<lambda_c8016f0f43fec5746f6c2b9c70eb508a>@@@impl@basic@builder@v
_noabi@bsoncxx@@YQXPAVcore@234@$$QAV<lambda_c8016f0f43fec5746f6c2b9c70eb508a>@@@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]
view_and_value.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_array::append(void)" (imp?append@sub_array@basic
@builder@v_noabi@bsoncxx@@QAEXXZ) referenced in function "public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_array::append<char const (&)[8]>(char const (&)[8])" (??$append@AAY07$$CBD$$V@s
ub_array@basic@builder@v_noabi@bsoncxx@@QAEXAAY07$$CBD@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]
view_and_value.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall bsoncxx::v_noabi::builder::basic::sub_document::sub_document(class bsoncxx::v_noabi::builder::
core *)" (_imp??0sub_document@basic@builder@v_noabi@bsoncxx@@QAE@PAVcore@234@@Z) referenced in function "public: __thiscall bsoncxx::v_noabi::builder::basic::document::document(void)" (??0document@
basic@builder@v_noabi@bsoncxx@@QAE@XZ) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]
view_and_value.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_document::append(void)" (imp?append@sub_document
@basic@builder@v_noabi@bsoncxx@@QAEXXZ) referenced in function "public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_document::append<class std::tuple<char const (&)[8],class <lambda_c8016f0
f43fec5746f6c2b9c70eb508a> &&> >(class std::tuple<char const (&)[8],class <lambda_c8016f0f43fec5746f6c2b9c70eb508a> &&> &&)" (??$append@V?$tuple@AAY07$$CBD$$QAV<lambda_c8016f0f43fec5746f6c2b9c70eb508
a>@@@std@@$$V@sub_document@basic@builder@v_noabi@bsoncxx@@QAEX$$QAV?$tuple@AAY07$$CBD$$QAV<lambda_c8016f0f43fec5746f6c2b9c70eb508a>@@@std@@@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_
value.vcxproj]
D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\Debug\view_and_value.exe : fatal error LNK1120: 4 unresolved externals [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]
Done Building Project "D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj" (default targets) – FAILED.
"D:\GITRepos\mongo-cxx-driver\examples\examples.vcxproj" (default target) (1) ->
"D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\builder_basic.vcxproj" (default target) (6) ->
(Link target) ->
builder_basic.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall bsoncxx::v_noabi::builder::basic::sub_array::sub_array(class bsoncxx::v_noabi::builder::core
*)" (_imp??0sub_array@basic@builder@v_noabi@bsoncxx@@QAE@PAVcore@234@@Z) referenced in function "void __vectorcall bsoncxx::v_noabi::builder::basic::impl::generic_append<class <lambda_5827542815269
f79f1f8355b8a8e9e6b> >(class bsoncxx::v_noabi::builder::core *,class <lambda_5827542815269f79f1f8355b8a8e9e6b> &&)" (??$generic_append@V<lambda_5827542815269f79f1f8355b8a8e9e6b>@@@impl@basic@builder@
v_noabi@bsoncxx@@YQXPAVcore@234@$$QAV<lambda_5827542815269f79f1f8355b8a8e9e6b>@@@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\builder_basic.vcxproj]
builder_basic.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_array::append(void)" (imp?append@sub_array@basi
c@builder@v_noabi@bsoncxx@@QAEXXZ) referenced in function "public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_array::append<char const (&)[6]>(char const (&)[6])" (??$append@AAY05$$CBD$$V@
sub_array@basic@builder@v_noabi@bsoncxx@@QAEXAAY05$$CBD@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\builder_basic.vcxproj]
builder_basic.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall bsoncxx::v_noabi::builder::basic::sub_document::sub_document(class bsoncxx::v_noabi::builder:
:core *)" (_imp??0sub_document@basic@builder@v_noabi@bsoncxx@@QAE@PAVcore@234@@Z) referenced in function "void __vectorcall bsoncxx::v_noabi::builder::basic::impl::generic_append<class <lambda_26fe
b9ef0b7daaa6792f9543bbb2a482> >(class bsoncxx::v_noabi::builder::core *,class <lambda_26feb9ef0b7daaa6792f9543bbb2a482> &&)" (??$generic_append@V<lambda_26feb9ef0b7daaa6792f9543bbb2a482>@@@impl@basic
@builder@v_noabi@bsoncxx@@YQXPAVcore@234@$$QAV<lambda_26feb9ef0b7daaa6792f9543bbb2a482>@@@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\builder_basic.vcxproj]
builder_basic.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_document::append(void)" (imp?append@sub_documen
t@basic@builder@v_noabi@bsoncxx@@QAEXXZ) referenced in function "public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_document::append<class std::tuple<char const (&)[4],struct bsoncxx::v_no
abi::types::b_bool &&> >(class std::tuple<char const (&)[4],struct bsoncxx::v_noabi::types::b_bool &&> &&)" (??$append@V?$tuple@AAY03$$CBD$$QAUb_bool@types@v_noabi@bsoncxx@@@std@@$$V@sub_document@bas
ic@builder@v_noabi@bsoncxx@@QAEX$$QAV?$tuple@AAY03$$CBD$$QAUb_bool@types@v_noabi@bsoncxx@@@std@@@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\builder_basic.vcxproj]
D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\Debug\builder_basic.exe : fatal error LNK1120: 4 unresolved externals [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\builder_basic.vcxproj]
... and ...
"D:\GITRepos\mongo-cxx-driver\examples\examples.vcxproj" (default target) (1) ->
"D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj" (default target) (19) ->
view_and_value.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall bsoncxx::v_noabi::builder::basic::sub_array::sub_array(class bsoncxx::v_noabi::builder::core
*)" (_imp??0sub_array@basic@builder@v_noabi@bsoncxx@@QAE@PAVcore@234@@Z) referenced in function "void __vectorcall bsoncxx::v_noabi::builder::basic::impl::generic_append<class <lambda_c8016f0f43fe
c5746f6c2b9c70eb508a> >(class bsoncxx::v_noabi::builder::core *,class <lambda_c8016f0f43fec5746f6c2b9c70eb508a> &&)" (??$generic_append@V<lambda_c8016f0f43fec5746f6c2b9c70eb508a>@@@impl@basic@builder
@v_noabi@bsoncxx@@YQXPAVcore@234@$$QAV<lambda_c8016f0f43fec5746f6c2b9c70eb508a>@@@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]
view_and_value.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_array::append(void)" (imp?append@sub_array@bas
ic@builder@v_noabi@bsoncxx@@QAEXXZ) referenced in function "public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_array::append<char const (&)[8]>(char const (&)[8])" (??$append@AAY07$$CBD$$V
@sub_array@basic@builder@v_noabi@bsoncxx@@QAEXAAY07$$CBD@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]
view_and_value.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall bsoncxx::v_noabi::builder::basic::sub_document::sub_document(class bsoncxx::v_noabi::builder
::core *)" (_imp??0sub_document@basic@builder@v_noabi@bsoncxx@@QAE@PAVcore@234@@Z) referenced in function "public: __thiscall bsoncxx::v_noabi::builder::basic::document::document(void)" (??0documen
t@basic@builder@v_noabi@bsoncxx@@QAE@XZ) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]
view_and_value.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_document::append(void)" (imp?append@sub_docume
nt@basic@builder@v_noabi@bsoncxx@@QAEXXZ) referenced in function "public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_document::append<class std::tuple<char const (&)[8],class <lambda_c8016
f0f43fec5746f6c2b9c70eb508a> &&> >(class std::tuple<char const (&)[8],class <lambda_c8016f0f43fec5746f6c2b9c70eb508a> &&> &&)" (??$append@V?$tuple@AAY07$$CBD$$QAV<lambda_c8016f0f43fec5746f6c2b9c70eb5
08a>@@@std@@$$V@sub_document@basic@builder@v_noabi@bsoncxx@@QAEX$$QAV?$tuple@AAY07$$CBD$$QAV<lambda_c8016f0f43fec5746f6c2b9c70eb508a>@@@std@@@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_an
d_value.vcxproj]
D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\Debug\view_and_value.exe : fatal error LNK1120: 4 unresolved externals [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]



 Comments   
Comment by Andrew Morrow (Inactive) [ 18/May/16 ]

https://github.com/mongodb/mongo-cxx-driver/pull/484#issuecomment-219553891

Comment by Steve Hickman [ 12/Apr/16 ]

It' not serious. It's just with the examples. I goofed when filing this in terms of the level. I can make progress without it.

---- On Tue, 12 Apr 2016 11:13:30 -0700 Andrew Morrow (JIRA) <jira@mongodb.org>wrote ----

[ https://jira.mongodb.org/browse/CXX-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=1233636#comment-1233636 ]

Andrew Morrow commented on CXX-893:

-----------------------------------

Thanks for filing this, we will give it a look. Is this a blocker for you, are you OK making progress with the Release build?

> Link errors in Debug Build

> --------------------------

>

> Key: CXX-893

> URL: https://jira.mongodb.org/browse/CXX-893

> Project: C++ Driver

> Issue Type: Bug

> Components: Build

> Affects Versions: 3.0.1

> Reporter: Steve Hickman

> Assignee: Backlog - Platform Team

> Fix For: Needs Triage

>

>

> Release builds for cxx driver all appear to have built cleanly. Debug builds had a few link errors in some of the examples. Specifically, after adding these steps to the end of steps listed in appveyor.yml

> cmd: msbuild.exe ALL_BUILD.vcxproj /p:Configuration=Debug

> cmd: msbuild.exe INSTALL.vcxproj /p:Configuration=Debug

> cmd: msbuild.exe examples\examples.vcxproj /p:Configuration=Debug

> I got link errors in some (not all) of the examples. Here are some examples:

> Link:

> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\Debug\view_and_value.exe" /INCREMENTAL /NOLOGO /LIBPATH:"D

> :/GITRepos/mongo-cxx-driver/install/lib" /LIBPATH:"D:/GITRepos/mongo-cxx-driver/install/lib/Debug" kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg3

> 2.lib advapi32.lib ..\..\src\bsoncxx\Debug\bsoncxx.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"D:/GITRepos/mongo-cxx-driver/examples/bsoncxx/Debug/v

> iew_and_value.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"D:/GITRepos/mongo-cxx-driver/examples/bsoncxx/Debug/view_and_value.lib" /MACHINE:X86 /SAFESEH /machine:X86 view_and_v

> alue.dir\Debug\view_and_value.obj

> view_and_value.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall bsoncxx::v_noabi::builder::basic::sub_array::sub_array(class bsoncxx::v_noabi::builder::core *

> )" (_imp??0sub_array@basic@builder@v_noabi@bsoncxx@@QAE@PAVcore@234@@Z) referenced in function "void __vectorcall bsoncxx::v_noabi::builder::basic::impl::generic_append<class <lambda_c8016f0f43fec5

> 746f6c2b9c70eb508a> >(class bsoncxx::v_noabi::builder::core *,class <lambda_c8016f0f43fec5746f6c2b9c70eb508a> &&)" (??$generic_append@V<lambda_c8016f0f43fec5746f6c2b9c70eb508a>@@@impl@basic@builder@v

> _noabi@bsoncxx@@YQXPAVcore@234@$$QAV<lambda_c8016f0f43fec5746f6c2b9c70eb508a>@@@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]

> view_and_value.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_array::append(void)" (imp?append@sub_array@basic

> @builder@v_noabi@bsoncxx@@QAEXXZ) referenced in function "public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_array::append<char const (&)[8]>(char const (&)[8])" (??$append@AAY07$$CBD$$V@s

> ub_array@basic@builder@v_noabi@bsoncxx@@QAEXAAY07$$CBD@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]

> view_and_value.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall bsoncxx::v_noabi::builder::basic::sub_document::sub_document(class bsoncxx::v_noabi::builder::

> core *)" (_imp??0sub_document@basic@builder@v_noabi@bsoncxx@@QAE@PAVcore@234@@Z) referenced in function "public: __thiscall bsoncxx::v_noabi::builder::basic::document::document(void)" (??0document@

> basic@builder@v_noabi@bsoncxx@@QAE@XZ) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]

> view_and_value.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_document::append(void)" (imp?append@sub_document

> @basic@builder@v_noabi@bsoncxx@@QAEXXZ) referenced in function "public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_document::append<class std::tuple<char const (&)[8],class <lambda_c8016f0

> f43fec5746f6c2b9c70eb508a> &&> >(class std::tuple<char const (&)[8],class <lambda_c8016f0f43fec5746f6c2b9c70eb508a> &&> &&)" (??$append@V?$tuple@AAY07$$CBD$$QAV<lambda_c8016f0f43fec5746f6c2b9c70eb508

> a>@@@std@@$$V@sub_document@basic@builder@v_noabi@bsoncxx@@QAEX$$QAV?$tuple@AAY07$$CBD$$QAV<lambda_c8016f0f43fec5746f6c2b9c70eb508a>@@@std@@@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_

> value.vcxproj]

> D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\Debug\view_and_value.exe : fatal error LNK1120: 4 unresolved externals [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]

> Done Building Project "D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj" (default targets) – FAILED.

> "D:\GITRepos\mongo-cxx-driver\examples\examples.vcxproj" (default target) (1) ->

> "D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\builder_basic.vcxproj" (default target) (6) ->

> (Link target) ->

> builder_basic.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall bsoncxx::v_noabi::builder::basic::sub_array::sub_array(class bsoncxx::v_noabi::builder::core

> *)" (_imp??0sub_array@basic@builder@v_noabi@bsoncxx@@QAE@PAVcore@234@@Z) referenced in function "void __vectorcall bsoncxx::v_noabi::builder::basic::impl::generic_append<class <lambda_5827542815269

> f79f1f8355b8a8e9e6b> >(class bsoncxx::v_noabi::builder::core *,class <lambda_5827542815269f79f1f8355b8a8e9e6b> &&)" (??$generic_append@V<lambda_5827542815269f79f1f8355b8a8e9e6b>@@@impl@basic@builder@

> v_noabi@bsoncxx@@YQXPAVcore@234@$$QAV<lambda_5827542815269f79f1f8355b8a8e9e6b>@@@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\builder_basic.vcxproj]

> builder_basic.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_array::append(void)" (imp?append@sub_array@basi

> c@builder@v_noabi@bsoncxx@@QAEXXZ) referenced in function "public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_array::append<char const (&)[6]>(char const (&)[6])" (??$append@AAY05$$CBD$$V@

> sub_array@basic@builder@v_noabi@bsoncxx@@QAEXAAY05$$CBD@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\builder_basic.vcxproj]

> builder_basic.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall bsoncxx::v_noabi::builder::basic::sub_document::sub_document(class bsoncxx::v_noabi::builder:

> :core *)" (_imp??0sub_document@basic@builder@v_noabi@bsoncxx@@QAE@PAVcore@234@@Z) referenced in function "void __vectorcall bsoncxx::v_noabi::builder::basic::impl::generic_append<class <lambda_26fe

> b9ef0b7daaa6792f9543bbb2a482> >(class bsoncxx::v_noabi::builder::core *,class <lambda_26feb9ef0b7daaa6792f9543bbb2a482> &&)" (??$generic_append@V<lambda_26feb9ef0b7daaa6792f9543bbb2a482>@@@impl@basic

> @builder@v_noabi@bsoncxx@@YQXPAVcore@234@$$QAV<lambda_26feb9ef0b7daaa6792f9543bbb2a482>@@@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\builder_basic.vcxproj]

> builder_basic.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_document::append(void)" (imp?append@sub_documen

> t@basic@builder@v_noabi@bsoncxx@@QAEXXZ) referenced in function "public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_document::append<class std::tuple<char const (&)[4],struct bsoncxx::v_no

> abi::types::b_bool &&> >(class std::tuple<char const (&)[4],struct bsoncxx::v_noabi::types::b_bool &&> &&)" (??$append@V?$tuple@AAY03$$CBD$$QAUb_bool@types@v_noabi@bsoncxx@@@std@@$$V@sub_document@bas

> ic@builder@v_noabi@bsoncxx@@QAEX$$QAV?$tuple@AAY03$$CBD$$QAUb_bool@types@v_noabi@bsoncxx@@@std@@@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\builder_basic.vcxproj]

> D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\Debug\builder_basic.exe : fatal error LNK1120: 4 unresolved externals [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\builder_basic.vcxproj]

> ... and ...

> "D:\GITRepos\mongo-cxx-driver\examples\examples.vcxproj" (default target) (1) ->

> "D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj" (default target) (19) ->

> view_and_value.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall bsoncxx::v_noabi::builder::basic::sub_array::sub_array(class bsoncxx::v_noabi::builder::core

> *)" (_imp??0sub_array@basic@builder@v_noabi@bsoncxx@@QAE@PAVcore@234@@Z) referenced in function "void __vectorcall bsoncxx::v_noabi::builder::basic::impl::generic_append<class <lambda_c8016f0f43fe

> c5746f6c2b9c70eb508a> >(class bsoncxx::v_noabi::builder::core *,class <lambda_c8016f0f43fec5746f6c2b9c70eb508a> &&)" (??$generic_append@V<lambda_c8016f0f43fec5746f6c2b9c70eb508a>@@@impl@basic@builder

> @v_noabi@bsoncxx@@YQXPAVcore@234@$$QAV<lambda_c8016f0f43fec5746f6c2b9c70eb508a>@@@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]

> view_and_value.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_array::append(void)" (imp?append@sub_array@bas

> ic@builder@v_noabi@bsoncxx@@QAEXXZ) referenced in function "public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_array::append<char const (&)[8]>(char const (&)[8])" (??$append@AAY07$$CBD$$V

> @sub_array@basic@builder@v_noabi@bsoncxx@@QAEXAAY07$$CBD@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]

> view_and_value.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall bsoncxx::v_noabi::builder::basic::sub_document::sub_document(class bsoncxx::v_noabi::builder

> ::core *)" (_imp??0sub_document@basic@builder@v_noabi@bsoncxx@@QAE@PAVcore@234@@Z) referenced in function "public: __thiscall bsoncxx::v_noabi::builder::basic::document::document(void)" (??0documen

> t@basic@builder@v_noabi@bsoncxx@@QAE@XZ) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]

> view_and_value.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_document::append(void)" (imp?append@sub_docume

> nt@basic@builder@v_noabi@bsoncxx@@QAEXXZ) referenced in function "public: void __thiscall bsoncxx::v_noabi::builder::basic::sub_document::append<class std::tuple<char const (&)[8],class <lambda_c8016

> f0f43fec5746f6c2b9c70eb508a> &&> >(class std::tuple<char const (&)[8],class <lambda_c8016f0f43fec5746f6c2b9c70eb508a> &&> &&)" (??$append@V?$tuple@AAY07$$CBD$$QAV<lambda_c8016f0f43fec5746f6c2b9c70eb5

> 08a>@@@std@@$$V@sub_document@basic@builder@v_noabi@bsoncxx@@QAEX$$QAV?$tuple@AAY07$$CBD$$QAV<lambda_c8016f0f43fec5746f6c2b9c70eb508a>@@@std@@@Z) [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_an

> d_value.vcxproj]

> D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\Debug\view_and_value.exe : fatal error LNK1120: 4 unresolved externals [D:\GITRepos\mongo-cxx-driver\examples\bsoncxx\view_and_value.vcxproj]

----------------------

This message was sent from MongoDB's issue tracking system. To respond to this ticket, please login to https://jira.mongodb.org using your JIRA or MMS credentials.

Comment by Andrew Morrow (Inactive) [ 12/Apr/16 ]

Thanks for filing this, we will give it a look. Is this a blocker for you, are you OK making progress with the Release build?

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