Boost logo

Boost Users :

Subject: Re: [Boost-users] [ASIO|Thread] Advice for removing MFC/afxwin.hdependancies
From: Igor R (boost.lists_at_[hidden])
Date: 2010-05-26 08:45:29


> Now I'm trying to get the release build linking. The same options as
> before, but using non d libs. The first linker error is a boost one:
> libboost_system-vc90-mt-s-1_43.lib(error_code.obj) : error LNK2001:
> unresolved external symbol "public: __thiscall
> std::exception::exception(char const * const &)"
> (??0exception_at_std@@QAE_at_ABQBD@Z)
>
> I'm building with /EHsc. Exception handling is missing?

Ensure you link the std library (libcpmt.lib), and that it's of the
correct version (if you've got several versions installed).
Particularly, check the path, which is used for libs. The same static
libs should be used by boost.


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