Re: [Dev-C++] Newbie question on issue / bug reporting
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2005-08-11 16:32:20
|
Note that Libs=3D is empty and that the linking is done using the full library name (excluding path). Note that the libraries are not specified with the -l parameter, so gcc will not care about any library paths (-Lxxx). An expected link line should have looked like: gcc ... -L"C:/Dev-Cpp/lib -lole32 -loleaut32 /Per W On Thu, 11 Aug 2005, Steve Higham wrote: > sudhir kumar wrote: > > [Project] > > Libs=3D > > Linker=3Dlibole32.a_@@_liboleaut32.a _@@_ > > This is now portable. However is does not compile. The compile log is as > follows: > > Compiler: Default compiler > > Building Makefile: "C:\Documents and Settings\Steve Higham\My > Documents\Dev\ConsoleTest\Makefile.win" > > Executing make clean > > rm -f main.o ConsoleTest.exe > > g++.exe -D__DEBUG__ -c main.cpp -o main.o > -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" > -I"C:/Dev-Cpp/include/c++/3.4.2/backward" > -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" > -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -g3 > > g++.exe -D__DEBUG__ main.o -o "ConsoleTest.exe" -L"C:/Dev-Cpp/lib" > libole32.a liboleaut32.a -g3 > > g++.exe: libole32.a: No such file or directory > > g++.exe: liboleaut32.a: No such file or directory > > make.exe: *** [ConsoleTest.exe] Error 1 > > Execution terminated > > > I don't understand why this fails. The -L switch identifies the correct > directory (C:/Dev-Cpp/lib) and the lib names are correct. This is the iss= ue. > > It's probably not the most important issue in the world. But it would be > nice to resolve it. > > Kind Regards, > > Steve > > -- > > Steve Higham > > =9B st...@sj... <mailto:st...@sj...> |