Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Does anyone have a solution for this?
I get this linker error:
metadata inconsistent with COFF symbol table: symbol '?isDerivedFrom@AcRxClass@@$$FSA_NPEBV1@0@Z' (0A00006F) mapped to '<unknown symbol>' (06000032) in mgPoly.obj
With the latest versions of Visual Studio 2022 using ObjectARX 2025.
To replicate:
Open the polysamp project, and edit mgPoly.cpp to include isDerivedFrom somewhere:
//////////////////////////////////////////////////////////////////////////
// constructor
Autodesk::ObjectDbxSample::Poly::Poly()
:Autodesk::AutoCAD::DatabaseServices::Curve(System::IntPtr(new AsdkPoly()), true)
{
acutPrintf(_T("\n*********************Constructor"));
if (GetImpObj()->isA()->isDerivedFrom(AcDbCurve::desc()))
{
acutPrintf(_T("\nDerived from AcDbCurve"));
}
}
A rollback to Visual studio version 17.8 fixes the problem.
Solved! Go to Solution.