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

Error LNK1104 cannot open file 'libboost_locale-vc142-mt-gd-x32-1_73.lib' in a DLL project. #412

Closed
KulaGGin opened this issue Jun 22, 2020 · 1 comment

Comments

@KulaGGin
Copy link

KulaGGin commented Jun 22, 2020

I am following the Getting Started guide and it works in the example command line project but in a DLL project I get this error when I try to build the solution:
devenv_IOODSFFMqc

I downloaded boost_1_73_0 from here: https://www.boost.org/users/history/version_1_73_0.html

I have the downloaded and extracted library at D:\Projects\Libraries\boost_1_73_0:
explorer_p0pfs1LXdq

I have set the path in the Configuration Properties > C/C++ > General > Additional Include Directories:
devenv_xMYDHCklYZ

Here's my barebones solution with the problem:
https://github.com/KulaGGin/TestLibrary/tree/LNK1104LibBoost

It's on the LNK1104LibBoost branch.

@KulaGGin KulaGGin changed the title Error LNK1104 cannot open file 'libboost_locale-vc142-mt-gd-x32-1_72.lib' in a DLL project. Error LNK1104 cannot open file 'libboost_locale-vc142-mt-gd-x32-1_73.lib' in a DLL project. Jun 22, 2020
@KulaGGin
Copy link
Author

It was my mistake, I used a header that require compilation.

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

1 participant