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

dwgdirect libs on macintosh
dwgdirect libs on macintosh
i'm just getting started making the switch from opendwg to dwgdirect. i downloaded cw8shared.sit, no problem. the documentation states that static libs are available for all platforms, but so far i have been unable to find static libs for mac. also, even when i do #define _toolkit_in_dll_, i still get 101 undefined symbols when linking the odreadex sample program, using metrowerks codewarrior 9.3 under osx. i feel that i'm just missing something...
what library files do i need to add to my project, or what part of the documentation did i simply miss?
k. lathan
the libraries you are using are gcc compiled and your development environment is codewarrior.
hence the errors.
cw compiled libs seem to be available only for carbon target and not macho.
i too would like to get a codewarrior 9.x compiled macho libraries of dwgdirect.
static libs for mac
actually, i would be happy to have carbon libs for codewarrior. the app i am developing has been done according to carbon specs for years, as we have many customers who are reluctant to leave the classic environment, and other customers who prefer osx. but codewarrior does not seem happy with the gcc libs.
but even when i am using the shared libs, i still get link errors, so i am probably missing something vital.
any clues would be welcome.
we'll look into providing mach-0 libs built using codewarrior.
what linker errors are you getting using the cw8 shared libs?

shared lib problem
i am trying to run the odreadex sample program using metrowerks 9.3 in os x 10.2.8, and in despesration, on a different machine with os x 10.3.7.
two linker things: one is actually a set of warnings for multiple definitions, for example odgesurface::__vt in dd_ge.shlb previously defined in dd_db.shlb. that's not so bad; it doesn't seem to stop the app from running.
but on launch, the dynamic linker issues a statement:
the application "(null)" could not be launched because of a shared library error.
"1<dwgreader><dd_alloc.shlb><msl_all_carbon.shlb>< >"
as nearly as i can interpret this message, it looks as though something within msl_all_carbon.shlb is trying to import an entry point from an unnamed library.
i have copies of all of the shared libraries that i have explicitly linked to the app present in the same folder where the app resides.
ken lathan
same problem
i have the same problem but using codewarrior 8.3.
also: "i have copies of all of the shared libraries that i have explicitly linked to the app present in the same folder where the app resides."
but with the same error.
do you solve this problem?
are there some codewarriors projects to guide how are the libraries to be linked?
thank you
quote:
originally posted by ken lathan
i am trying to run the odreadex sample program using metrowerks 9.3 in os x 10.2.8, and in despesration, on a different machine with os x 10.3.7.
two linker things: one is actually a set of warnings for multiple definitions, for example odgesurface::__vt in dd_ge.shlb previously defined in dd_db.shlb. that's not so bad; it doesn't seem to stop the app from running.
but on launch, the dynamic linker issues a statement:
the application "(null)" could not be launched because of a shared library error.
"1<dwgreader><dd_alloc.shlb><msl_all_carbon.shlb>< >"
as nearly as i can interpret this message, it looks as though something within msl_all_carbon.shlb is trying to import an entry point from an unnamed library.
i have copies of all of the shared libraries that i have explicitly linked to the app present in the same folder where the app resides.
ken lathan
our odvectorizeex sample project links in msl_all_carbon.shlb and msl_runtime_ppc.lib, in addition to our dwgdirect shared libraries. our faq is not correct--we do not link in msl_appruntime_ppc.lib. also, our odvectorizeex project specifies __start for it's main entry point, and the initialization and termination points are blank. you might try changing your project settings to this, to see if that makes any difference.
if this does not help, please send mail to and we will provide further assistance.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
 


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

高级搜索
显示模式

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

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

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】dwgdirect gcc libs for hpux and ai yang686526 DirectDWG 0 2009-05-05 08:33 AM
【转帖】dwf 7.3 tk compile libs yang686526 DirectDWG 0 2009-05-04 08:15 PM
【转帖】difference between libs of diffent edition yang686526 DirectDWG 0 2009-05-04 07:27 PM
【转帖】dd 1.11 does not compile in debug using vc2003mt libs - memc yang686526 DirectDWG 0 2009-05-04 07:01 PM
【转帖】2003 libs for version 2.2 yang686526 DirectDWG 0 2009-05-04 02:56 PM


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


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