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

about example odreadex
about example odreadex
first,i double click dd_nonlibs\projectfiles\win32\msvc6\examples\odrea dex\odreadex.dsp.
second i set the include and lib directories.
then i add every lib's name (which under dd_vc6\lib\vc6md)to project-setting-link-object/library modules.
last i build the odreadex.exe.
the result is as follows:
compiling...
exgirasterimage.cpp
exhostappservices.cpp
exsystemservices.cpp
exundocontroller.cpp
odfilebuf.cpp
dbdumper.cpp
exprotocolextension.cpp
giworlddrawdumper.cpp
odreadex.cpp
generating code...
compiling password support for r18 drawings
linking...
dd_vc6md_db.lib(dbsymboltablerecord.obj) : error lnk2005: "public: bool __thiscall oddbsymboltablerecord::isdependent(void)const " (?isdependent@oddbsymboltablerecord@@qbe_nxz) already defined in dd_db_dll.lib(dd_db.dll)
dd_vc6md_db.lib(dbsymboltablerecord.obj) : error lnk2005: "public: bool __thiscall oddbsymboltablerecord::isresolved(void)const " (?isresolved@oddbsymboltablerecord@@qbe_nxz) already defined in dd_db_dll.lib(dd_db.dll)
dd_vc6md_db.lib(dblayout.obj) : error lnk2005: "public: class odstring __thiscall oddblayout::getlayoutname(void)const " (?getlayoutname@oddblayout@@qbe?avodstring@@xz) already defined in dd_db_dll.lib(dd_db.dll)
dd_vc6md_db.lib(dbdimassoc.obj) : error lnk2005: "public: enum oddbdimassoc::rotatedtype __thiscall oddbdimassoc::rotateddimtype(void)const " (?rotateddimtype@oddbdimassoc@@qbe?aw4rotatedtype@ 1@xz) already defined in dd_db_dll.lib(dd_db.dll)
dd_vc6md_db.lib(dbdimassoc.obj) : error lnk2005: "public: long __thiscall oddbdimassoc::associativityflag(void)const " (?associativityflag@oddbdimassoc@@qbejxz) already defined in dd_db_dll.lib(dd_db.dll)
dd_vc6md_db.lib(dbdimassoc.obj) : error lnk2005: "public: bool __thiscall oddbdimassoc::transspace(void)const " (?transspace@oddbdimassoc@@qbe_nxz) already defined in dd_db_dll.lib(dd_db.dll)
dd_vc6md_db.lib(dbdimassoc.obj) : error lnk2005: "public: class odsmartptr<class oddbosnappointref> __thiscall oddbdimassoc:snappointref(enum oddbdimassoc::associativity)const " (?osnappointref@oddbdimassoc@@qbe?av?$odsmartptr@v oddbosnappointref@@
@@w4associativity@1@@z) already defined in dd_db_dll.lib(dd_db.dll)
dd_vc6md_db.lib(dbabstractviewtablerecord.obj) : error lnk2005: "public: double __thiscall oddbabstractviewtablerecord::height(void)const " (?height@oddbabstractviewtablerecord@@qbenxz) already defined in dd_db_dll.lib(dd_db.dll)
dd_vc6md_db.lib(dbabstractviewtablerecord.obj) : error lnk2005: "public: double __thiscall oddbabstractviewtablerecord::width(void)const " (?width@oddbabstractviewtablerecord@@qbenxz) already defined in dd_db_dll.lib(dd_db.dll)
dd_vc6md_db.lib(dbabstractviewtablerecord.obj) : error lnk2005: "public: class odgepoint3d __thiscall oddbabstractviewtablerecord::target(void)const " (?target@oddbabstractviewtablerecord@@qbe?avodgepo int3d@@xz) already defined in dd_db_dll.lib(dd_d
b.dll)
............
..............
dd_vc6md_root.lib(gicontext.obj) : error lnk2005: "public: virtual void __thiscall odgicontext:lotstyle(class oddbstub *,class odpsplotstyledata &)const " (?plotstyle@odgicontext@@ubexpavoddbstub@@aavodpsp lotstyledata@@@z) already defined in dd_ro
ot_dll.lib(dd_root.dll)
../../../../../exe/release/odreadex.exe : fatal error lnk1169: one or more multiply defined symbols found
error executing link.exe.
creating browse info file...
odreadex.exe - 947 error(s), 0 warning(s)
windowsxp + vc6.0
giving me a hand is appreciated.
you've mixed dll & lib versions.
better use \projectfiles\win32\msvc6\allexamples.dsw workspace.
(or projectfiles\win32\msvc6\allexamplesdll.dsw respectively.)
don't change the projects - they are expected to work as is.
vladimir
thank you.
thank you very much!
did you mean that i should not add anything to project-setting-link-object/library modules, and just set the lib path, if i use \projectfiles\win32\msvc6\allexamples.dsw workspace?
if you unpacked libraries in the same folder as dd_nonlibs, you should not change even library path.
vladimir
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
 


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

高级搜索
显示模式

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

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



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


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