c++ - Where are the debug libraries?
- dan (26/26) Jan 09 2004 Trying out a serial port demo, and I get a linker prob.:
- dan (8/8) Jan 12 2004 Please, I really need help with this; 3 days gone and getting nowhere.
- Walter (24/49) Jan 14 2004 ..\Serial.cpp -cpp -Ae -mn -C -WA -S -3 -a8 -c -gf -D_DEBUG -D_CONSOLE=1
- dan (1/5) Jan 14 2004 Allright! YES! Works! Thanks!
- Bruce Dodson (6/8) Jan 15 2004 I don't have those. What should I download to get the debug
- Walter (4/7) Jan 17 2004 They're on the DMC++ CD, along with source to the runtime library (and l...
-
Scott Michel
(9/17)
Jan 17 2004
- Matthew (10/27) Jan 17 2004 And you get the STLSoft libraries. ;)
- Bruce Dodson (3/3) Jan 18 2004 Having used the Symantec C++ IDDE for several years, I have to agree tha...
- Walter (4/7) Jan 14 2004 Also, you can look in \dm\include\crtdbg.h, and you'll see that it's cal...
Trying out a serial port demo, and I get a linker prob.: sc main.cpp -cpp -Ae -mn -C -WA -S -3 -a8 -c -gf -D_DEBUG -D_CONSOLE=1 -IG:\dm\stlport\stlport -IG:\dm\include -IG:\boost-1.30.2 -IG:\boost-1.30.2\boost -omain.obj sc ..\Serial.cpp -cpp -Ae -mn -C -WA -S -3 -a8 -c -gf -D_DEBUG -D_CONSOLE=1 -IG:\dm\stlport\stlport -IG:\dm\include -IG:\boost-1.30.2 -IG:\boost-1.30.2\boost -o..\Serial.obj link /CO /NOI /DE /NOPACKF /XN /NT /ENTRY:mainCRTStartup /BAS:4194304 /A:512 test_serial.LNK Error: G:\BACnet\RS485\test\..\Serial.OBJ(Serial) (53805068): Symbol Undefined __CrtDbgReport Lines Processed: 256728 Errors: 1 Warnings: 0 Build failed Doing a google search for __CrtDbgReport I found this: ------------------------------------------------- Routine Required Header Compatibility _CrtDbgReport <crtdbg.h> Win NT, Win 95 >> You need to link to one of the following libraries: LIBCD.LIB Single thread static library, debug version LIBCMTD.LIB Multithread static library, debug version MSVCRTD.LIB Import library for MSVCRTD.DLL, debug version ------------------------------------------------- But I can't find any of these in dm\lib, or anywhere in my puter.. Or, well, I did find msvcrtd.dll in windows\system, but then I get a linker error saying msvcrtd.LIB not found... TIA
Jan 09 2004
Please, I really need help with this; 3 days gone and getting nowhere. link /CO /NOI /DE /NOPACKF /XN /NT /ENTRY:WinMainCRTStartup /BAS:4194304 /A:512 hello.LNK Error: G:\BACnet\RS485\test\Serial.OBJ(Serial) (82783638): Symbol Undefined __CrtDbgReport Errors: 1 Warnings: 0 Build failed Thanks
Jan 12 2004
"dan" <dan_member pathlink.com> wrote in message news:btn7qq$1to0$1 digitaldaemon.com...Trying out a serial port demo, and I get a linker prob.: sc main.cpp -cpp -Ae -mn -C -WA -S -3 -a8 -c -gf -D_DEBUG -D_CONSOLE=1 -IG:\dm\stlport\stlport -IG:\dm\include -IG:\boost-1.30.2 -IG:\boost-1.30.2\boost -omain.obj sc..\Serial.cpp -cpp -Ae -mn -C -WA -S -3 -a8 -c -gf -D_DEBUG -D_CONSOLE=1-IG:\dm\stlport\stlport -IG:\dm\include -IG:\boost-1.30.2 -IG:\boost-1.30.2\boost -o..\Serial.obj link /CO /NOI /DE /NOPACKF /XN /NT /ENTRY:mainCRTStartup /BAS:4194304/A:512test_serial.LNK Error: G:\BACnet\RS485\test\..\Serial.OBJ(Serial) (53805068): SymbolUndefined__CrtDbgReport Lines Processed: 256728 Errors: 1 Warnings: 0 Build failed Doing a google search for __CrtDbgReport I found this: ------------------------------------------------- Routine Required Header Compatibility _CrtDbgReport <crtdbg.h> Win NT, Win 95 >> You need to link to one of the following libraries: LIBCD.LIB Single thread static library, debug version LIBCMTD.LIB Multithread static library, debug version MSVCRTD.LIB Import library for MSVCRTD.DLL, debug version ------------------------------------------------- But I can't find any of these in dm\lib, or anywhere in my puter.. Or, well, I did find msvcrtd.dll in windows\system, but then I get alinkererror saying msvcrtd.LIB not found...To find out which library things are in: cd \dm\lib grep -i crtdbgreport *.* which gives the following: SNDD.LIB:_CrtDbgReportS./ SNDD.LIB:.__CrtDbgReport.SCCRT70D.DLL SNDD.LIB:_CrtDbgReport... SNDD.LIB: __cpumode5..__CrtDbgReport.. SNDD.LIB: splitpat!.7.__p__crtBreakAlloc!..._CrtDbgReport!.. snnd.LIB:.__CrtDbgReport snnd.LIB:.__CrtDbgReport. snnd.LIB:_CrtDbgReport. snnd.LIB:_CrtDbgReport: String too long or IO Error snnd.LIB:_CrtDbgReport: String too long or IO Error snnd.LIB:.__CrtDbgReport snnd.LIB:.__CrtDbgReportmO So, you need to link in snnd.lib or sndd.lib. Looking at your command line, try snnd.lib, which is the 'debug' build of snn.lib.
Jan 14 2004
cd \dm\lib grep -i crtdbgreport *.* So, you need to link in snnd.lib or sndd.lib. Looking at your command line, try snnd.lib, which is the 'debug' build of snn.lib.Allright! YES! Works! Thanks!
Jan 14 2004
I don't have those. What should I download to get the debug libraries; or should I dig up the old ones from my SC++ 7.5 CD-ROM? Thanks, BruceSo, you need to link in snnd.lib or sndd.lib. Looking atyour command line,try snnd.lib, which is the 'debug' build of snn.lib.
Jan 15 2004
"Bruce Dodson" <bruce_dodson_except_this_part hotmail.com> wrote in message news:bu7p3t$1sk0$1 digitaldaemon.com...I don't have those. What should I download to get the debug libraries; or should I dig up the old ones from my SC++ 7.5 CD-ROM?They're on the DMC++ CD, along with source to the runtime library (and lots of other cool stuff!).
Jan 17 2004
Walter wrote:"Bruce Dodson" <bruce_dodson_except_this_part hotmail.com> wrote in message news:bu7p3t$1sk0$1 digitaldaemon.com...<shameless plug> It's more than worth the money to purchase the CD. When you consider that for $25, you get a full-featured compiler and none of the MS VC/C++ environment bloat. Sure, there are some rough edges here and there. No, it's not open source, but Walter is pretty responsive, even if I've been a bit of a burr under the saddle recently. </shameless plug>I don't have those. What should I download to get the debug libraries; or should I dig up the old ones from my SC++ 7.5 CD-ROM?They're on the DMC++ CD, along with source to the runtime library (and lots of other cool stuff!).
Jan 17 2004
"Scott Michel" <scottm cs.ucla.edu> wrote in message news:bud47t$1kk2$1 digitaldaemon.com...Walter wrote:And you get the STLSoft libraries. ;) -- Matthew Wilson Director, Synesis Software (www.synesis.com.au) STLSoft moderator (http://www.stlsoft.org) Contributing editor, C/C++ Users Journal (www.synesis.com.au/articles.html#columns) -----------------------------------------------------"Bruce Dodson" <bruce_dodson_except_this_part hotmail.com> wrote in message news:bu7p3t$1sk0$1 digitaldaemon.com...<shameless plug> It's more than worth the money to purchase the CD. When you consider that for $25, you get a full-featured compiler and none of the MS VC/C++ environment bloat. Sure, there are some rough edges here and there. No, it's not open source, but Walter is pretty responsive, even if I've been a bit of a burr under the saddle recently. </shameless plug>I don't have those. What should I download to get the debug libraries; or should I dig up the old ones from my SC++ 7.5 CD-ROM?They're on the DMC++ CD, along with source to the runtime library (and lots of other cool stuff!).
Jan 17 2004
Having used the Symantec C++ IDDE for several years, I have to agree that it is an ABSOLUTE STEAL to get those same tools (updated) for $25. But, by the same token, I already have (most of) them. /bruce
Jan 18 2004
"dan" <dan_member pathlink.com> wrote in message news:btn7qq$1to0$1 digitaldaemon.com...------------------------------------------------- Routine Required Header Compatibility _CrtDbgReport <crtdbg.h> Win NT, Win 95 >>Also, you can look in \dm\include\crtdbg.h, and you'll see that it's called by the _ASSERT or _ASSERTE macro.
Jan 14 2004