Skip to content

mscv fatal error LNK1181: cannot open input file #13892

Answered by QuLogic
andy5995 asked this question in Q&A
Discussion options

You must be logged in to vote

MSVC defaults to hidden visibility; if no symbols are public in a shared library, it will not create the corresponding .lib file. You would need to tag the public symbols with __declspec(dllexport) or provide a symbol list with the vs_module_defs argument.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by andy5995
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@andy5995
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants