![]() |
【转帖】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. |
所有的时间均为北京时间。 现在的时间是 06:08 PM. |