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

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】build error for odrx-define-static-appmodule (http://www.dimcax.com/hust/showthread.php?t=15304)

yang686526 2009-05-04 05:11 PM

【转帖】build error for odrx-define-static-appmodule
 
build error for odrx_define_static_appmodule
build error for odrx_define_static_appmodule
i am new user if dwgdirexct, i try to build example singledoc with vc2002, but there is a link error as shown bellow,
singledoc.obj : error lnk2001: unresolved external symbol "class odrxmodule * __cdecl odrxcreatemoduleobject_for_wingdimodule(class odstring const &)" (?odrxcreatemoduleobject_for_wingdimodule@@yapavod rxmodule@@abvodstring@@@z)
../../../../../exe/debug/singledoc.exe : fatal error lnk1120: 1 unresolved externals
then i try to write a new application, there is anthor build error when call odrx_define_static_appmodule, error as shown bellow,
d:\temp\testdwgdirect\testdwgdirect.cpp(33) : error c2440: 'initializing' : cannot convert from 'wchar_t [10]' to 'const odchar *'
types pointed to are unrelated; conversion requires reinterpret_cast, c-style cast or function-style cast
there is no example project files for vc2002.
you may open \projectfiles\win32\msvc6\allexamples.dsw
upgrade it to vc2002, and fix library names manually.
vladimir


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