Jump to content
Fraser

Linking problem

Recommended Posts

I built a new project  for C++ Builder 12.1 by copying everything from my 11.3 project.  It has not successfully linked yet.  These are the last messages.

 

[ld.lld Warning] ld.lld: warning: duplicate symbol: vtable for __cxxabiv1::__class_type_info
[ld.lld Error] ld.lld: error: undefined symbol: FMXmain

 

It does not and has never used Fire Monkey.

Share this post


Link to post

Are you able to create a fresh project from scratch and compile+link it before adding anything to it?

 

When you say "copying everything from my 11.3 project", did you actually add the files to the new project, or just drop them in the project folder?

Share this post


Link to post

I created a project to match the previous one.  It has not completed linking.  The source files have not moved.  I think there is a bug with Builder since it shouldn't have anything to do with FMXmain.  It is a DLL project with VCL.  I have similarly converted some other projects that are static libraries.

Share this post


Link to post

I have made another project from scratch with success apart from the same linker warning.

Share this post


Link to post

The message [ld.lld Error] ld.lld: error: undefined symbol: FMXmain will appear if a projects source file is deleted, or closed if it hadn't been saved.  I have accidentally discovered this while using a small console application.  It did not use Fire Monkey.

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

×