Skip to content
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

boostorg/exception failed due to error LNK2019 on MSVC #29

Closed
QuellaZhang opened this issue Dec 20, 2019 · 1 comment
Closed

boostorg/exception failed due to error LNK2019 on MSVC #29

QuellaZhang opened this issue Dec 20, 2019 · 1 comment

Comments

@QuellaZhang
Copy link

Environment:
VS 2017 + Windows Server 2016

Issue description:
Boostorg/exception failed to compile when updating Boost version to 68cc708 on MSVC. Could you please take a look?

log_x64_test_32.log

Reproduce steps:

  1. git clone -c core.autocrlf=true --recursive ​https://github.com/boostorg/boost.git D:\Boost\src
  2. open a VS 2017 x64 command prompt and browse to D:\Boost\src
  3. .\bootstrap
  4. .\b2 headers variant=release --build-dir=..\out\x64rel address-model=64
  5. .\b2 variant=release --build-dir=..\out\x64rel address-model=64
  6. .\b2 -j4 variant=release --build-dir=..\out\x64rel libs\exception\test

ErrorMessage:
no_exceptions_test.obj : error LNK2019: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &,struct boost::source_location const &)" (?throw_exception@boost@@YAXAEBVexception@std@@AEBUsource_location@1@@z) referenced in function main'

@zajo zajo closed this as completed Dec 21, 2019
@zajo zajo reopened this Dec 21, 2019
@zajo
Copy link
Collaborator

zajo commented Dec 21, 2019

Should be fixed.

@zajo zajo closed this as completed Dec 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants