sea_turtle 发表于 2005-3-31 10:43:00

[求助]菜鸟的问题啊??

帮帮我啊!! 我在编译是没的出错啊 但是在连接的时候出现了下面的错误::


--------------------Configuration: Hello1 - Win32 Debug--------------------<BR>Linking...<BR>               Creating library Debug/Hello1.lib and object Debug/Hello1.exp<BR>Hello1.obj : error LNK2001: unresolved external symbol "public: static void __cdecl AcDbObject::operator delete(void *)" (<A href="mailto:??3AcDbObject@@SAXPAX@Z" target="_blank" >??3AcDbObject@@SAXPAX@Z</A>)<BR>Hello1.obj : error LNK2001: unresolved external symbol "public: enum Acad::ErrorStatus       __thiscall AcDbBlockTableRecord::appendAcDbEntity(class AcDbObjectId &amp;,class AcDbEntity *)" (<A href="mailto:?appendAcDbEntity@AcDbBlockTableRecord@@QAE?AW4ErrorStatus@Acad@@AAV" target="_blank" >?appendAcDbEntity@AcDbBlockTableRecord@@QAE?AW4ErrorStatus@Acad@@AAV</A><BR><A href="mailto:AcDbObjectId@@PAVAcDbEntity@@@Z" target="_blank" >AcDbObjectId@@PAVAcDbEntity@@@Z</A>)<BR>Hello1.obj : error LNK2001: unresolved external symbol "public: enum Acad::ErrorStatus       __thiscall AcDbObject::close(void)" (<A href="mailto:?close@AcDbObject@@QAE?AW4ErrorStatus@Acad@@XZ" target="_blank" >?close@AcDbObject@@QAE?AW4ErrorStatus@Acad@@XZ</A>)<BR>Hello1.obj : error LNK2001: unresolved external symbol "public: enum Acad::ErrorStatus       __thiscall AcDbBlockTable::getAt(char const *,class AcDbBlockTableRecord * &amp;,enum AcDb::OpenMode,bool)const " (<A href="mailto:?getAt@AcDbBlockTable@@QBE?AW4ErrorStatus@Acad@@PB" target="_blank" >?getAt@AcDbBlockTable@@QBE?AW4ErrorStatus@Acad@@PB</A><BR><A href="mailto:DAAPAVAcDbBlockTableRecord@@W4OpenMode@AcDb@@_N@Z" target="_blank" >DAAPAVAcDbBlockTableRecord@@W4OpenMode@AcDb@@_N@Z</A>)<BR>Hello1.obj : error LNK2001: unresolved external symbol "public: enum Acad::ErrorStatus       __thiscall AcDbDatabase::getSymbolTable(class AcDbBlockTable * &amp;,enum AcDb::OpenMode)" (<A href="mailto:?getSymbolTable@AcDbDatabase@@QAE?AW4ErrorStatus@Acad@@AAPAVAcDbBlockTabl" target="_blank" >?getSymbolTable@AcDbDatabase@@QAE?AW4ErrorStatus@Acad@@AAPAVAcDbBlockTabl</A><BR><A href="mailto:e@@W4OpenMode@AcDb@@@Z" target="_blank" >e@@W4OpenMode@AcDb@@@Z</A>)<BR>Hello1.obj : error LNK2001: unresolved external symbol "public: __thiscall AcDbLine::AcDbLine(class AcGePoint3d const &amp;,class AcGePoint3d const &amp;)" (<A href="mailto:??0AcDbLine@@QAE@ABVAcGePoint3d@@0@Z" target="_blank" >??0AcDbLine@@QAE@ABVAcGePoint3d@@0@Z</A>)<BR>Hello1.obj : error LNK2001: unresolved external symbol "public: static void * __cdecl AcDbObject::operator new(unsigned int)" (<A href="mailto:??2AcDbObject@@SAPAXI@Z" target="_blank" >??2AcDbObject@@SAPAXI@Z</A>)<BR>Hello1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall AcGePoint3d::AcGePoint3d(double,double,double)" (<A href="mailto:__imp_??0AcGePoint3d@@QAE@NNN@Z" target="_blank" >__imp_??0AcGePoint3d@@QAE@NNN@Z</A>)<BR>./Hello1.arx : fatal error LNK1120: 8 unresolved externals<BR>Error executing link.exe.


Hello1.arx - 9 error(s), 0 warning(s)<BR>

sea_turtle 发表于 2005-3-31 10:51:00

我现在知道原因了啊               原来是没设置工程中的LINK库啊
页: [1]
查看完整版本: [求助]菜鸟的问题啊??