LNK2001 Error with ArxObjectClass::operator new after Switching from AutoCAD 2024 Libs

LNK2001 Error with ArxObjectClass::operator new after Switching from AutoCAD 2024 Libs

h_elyousfi
Observer Observer
509 Views
1 Reply
Message 1 of 2

LNK2001 Error with ArxObjectClass::operator new after Switching from AutoCAD 2024 Libs

h_elyousfi
Observer
Observer

Hello everyone,

I am encountering a linker error after switching my project from using AutoCAD 2024 Libs to AutoCAD 2025 Libs. The error I am receiving is:

 

 

 

error LNK2001: unresolved external symbol "public: static void * __cdecl ArxObjectClass::operator new(unsigned __int64)"

 

 

 

Here is some context about my project:

- ArxObjectClass inherits from AcDbEntity.

- When the project was using AutoCAD 2024 Libs (ac1st24.lib, acGe24.lib, acdb24.lib, acui24.lib), everything worked correctly.

- The error started occurring after changing the version of the Libs used in the project to AutoCAD 2025 Libs.

 

What might be causing this LNK2001 error after switching the Lib versions?

 

Thanks!

 

0 Likes
510 Views
1 Reply
Reply (1)
Message 2 of 2

daniel_cadext
Advisor
Advisor

I think that's in AcPal.lib, I could be wrong though

#pragma comment( lib , "AcPal.lib" )

Python for AutoCAD, Python wrappers for ARX https://github.com/CEXT-Dan/PyRx
0 Likes