- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a functional DLL, which compiles and runs perfectly under Debug. I now want to release it and need to rebuild it using Release mode (so that I can distribute the run time libraries). I now get many unresolved external references ...
AqueousProps.obj : error LNK2001: unresolved external symbol __fltused
GasProps.obj : error LNK2019: unresolved external symbol __alloca_probe referenced in function _SETCRITDATA
GasProps.obj : error LNK2019: unresolved external symbol _memmove referenced in function _SETCRITDATA
LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
realwin.lib(winbase.obj) : error LNK2019: unresolved external symbol _strlen referenced in function _REGISTER_CLASS
Any ideas? Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This can happen when you have done things such as add libraries to the Debug configuration properties but neglected to also add them to the Release configuration. Compar your two configurations and see what is different regarding libraries - both under the compiler options and the linker.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page