几何尺寸与公差论坛------致力于产品几何量公差标准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-07, 05:52 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】unresolved Token Linking Odamfcapp

unresolved token linking odamfcapp
unresolved token linking odamfcapp
i have compiled and now am trying to link the sample odamfcapp. i started out with 43 unresolved tokens on the link but after adding all the libraries in the vc2002mt directory, i have gotten rid of all them except one.
link : error lnk2020: unresolved token (0a000338) ?g_pdesc@odwinntcrypt@@2pavodrxclass@@a
is there another library i need to be include? how do i get rid of this error message?
any help will be greatly appreciated.
steve
if you register crypt services in your initialization code you need to link with winntcrupt.cpp from examples/win/crypt.
sergey slezkin
sergey, thanks for the reply.
i added winntcrypt.cpp and winntcrypt.h to the project, recompiled and relinked and now i get 45 unresolved tokens. the list of them are in the attachment.
i also have been getting this message: "link : warning lnk4098: defaultlib 'libcmt' conflicts with use of other libs; use /nodefaultlib:library" but when i use the /nodefault switch i get only one message on the link:
link : fatal error lnk1561: entry point must be defined
what do i need to do to get the link to work?
thanks
steve
attached files (11.6 kb, 3 views)

projectfiles folder contains project file for msvc6 and msvc2003.
i don't know which of about 30 modules you already included but based on unresolved symbols list you need to add:
exhostappservices.cpp
exsystemservices.cpp
exgigdigeometry.cpp
from msvc6 .dsp file:
source=..\..\..\..\..\examples\exservices\exgirast erimage.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exrender\win\exgsbi tmapdevice.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exrender\win\exgsgd idevice.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exrender\win\exgsgd ivectorizedevice.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exrender\win\exgsop engldevice.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exrender\win\exgsop englvectorizedevice.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exrender\win\exgssc reendevice.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exrender\win\exgswi n32device.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exrender\win\gsdevi cemanager.cpp
# end source file
# end group
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\appau ditinfo.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\audit dlg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\child frm.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\class esdlg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\crypt\cryptlibcrypt .cpp
# prop exclude_from_build 1
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\dlgre sizehelper.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\dwgdo ctemplate.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\dwgvi ew.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\dwgvi ewer.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exservices\exgienha ncedmetafile.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exrender\win\exgigd igeometry.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exservices\exhostap pservices.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exservices\exodstor age.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exservices\exsystem services.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exservices\exundoco ntroller.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\filed ependencydlg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\findo bjectdlg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\gripp er.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\light sdlg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\listf iller.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\loada pps.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\loadl inetypes.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\lwset tingsdlg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\mainf rm.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\mater ialsdlg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\named viewsdlg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\objpr opdlg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\odala yerpropmanagerdlg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\odamf capp.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\odamf cappdoc.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\odatr ianparamsdlg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\exservices\odfilebu f.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\passw orddlg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\publi shfiledlg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\setac tivelayoutdlg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\stdaf x.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\summd lg.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\treef iller.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\useri oconsole.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\vardi alog.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\crypt\winntcryp t.cpp
# end source file
# begin source file
source=..\..\..\..\..\examples\win\odamfcapp\xrefv iewdlg.cpp
sergey slezkin
sergey,
i am still not having much luck with compiling odamfcapp. i think i have so much included that i need to start over from scratch and use the vc6 project as a template for creating my project in vs 2002 (i couldn't find the vs 2003 project you referenced... if you can point me to that, that would be even better.).
but, i have been able to get some of the other examples to compile by referring to their vc6 project and they may be enough to help me do what i need to do.
thanks very much for your help.
steve
sorry, vc2003 project files were not included into 1.10u non_libs.zip
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


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

高级搜索
显示模式

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

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

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】odamfcapp linking with vc 2003 libs yang686526 DirectDWG 0 2009-05-06 07:01 PM
【转帖】odamfcapp compiled error, please help yang686526 DirectDWG 0 2009-05-06 06:57 PM
【转帖】odamfcapp compilation yang686526 DirectDWG 0 2009-05-06 06:57 PM
【转帖】link errors- odamfcapp, dd-vc2003dbg, v1.14.02 yang686526 DirectDWG 0 2009-05-06 05:00 PM
【转帖】link error while building odamfcapp in 1.12.04 yang686526 DirectDWG 0 2009-05-06 04:57 PM


所有的时间均为北京时间。 现在的时间是 01:18 PM.


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