|
From: kaya13 <fai...@gm...> - 2012-04-24 13:51:42
|
Hello Everybody. Im kind of new to Mingw and all. I have almost the same problem recently, read all the replies and still couldnt find a solution. Im using Eclipse and trying to add Unittest++ library to my project. I added the library header files to minGW/include and *.a file to mingw/lib. I think i have done the required settings at project properties, have chosen include and library paths. The thing I wanna add is, I only have one library file, and it is " UnitTest++.a " file, dont have any other dll file or something. Somehow, i get the error that says; >>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 >>collect2: ld returned 1 exit status >>Build error occurred, build is stopped http://mingw-users.1079350.n2.nabble.com/file/n7495953/hata.png Any help will greatly appreciated. Have a nice one... -- View this message in context: http://mingw-users.1079350.n2.nabble.com/Can-t-use-external-Libs-tp6278002p7495953.html Sent from the MinGW-users mailing list archive at Nabble.com. |