查看单个帖子
旧 2009-05-06, 07:04 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】odamfcapp

odamfcapp
odamfcapp
when i try and build the odamfcapp as a stand-alone application i am getting unresolved external symbols. (works fine inside of allexamples)
linking...
odcurvefunctions.lib(odcurvefunctionsmodule.obj) : warning lnk4075: ignoring '/editandcontinue' due to '/incremental:no' specification
link : warning lnk4098: defaultlib 'msvcrt' conflicts with use of other libs; use /nodefaultlib:library
link : warning lnk4199: /delayloadleacc.dll ignored; no imports found from oleacc.dll
acissavedialog.obj : error lnk2001: unresolved external symbol "public: static class odrxclass * odassurfbody::g_pdesc" (?g_pdesc@odassurfbody@@2pavodrxclass@@a)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odrxmodule * __cdecl odrxcreatemoduleobject_for_odrecomputedimblockmodu le(char const *)" (?odrxcreatemoduleobject_for_odrecomputedimblockmo dule@@yapavodrxmodule@@pbd@z)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odrxmodule * __cdecl odrxcreatemoduleobject_for_bitmapmodule(char const *)" (?odrxcreatemoduleobject_for_bitmapmodule@@yapavod rxmodule@@pbd@z)
odamfcapp.obj : error lnk2001: unresolved external symbol "class odrxmodule * __cdecl odrxcreatemoduleobject_for_autosurfservicesmodule( char const *)" (?odrxcreatemoduleobject_for_autosurfservicesmodul e@@yapavodrxmodule@@pbd@z)
../../../../../exe/vc8/debug/odamfcapp.exe : fatal error lnk1120: 4 unresolved externals
any suggestions?
thanks,
paul
please, compare mfcapp dependency from allexamples and your own project, also compare list of *.lib files on the link tab of project properties.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)