linking with vs.net 2003
linking with vs.net 2003
hi, i'm trying to link an mfc app using vs.net 2003. i'm trying to use the vs2003md 1.08 libraries. i keep getting this stupid linker error:
"fatal error lnk1104: cannot open file 'msvcirt.lib'"
please help me! i'm sure that someone has gotten this to work!?!
here are my settings (the ones i think are relavent):
c++:
/d "_debug"
/d "enable_dwf_export_support"
/d "no_3party_acis"
/d "_mbcs"
/mdd
/gr
/gx
linker:
/libpath:"c:\dev\ci2\opendwg\vc2003md"
/nodefaultlib:"msvcrt"
/delayload:"oleacc.dll"
/debug
dd_vc2003md_acis.lib
dd_vc2003md_db.lib
dd_vc2003md_ge.lib
dd_vc2003md_gs.lib
dd_vc2003md_root.lib
dd_vc2003md_dwftoolkit.lib
dd_vc2003md_dwfexport.lib
dd_vc2003md_zlib.lib
dd_vc2003md_zip.lib
i have had this same error both in 2002 and now 2003.net. i believe the file is a vc runtime library. i copied from vc6, placed in with the dwg libraries and explicitly added it to the included libraries. i previously notifed opendwg about this when i found it in 2002.net
hope this helps,
regards,
ron.
thanks ron. i thought of that and hoped there was a better way. i'll give it a shot. maybe it will get me up a running, although it seems weird to link with an older version of the runtime library.
did you use stl in your program? last night i was laying in bed thinking about this and i realize that i'm using stl elsewhere in my app. could that be causing this problem?
we were including iostream.h in one file in our ge library--this was causing the problem. we have a new set of vc 2003 ge libraries that are built without iostream.h--send an e-mail to
support@opendwg.org and we will send you a copy.
thanks for the help in resolving this, ron.