ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1 REPLY 1
Reply
Message 1 of 2
h_elyousfi
160 Views, 1 Reply

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

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!

 

Tags (1)
Labels (1)
1 REPLY 1
Message 2 of 2
daniel_cadext
in reply to: h_elyousfi

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report