几何尺寸与公差论坛------致力于产品几何量公差标准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 in dwgdirect 1.08 debug lib (http://www.dimcax.com/hust/showthread.php?t=17058)

yang686526 2009-05-06 04:55 PM

【转帖】link error in dwgdirect 1.08 debug lib
 
link error in dwgdirect 1.08 debug lib
link error in dwgdirect 1.08 debug lib
hi, anyone has any ideal why i had linking problem in the debug version (ok in release version). the error message is:
dd_vc6md_acis.lib(lqi.obj) : fatal error lnk1202
can anyone be able to help me.
thanks.
i have this problem too
while build odamdiapp sample project, the following link error occurs:
dd_vc6md_acis.lib(lqi.obj) : fatal error lnk1202: "d:\dwgdirect\projectfiles\win32\msvc6\examples\od amdiapp\debug\vc60.pdb" is missing debugging information for referencing module
error executing link.exe.
can anybody help me? thanks.
ycf888
search for all those vc60.pdb "critters" and delete them all. then do a full rebuild.
if that doesn't work - there is a setting on one of the option tags that fixes it too.
it doesn't work
quote:
originally posted by walt lounsbury
search for all those vc60.pdb "critters" and delete them all. then do a full rebuild.
if that doesn't work - there is a setting on one of the option tags that fixes it too.
have you built odamdiapp debug version successfully? i deleted all the debug folder and rebuild all, but it just doesn't work.
ycf888
see the attached image of the config tab for this. be sure it points to the correct location.
attached images (61.8 kb, 32 views)

cool! it works.
quote:
originally posted by walt lounsbury
see the attached image of the config tab for this. be sure it points to the correct location.
walt, it works now, with 408 warnings. one of them is:
warning lnk4099: pdb "vc60.pdb" was not found with "../../../../../lib/vc6mdd\dd_vc6md_acis.lib" or at "d:\ycf\opendwg\dwgdirect\exe\debug\vc60.pdb"; linking object as if no debug info
all the warnings are lnk4099.
further question: another example, odamfcapp, has 0 warning. why? have you seen these warnings before?
ycf888
add msvcrt.lib to the 'ignore libraries' list.
i solve it
add msvcrt.lib to the 'ignore libraries' list doesn't help. i compared the link options of odamdiapp and odamfcapp carefully, and found that the different is "/pdbtype:sept". so i went to settings->link->debug and check "seperate types", then no warning at all.
thank you for your help.
ycf888


所有的时间均为北京时间。 现在的时间是 06:54 AM.