Jump to content
Registration disabled at the moment Read more... ×
Sign in to follow this  
Navadvipa Chandra das

[ilink32 Error] Error: Unresolved external '___unnamed_5'

Recommended Posts

Hello, All!
There was a fully functional library for C++Builder 6. I started translating it to C++Builder 10.4.2. I divided it into two packages - one for FMX, the other for VCL. The VCL_NizhnyayaNavadvipa package is successfully compiled, but not successfully linked. And I can't figure out where the error is, because the linker gives the generated names - '___unnamed_4' and '___unnamed_5' !

https://github.com/Navadvipa-Chandra-das/NizhnyayaNavadvipa

here's what he writes
[ilink32 Error] Error: Unresolved external '___unnamed_4' referenced from C:\C\NIZHNYAYANAVADVIPA\WIN32\DEBUG\CWDTREE.OBJ
[ilink32 Error] Error: Unresolved external '___unnamed_5' referenced from C:\C\NIZHNYAYANAVADVIPA\WIN32\DEBUG\CWDTREE.OBJ
[ilink32 Error] Error: Unable to perform link

Where is the problem? How to find it? Can anyone help?
Thank You!
With best regards, Navadvipa Chandra das.

Share this post


Link to post

Hello, All!

But an even bigger miracle is that when I moved the entire

void __fastcall TCWDBTreeView::Notification(TComponent *AComponent, TOperation Operation)

method entirely to the end of the file cwdtree.cpp , then the linking problem has disappeared! Hurray!
It turns out that the order of the methods in the cpp file matters!

Thank You!
With best regards, Navadvipa Chandra das.

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×