Relative Content

Tag Archive for c++linker-errorstype-alias

Linking error when type aliasing in dynamic library

I am working on a dynamic library that gets included in a larger project. To be able to run it on Windows and Linux, I wanted to try to set up type aliasing with char and wchar_t depending on if there is UNICODE or not. However, when trying to build the main project I am running into linking errors.
error LNK2019: unresolved external symbol.