高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|