IACADENTITY Error

IACADENTITY Error

hamza_ishtiaqMTF8E
Explorer Explorer
345 Views
1 Reply
Message 1 of 2

IACADENTITY Error

hamza_ishtiaqMTF8E
Explorer
Explorer

Hello Team, 

Good Day, I need help in resolving an error i am encountering in my project that i am upgrading from 2020 to 2021. Earlier i was using ObjectARX 2020 files now i am using ObjectARX 2021 files and using Visual studio 2019 as mentioned in Autodesk documentation. I need your help to resolve below error please. 


error BC30652: Reference required to assembly 'AXDBLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the type 'IAcadEntity'. Add one to your project.

It would be appreciated if you may share migration guide from 2020 to 2021.

 

Thanks, 

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

tbrammer
Advisor
Advisor

Usually <ARX>\inc\dbxHeaders.h is included either directly or indirectly in stdafx.h. This header has the line 

 

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

 

which should do the trick.

Please make sure that you have adjusted the project settings to the correct <ARX> directory

  • C/C++ ->General->Additional Include Directories
  • Linker->General->Additional Library Direcories

 

These directories (and other settings) might be set by property sheets (.props files).

In Visual Studio you can bring up the property manager window via menu [View].[Property Manager]:

tbrammer_1-1692950127902.png

 

tbrammer_2-1692950293718.png

Each project configuration can have it's own set of property pages.

If you add a new project configuration for Arx 2021, you should use an appropriate property page for it as well.


Thomas Brammer ● Software Developer ● imos AGLinkedIn
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.

0 Likes