几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » AutoCAD二次开发 » DirectDWG
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


 
 
主题工具 搜索本主题 显示模式
旧 2009-05-06, 04:57 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
 


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】link error in odamfcapp yang686526 DirectDWG 0 2009-05-06 04:56 PM
【转帖】i wonder whether the fucntion of selection in odamfcapp sa yang686526 DirectDWG 0 2009-05-06 03:36 PM
【转帖】error in linker using odamfcapp in dwgdirect 1.14 yang686526 DirectDWG 0 2009-05-05 09:37 AM
【转帖】dwgdirect 2.6.3 odamfcapp fail to produce a svg yang686526 DirectDWG 0 2009-05-05 08:23 AM
【转帖】access violation crash in recoverfile9file.dxf0 yang686526 DirectDWG 0 2009-05-04 03:29 PM


所有的时间均为北京时间。 现在的时间是 05:06 AM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多