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

errors in sample test

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
353 Views, 2 Replies

errors in sample test

hi as i am very new to this topics i got these errors while i am running the given sample programs of sdk

arxSamplePrj error LNK2019: unresolved external symbol "public: static class AcRxClass * __cdecl AcEdCommandStack::desc(void)" (?desc@AcEdCommandStack@@SAPAVAcRxClass@@XZ) referenced in function "public: static class AcEdCommandStack * __cdecl AcEdCommandStack::cast(class AcRxObject const *)" (?cast@AcEdCommandStack@@SAPAV1@PBVAcRxObject@@@Z)


arxSamplePrj fatal error LNK1120: 1 unresolved externals

can any one help me
2 REPLIES 2
Message 2 of 3
krishnamurthy.kalvai
in reply to: Anonymous

Is this sample created with the wizard? If so, you may be missing the path the ObjectARX *.lib in your project settings. If this is not a wizard created project, manually add all the *lib to your project settings.
Message 3 of 3
lj
Participant
in reply to: Anonymous

//Arx Lib
#pragma comment(lib,"acad")
#pragma comment(lib,"acgiapi")
#pragma comment(lib,"rxapi")
#pragma comment(lib,"acedapi")

#ifdef __JING_R14_
#pragma comment(lib,"ACAD")
#pragma comment(lib,"acgiapi")
#pragma comment(lib,"ISM")
#pragma comment(lib,"LIBACGE")
#pragma comment(lib,"ASERTVC4")
#pragma message (" AutoCAD14 lib")
#endif

#ifdef __JING_R2002_
#pragma comment(lib,"acdb15")
#pragma comment(lib,"acge15")
#pragma comment(lib,"acrx15")
#pragma comment(lib,"acutil15")
#pragma comment(lib,"acui15")
#pragma comment(lib,"adui15")
#pragma message (" AutoCAD2002 lib")
#endif

#ifdef __JING_R2004_
#pragma comment(lib,"acdb16")
#pragma comment(lib,"acge16")
#pragma comment(lib,"acui16")
#pragma comment(lib,"adui16")
#pragma message (" AutoCAD2004 lib")
#endif
//>>

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

Post to forums  

Autodesk Design & Make Report

”Boost