ObjectARX

ObjectARX

Reply
Valued Contributor
69 Posts
1 Kudo
Registered: ‎02-24-2011
Post 1 of 3
Accepted Solution

unresolved external symbol for AcDbSun

184 Views, 2 Replies
12-05-2012 04:37 AM

Hello,

 

I am trying to use the AcDbSun class but I get the following unresolved symbol error. 

I not sure what the issue is. I am sure I am linking the correct libraries.

 

I am using the ObjectARX 2012 64 bit libraries.

 

unresolved external symbol "public: static class AcRxClass * __cdecl AcDbSun::desc(void)" (?desc@AcDbSun@@SAPEAVAcRxClass@@XZ) referenced in function "enum Acad::ErrorStatus __cdecl acdbOpenObject<class AcDbSun>(class AcDbSun * &,class AcDbObjectId,enum AcDb::smileysurprised:penMode,bool)" (??$acdbOpenObject@VAcDbSun@@@@YA?AW4ErrorStatus@Acad@@AEAPEAVAcDbSun@@VAcDbObjectId@@W4OpenMode@AcDb@@_N@Z)

 

Does anyone have any ideas?

 

Many thanks

Ken

It's look like you do not link with AcSceneOE.lib library

Moderator
1,465 Posts
277 Kudos
Registered: ‎04-09-2008
Post 2 of 3

Re: unresolved external symbol for AcDbSun

12-05-2012 06:58 AM in reply to: kennethmjones

It's look like you do not link with AcSceneOE.lib library


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Valued Contributor
69 Posts
1 Kudo
Registered: ‎02-24-2011
Post 3 of 3

Re: unresolved external symbol for AcDbSun

12-05-2012 07:38 AM in reply to: Alexander.Rivilis

Thank you Alexander,

 

That fixed the problem. Very much appreciated.

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!