ObjectARX

Reply
Valued Contributor
kennethmjones
Posts: 69
Registered: ‎02-24-2011
Message 1 of 3 (179 Views)
Accepted Solution

unresolved external symbol for AcDbSun

179 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
Alexander.Rivilis
Posts: 1,449
Registered: ‎04-09-2008
Message 2 of 3 (173 Views)

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
kennethmjones
Posts: 69
Registered: ‎02-24-2011
Message 3 of 3 (169 Views)

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 Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!