Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Conversation

@kshalnev
Copy link

Hello. I've got linking error "LNK2001 unresolver external symbol" while linking libeay32.lib,
which were build for UWP, namely these function were not found:
error LNK2001: unresolved external symbol FlushConsoleInputBuffer@
error LNK2001: unresolved external symbol GetProcessWindowStation@
error LNK2001: unresolved external symbol GetUserObjectInformationW@
error LNK2001: unresolved external symbol GetVersionEx@
error LNK2001: unresolved external symbol GlobalMemoryStatus@
These functions are declared in ms\winrt.cpp and only these functions have WINAPI specification
(+ GetStdHandle, but under STD_ERROR_HANDLE define), all other Win Api stubs are declared without WINAPI specification (see the file). This WINAPI declaration forces compiler to decorate name with '@', therefore functions cannot be found.
Without WINAPI declaration everything is OK.

@khouzam
Copy link

khouzam commented Jan 30, 2017

Hi @kshalnev

I think that the issue is actually the same as issue #42. I'm pushing out a fix for this. Can you please try it again?

Sorry for the inconvenience.

@khouzam khouzam closed this Aug 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants