-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LNK2005 error of boost::archive::codecvt_null<wchar_t> #232
Comments
@robertramey
|
@robertramey |
@Mitsuhiko-Matsukawa I have the same issues. I tried your workaround for boost 1.78.0, but this leads to a different linker error. Did you already test it with the newest boost version? |
what is the current status on this? I've tested extensively with both static and shared linking with no problems. |
@robertramey @AdmiralPellaeon I have applied this patch and the problem has been resolved. The idea of this patch is simple. @robertramey |
I'm still trying to understand what's going on here. When you "move" this implementation, do you rebuild the libraries when you verify that "it works". |
@robertramey
Yes, I have rebuilt the libraries and succeeded to link to my test code. |
Hi! I ran into the same link error and saw this open issue. I just wanted to comment, adding the |
- not possible with current boost due to boostorg/serialization#232
- not possible with current boost due to boostorg/serialization#232
- not possible with current boost due to boostorg/serialization#232
- not possible with current boost due to boostorg/serialization#232
- not possible with current boost due to boostorg/serialization#232
When I use boost/archive/xml_wiarchive.hpp in dll and exe together, LNK2005 error occurs.
boost 1_76_0, Visual Studio 2019
LNK2005_codecvt_null.zip
Please download and put as below.
boost_1_76_0
-boost
-stage
--x64
--x86
LNK2005_codecvt_null
-LNK2005_codecvt_null.sln
The text was updated successfully, but these errors were encountered: