Re: [Dev-C++] Confusing Linker Error
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Napoleon A. <nah...@so...> - 2002-09-24 11:25:03
|
Thanks Elizabeth, Is there a special reason why WinLib.a shold be renamed? and after renaming WinLib.a to "libWinLib.a" why is it not used again ? Thanks Napoleon. ----- Original Message ----- From: "Elizabeth Barham" <sog...@ya...> To: <dev...@li...> Sent: Monday, September 23, 2002 7:58 PM Subject: Re: [Dev-C++] Confusing Linker Error > "Napoleon Ahiable" <nah...@so...> writes: > > > g++.exe Calc.o Commander.o Ctrl.o FunTab.o LoadDlg.o Main.o MenuTable.o = > > Nodes.o Output.o Parser.o SaveDlg.o Scanner.o Serial.o Store.o SymTab.o = > > View.o AboutDlg.o PortCalck.res -o "PortCalk.exe" -L"C:\MinGW\lib" = > > -L"C:\Projects\WinLib" -I"C:\MinGW\include" -I"C:\MinGW\include\c++" = > > -I"C:\MinGW\include" -I"C:\Projects\WinLib" -D_WIN32_IE=3D0x0300 = > > -DSTRICT -s -mwindows > > This is a wild guess, but if WinLib.a is in C:\Projects\WinLib, then > shouldn't it be on the command line? Or, better yet, could it be > renamed "libWinLib.a" and then -lWinLib added onto the command line > after the -L"C:\Projects\WinLib" ? Especially if that is where all of > your undefined symbols are coming from. > > Elizabeth --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.389 / Virus Database: 220 - Release Date: 16/09/2002 |