C++ Builder: "Unresolved external" error when using Clang compiler

Known issue with 32-bit Clang projects.

Date Entered: 01/16/2017    Last Updated: 01/16/2017

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

We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at kb@nsoftware.com.