Boost logo

Boost Users :

Subject: Re: [Boost-users] linker errors in vs2012 and boost 1.59...
From: Barker, Theo (TBARKER_at_[hidden])
Date: 2015-12-02 23:03:23


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<class boost::container::new_allocator<struct boost::container::container_detail::tree_node<struct std::pair<enum MoFloAutomationCommand const ,class boost::function<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl(void)> >,void *,0,1> > >::BaseMixin::construct(void)" (?construct_at_BaseMixin@?$has_member_function_named_construct_at_V?$new_allocator_at_U?$tree_node_at_U?$pair@$$CBW4MoFloAutomationCommand@@V?$function@$$A6A?AV?$basic_string_at_DU?$char_traits_at_D@std@@V?$allocator_at_D@2@@std@@XZ_at_boost@@@std@@PAX$0A@$00_at_container_detail_at_container@boost@@@container_at_boost@@@container_detail_at_container@boost@@QAEXXZ)
1>Connector.obj : error LNK2001: unresolved external symbol "public: void __thiscall boost::container::container_detail::has_member_function_named_construct<class boost::container::new_allocator<struct boost::container::container_detail::tree_node<struct std::pair<unsigned long const ,class boost::shared_ptr<class Client> >,void *,0,1> > >::BaseMixin::construct(void)" (?construct_at_BaseMixin@?$has_member_function_named_construct_at_V?$new_allocator_at_U?$tree_node_at_U?$pair@$$CBKV?$shared_ptr_at_VClient@@@boost@@@std@@PAX$0A@$00_at_container_detail_at_container@boost@@@container_at_boost@@@container_detail_at_container@boost@@QAEXXZ)
1>ResultMapper.obj : error LNK2001: unresolved external symbol "public: void __thiscall boost::container::container_detail::has_member_function_named_construct<class boost::container::new_allocator<struct boost::container::container_detail::tree_node<struct std::pair<enum boost::system::errc::errc_t const ,enum MoFloAutomationCommandResult>,void *,0,1> > >::BaseMixin::construct(void)" (?construct_at_BaseMixin@?$has_member_function_named_construct_at_V?$new_allocator_at_U?$tree_node_at_U?$pair@$$CBW4errc_t_at_errc@system_at_boost@@W4MoFloAutomationCommandResult@@@std@@PAX$0A@$00_at_container_detail_at_container@boost@@@container_at_boost@@@container_detail_at_container@boost@@QAEXXZ)
1>C:\Projects\Automation_master\Release\X.dll : fatal error LNK1120: 3 unresolved externals
1>Build log was saved at "file://c:\Projects\Automation_master\X\Release\BuildLog.htm"
1>X - 4 error(s), 4 warning(s)

This did not occur with either Debug 1.59 nor Release 1.58. Appears to be true for both prebuilt binaries and built-from-source
From: Barker, Theo
Sent: Wednesday, December 02, 2015 4:58 PM
To: 'boost-users_at_[hidden]'
Subject: linker errors in vs2012 and boost 1.59...

Shayne,
It's not just VS2012. I'm seeing that exact behavior with VS2008.

Theo
Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net