Author Topic: C++ Builder link errors (__InitExceptBlockLDTD, _CatchCleanup, ...)  (Read 634 times)

Chilkat

  • Administrator
  • Full Member
  • *****
  • Posts: 103
  • Karma: +6/-0
    • View Profile
When I compile/link using Chilkat with C++ Builder, I get the following link errors:
Code: [Select]
    [ilink32 Error] Error: Unresolved external '__InitExceptBlockLDTC' referenced from c:...\MyProject\CHILKATXE4.LIB|CkCrypt2

    [ilink32 Error] Error: Unresolved external '_CatchCleanup()' referenced from c:...\MyProject\CHILKATXE4.LIB|ChilkatCritSec

    [ilink32 Error] Error: Unresolved external 'CkCrypt2::{1173}...'' referenced from c:...\MyProject\WIN32\DEBUG\MyProj.OBJ

Chilkat

  • Administrator
  • Full Member
  • *****
  • Posts: 103
  • Karma: +6/-0
    • View Profile
Re: C++ Builder link errors (__InitExceptBlockLDTD, _CatchCleanup, ...)
« Reply #1 on: December 20, 2017, 08:19:09 AM »
This is because you are using the newer clang compiler option in C++ Builder.  Chilkat will provide a build for it starting in version 9.5.0.71, to be released at the beginning of January 2018.

Here's the new build that includes a Win32 (32-bit) clang build: https://chilkatdownload.com/prerelease/chilkat-9.5.0-bcc-10-318.zip

The static libs in the download are:
Code: [Select]
lib-win32-clang/ChilkatCb10.lib
lib-win32/ChilkatCb10.lib    (built using the classic C++ Builder compiler)
lib-win64/ChilkatCb10.a

Note:  The pre-release link will likely no longer be valid after v9.5.0.71 is released.  At that point in time the official download link will be present on https://www.chilkatsoft.com/downloads-cpp-builder.asp