几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】link error with odamfcapp.exe (http://www.dimcax.com/hust/showthread.php?t=17066)

yang686526 2009-05-06 04:58 PM

【转帖】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.