|
From: Greg C. <gch...@sb...> - 2012-04-24 17:32:23
|
On 2012-04-24 13:51Z, kaya13 wrote: [...] >>>g++ -LC:\MinGW\lib -oParseStateMachine.exe src\tok.o src\time.o > src\sentence.o src\rs232.o src\parser.o >>src\parse.o src\info.o src\gmath.o > src\context.o Tests\tests.o -lC:\MinGW\lib\libUnitTest++.a >>>C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: > cannot find ->>lC:\MinGW\lib\libUnitTest++.a '-lxxx' links a library called 'libxxx': the 'lib' prefix is implicitly added...so, instead of -lC:\MinGW\lib\libUnitTest++.a try -lUnitTest++.a You don't need to specify the path here, because you already specified it with '-LC:\MinGW\lib'. (That path ought to be searched by default anyway, so you should be able to omit '-LC:\MinGW\lib'.) |