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