[CMake] Windows C++ static library fails to access external method during initialization

David Aldrich david.aldrich.ntml at gmail.com
Fri Nov 8 07:02:16 EST 2019


Hi, I have a linker problem with a Windows C++ project that uses a static
library. I have described the problem on StackOverflow here:

https://stackoverflow.com/questions/58765494/windows-c-static-library-fails-to-access-external-method-during-initialization


I think the problem could be resolved by adjusting the CMakeLists.txt
file.  Please could someone have a look at the above link and comment
either in StackOverflow or reply here?

I am using Ninja with the VS2019 C++ compiler on Windows 10.

Thanks in advance,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20191108/77dee23e/attachment-0001.html>


More information about the CMake mailing list