C++ Builder:

When developing a 32-bit application in C++ Builder using the Clang compiler, you may encounter the following errors:

[ilink32 Error] Error: Unresolved external '__InitExceptBlockLDTC' referenced from C:\PROGRAM FILES\EMBARCADERO\STUDIO\17.0\LIB\WIN32\DEBUG\IPWFTP.OBJ [ilink32 Error] Error: Unresolved external '_ThrowExceptionLDTC(void *, void *, void *, void *, unsigned int, unsigned int, unsigned int, unsigned char *, void *)' referenced from C:\PROGRAM FILES\EMBARCADERO\STUDIO\17.0\LIB\WIN32\DEBUG\IPWFTP.OBJ [ilink32 Error] Error: Unable to perform link
This is the result of an issue that we have open with Embarcadero, but there hasn't been any update in the IDE to resolve it.

For now, this can be resolved by adding the following path to the library path setting (Project -> Options -> C++ (Shared Options) -> Library Path):

$(BDSLIB)\win32c\debug

Alternatively one could opt not to use the Clang compiler and instead use the "Borland classic compiler" found under 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 kb@nsoftware.com.