高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】link error with odamfcapp.exe
link error with odamfcapp.exe
link error with odamfcapp.exe
hello ,i build odamfcapp program in vc6, but it shows 1 linking error
quote:
--------------------configuration: odamfcapp - win32 releasewithdebuginfo--------------------
linking...
link : warning lnk4098: defaultlib "msvcrtd" conflicts with use of other libs; use /nodefaultlib:library
link : warning lnk4098: defaultlib "libc" conflicts with use of other libs; use /nodefaultlib:library
odamfcapp.obj : error lnk2001: unresolved external symbol "class odrxmodule * __cdecl odrxcreatemoduleobject_for_dwf7importmodule(class odstring const &)" (?odrxcreatemoduleobject_for_dwf7importmodule@@yap avodrxmodule@@abvodstring@@@z)
odamfcappdoc.obj : error lnk2001: unresolved external symbol "void __cdecl exportdwf(class dwexportparams const &)" (?exportdwf@@yaxabvdwexportparams@@@z)
odamfcappdoc.obj : error lnk2001: unresolved external symbol "void __cdecl export3ddwf(class dwf3dexportparams const &)" (?export3ddwf@@yaxabvdwf3dexportparams@@@z)
......
......
../../../../../exe/releasewdi/odamfcapp.exe : fatal error lnk1120: 105 unresolved externals
执行 link.exe 时出错.
odamfcapp.exe - 1 error(s), 0 warning(s)
i set vc6mdd as the library. the lib is created in 2007-9-26, so i think it is version 2.4.2.
is there something wrong?
thanks in advance!
attached files
do you really need "releasewithdebuginfo" configuration?
if yes, then copy libraries list from "release" settings.
vladimir
quote:
originally posted by wvk
do you really need "releasewithdebuginfo" configuration?
if yes, then copy libraries list from "release" settings.
i set the configuration to "release" mode and it works.
thank you.
|