Jump to content
carrion

Problem compiling component

Recommended Posts

I have created new component (VCL for C++ Win32) and in win32 debug configuration it builds just fine. But in win32 release configuration i get following error:

[ILINK32 Error] Error: Export std::_Lockit::{1173}... in module C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\20.0\LIB\WIN32C\RELEASE\CP32MTI.LIB|vclshmem references ___clang_call_terminate in unit D:\COMPONENTS\EDITPACK\WIN32\RELEASE\EDITPACK.OBJ

What might be the reason for this error? 

I am using radstudio 10_3_2_esd_96593b

 

Share this post


Link to post

This must be code related. I have successfully built and installed (at design time) VCL components using C++ clang 32 and then used them at run time in final products.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×