-
Notifications
You must be signed in to change notification settings - Fork 86
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
[bug] Unable to build 1.0.3 with msvc 14.2 #209
Comments
I have identify the problem, it seems that it is due to the autolink feature of boost, which will get confused with static and dynamic libraries since their symbols are the same. In the end I set the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the bug
I have installed all the dependencies and cctag does find them during cmake configuration. However, the build gives me linker error
LINK : fatal error LNK1104: cannot open file 'libboost_serialization-vc142-mt-x64-1_76.lib'
To Reproduce
Steps to reproduce the behavior:
configure options
Expected behavior
Should be able to build and run successfully from the various issues I've seen.
Log
Desktop (please complete the following and other pertinent information):
Additional context
the boost linker error seems to be related to header only libraries but adding
-DBOOST_SERIALIZATION_NO_LIB=ON
did not help resolving the errorThe text was updated successfully, but these errors were encountered: