Re: [Boost-users] linker errors in vs2012 and boost 1.59...
It is definitely related to precompiled headers. It was only occurring in projects which were using precompiled headers. When I disabled precompiled headers in Release configuration, the link completed without errors.
Looks like Boost in MSVC has been bitten again by the precompiled header issues.
From: Barker, Theo
Sent: Wednesday, December 02, 2015 9:03 PM
To: 'boost-users@lists.boost.org'
Subject: RE: linker errors in vs2012 and boost 1.59...
More precisely:
1>Linking...
1> Creating library C:\Projects\Automation_master\Release\X.lib and object C:\Projects\Automation_master\Release\X.exp
1>Client.obj : error LNK2001: unresolved external symbol "public: void __thiscall boost::container::container_detail::has_member_function_named_construct
Theo,
Thank you for the reply. I was wondering if I was going to get feedback at
all on this.
Much appreciated!
Shayne
-----Original Message-----
From: Boost-users [mailto:boost-users-bounces@lists.boost.org] On Behalf Of
Barker, Theo
Sent: Thursday, December 03, 2015 7:32 AM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] linker errors in vs2012 and boost 1.59...
It is definitely related to precompiled headers. It was only occurring in
projects which were using precompiled headers. When I disabled precompiled
headers in Release configuration, the link completed without errors.
Looks like Boost in MSVC has been bitten again by the precompiled header
issues.
From: Barker, Theo
Sent: Wednesday, December 02, 2015 9:03 PM
To: 'boost-users@lists.boost.org'
Subject: RE: linker errors in vs2012 and boost 1.59...
More precisely:
1>Linking...
1> Creating library C:\Projects\Automation_master\Release\X.lib and object
C:\Projects\Automation_master\Release\X.exp
1>Client.obj : error LNK2001: unresolved external symbol "public: void
__thiscall
boost::container::container_detail::has_member_function_named_construct
::BaseMixin::construct(void)" (?construct@BaseMixin@?$has_member_function_named_construct@V?$new_allocator @U?$tree_node@U?$pair@$$CBW4MoFloAutomationCommand@@V?$function@$$A6A?AV?$ba sic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ@boost@@@std@@PAX $0A@$00@container_detail@container@boost@@@container@boost@@@container_detai l@container@boost@@QAEXXZ)
1>Connector.obj : error LNK2001: unresolved external symbol "public: void
__thiscall
boost::container::container_detail::has_member_function_named_construct
::BaseMixin::construct(void)" (?construct@BaseMixin@?$has_member_function_named_construct@V?$new_allocator @U?$tree_node@U?$pair@$$CBKV?$shared_ptr@VClient@@@boost@@@std@@PAX$0A@$00@c ontainer_detail@container@boost@@@container@boost@@@container_detail@contain er@boost@@QAEXXZ)
1>ResultMapper.obj : error LNK2001: unresolved external symbol "public: void
__thiscall
boost::container::container_detail::has_member_function_named_construct
participants (2)
-
Barker, Theo
-
TUELLER, SHAYNE R CIV USAF AFMC 519 SMXS/MXDEC