Unresolved External Errors in 32-bit C++ Builder
When building a 32-bit application in C++ Builder using the Clang compiler, certain linker errors may occur due to library path configuration requirements.
You may see errors such as:
[ilink32 Error] Error: Unresolved external '__InitExceptBlockLDTC'
[ilink32 Error] Error: Unable to perform link
These errors are typically caused by missing or incorrect library paths required by the Clang toolchain for 32-bit builds; to resolve this, add the following path to the project's Library Path:
$(BDSLIB)\\win32c\\debug
Configure this under Project -> Options -> C++ (Shared Options) -> Library Path, or alternatively switch to the Borland classic compiler from the C++ compiler options.
We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@nsoftware.com.