高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】link error while building odamfcapp in 1.12.04
link error while building "odamfcapp" in 1.12.04
link error while building "odamfcapp" in 1.12.04
hello,
when i build the example odamfcapp, i get the following errors.
linking...
creating library ../../../../../exe/releasewdi/odamfcapp.lib and object ../../../../../exe/releasewdi/odamfcapp.exp
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_odpsplotstyleservicesim pl(void)" (?odrxcreatemoduleobject_for_odpsplotstyleservices impl@@ya?av?$odsmartptr@vodrxmodule@
@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_modelermodule(void)" (?odrxcreatemoduleobject_for_modelermodule@@ya?av? $odsmartptr@vodrxmodule@@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_exrastermodule(void)" (?odrxcreatemoduleobject_for_exrastermodule@@ya?av ?$odsmartptr@vodrxmodule@@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_winopenglmodule_worldca che(void)" (?odrxcreatemoduleobject_for_winopenglmodule_world cache@@ya?av?$odsmartptr@vodrxmodul
e@@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_winopenglmodule(void)" (?odrxcreatemoduleobject_for_winopenglmodule@@ya?a v?$odsmartptr@vodrxmodule@@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_wingdimodule(void)" (?odrxcreatemoduleobject_for_wingdimodule@@ya?av?$ odsmartptr@vodrxmodule@@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_odolestoragemodule(void )" (?odrxcreatemoduleobject_for_odolestoragemodule@@y a?av?$odsmartptr@vodrxmodule@@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_customobjectsmodule(voi d)" (?odrxcreatemoduleobject_for_customobjectsmodule@@ ya?av?$odsmartptr@vodrxmodule@@@@xz)
../../../../../exe/releasewdi/odamfcapp.exe : fatal error lnk1120: 8 unresolved externals
error executing link.exe.
odamfcapp.exe - 9 error(s), 0 warning(s)
this is happening only in new version of library(dwg direct 1.12.04). in 1.12.00 this is working without any problem
waiting for a reply,
thanks in advance,
jahfer
last edited by jahfer; 3rd january 2005 at 12:37 amfff">.
this is a problem with the linker settings in the example application. the project file has been fixed. please download the nonlibs file and vc6 library archives again (the excustobjs library and gs world cache sample libs were also inadvertantly left out of the 1.12.04 posting).
quote:
originally posted by
this is a problem with the linker settings in the example application. the project file has been fixed. please download the nonlibs file and vc6 library archives again (the excustobjs library and gs world cache sample libs were also inadvertantly left out of the 1.12.04 posting).
hello,
i downloaded the new zip files, but still the problem persists.
--------------------------------------------------------------
--------------------configuration: odamfcapp - win32 releasewithdebuginfo--------------------
linking...
creating library ../../../../../exe/releasewdi/odamfcapp.lib and object ../../../../../exe/releasewdi/odamfcapp.exp
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_modelermodule(void)" (?odrxcreatemoduleobject_for_modelermodule@@ya?av? $odsmartptr@vodrxmodule@@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_exrastermodule(void)" (?odrxcreatemoduleobject_for_exrastermodule@@ya?av ?$odsmartptr@vodrxmodule@@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_winopenglmodule_worldca che(void)" (?odrxcreatemoduleobject_for_winopenglmodule_world cache@@ya?av?$odsmartptr@vodrxmodul
e@@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_winopenglmodule(void)" (?odrxcreatemoduleobject_for_winopenglmodule@@ya?a v?$odsmartptr@vodrxmodule@@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_wingdimodule(void)" (?odrxcreatemoduleobject_for_wingdimodule@@ya?av?$ odsmartptr@vodrxmodule@@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_odolestoragemodule(void )" (?odrxcreatemoduleobject_for_odolestoragemodule@@y a?av?$odsmartptr@vodrxmodule@@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_customobjectsmodule(voi d)" (?odrxcreatemoduleobject_for_customobjectsmodule@@ ya?av?$odsmartptr@vodrxmodule@@@@xz)
../../../../../exe/releasewdi/odamfcapp.exe : fatal error lnk1120: 7 unresolved externals
error executing link.exe.
odamfcapp.exe - 8 error(s), 0 warning(s)
----------------------------------------------------------------------
jahfer.
quote:
originally posted by
this is a problem with the linker settings in the example application. the project file has been fixed. please download the nonlibs file and vc6 library archives again (the excustobjs library and gs world cache sample libs were also inadvertantly left out of the 1.12.04 posting).
i have just downloaded the files (march 14, 2005) and the problem is still there. i have added "excustobjs.lib gs_wingdi.lib gs_winopengl.lib gs_winopengl_withworlddisplist.lib" to the linker section and now i am down to three unresolved externals:
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_modelermodule(void)" (?odrxcreatemoduleobject_for_modelermodule@@ya?av? $odsmartptr@vodrxmodule@@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_exrastermodule(void)" (?odrxcreatemoduleobject_for_exrastermodule@@ya?av ?$odsmartptr@vodrxmodule@@@@xz)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odsmartptr<class odrxmodule> __cdecl odrxcreatemoduleobject_for_odolestoragemodule(void )" (?odrxcreatemoduleobject_for_odolestoragemodule@@y a?av?$odsmartptr@vodrxmodule@@@@xz)
any help would be appriciated.
i downloaded the source and examples today, and am having the same issues. a resolution would be greatly appreciated.
f.
i am not sure that configuration "win32 releasewithdebuginfo" is alive.
do you really need it?
quote:
originally posted by wvk
i am not sure that configuration "win32 releasewithdebuginfo" is alive.
do you really need it?
hi,
change the build type from win32 releasewithdebuginfo to win32 release or win32 debug.
thanks & regards,
rajesh parameswaran
|