| 
| Linker can not find libraries [message #157784] | Fri, 11 November 2005 11:03  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: kwallis.gmail.com 
 Hello.  I am using cygwin on WinXP.  I have 4 c++ projects, 3 of which
 create static libraries (libxxxx.a files), and the 4th creates an
 executable that I need to link with these other 3 libraries.  Under
 Properties in the linker section I have specified library include paths,
 and included the lib files to include, but the linker can not find my
 libraries.  I have tried a number of different options, relative paths,
 full paths etc, but none work.  I get the following in the console:
 
 Building target: RHP_InternalPool.exe
 Invoking: GCC C++ Linker
 g++ -L../../../POOL/Debug -L../../../UT/Debug -L../../NHL/Debug
 -oRHP_InternalPool.exe ./IP_Coach.o ./IP_Defenceman.o ./IP_Enforcer.o
 /IP_Goalie.o ./IP_Group.o ./IP_Player.o ./IP_Pool.o ./IP_Scorer.o
 /main.o -llibpool.a -llibut.a -llibnhl.a
 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin /bin/ld:
 cannot find -llibpool.a
 collect2: ld returned 1 exit status
 make: *** [RHP_InternalPool.exe] Error 1
 make: Target `all' not remade because of errors.
 Build complete for project RHP_InternalPool
 
 Any help would be appreciated.
 Thanks.
 |  |  |  | 
|  | 
Powered by 
FUDForum. Page generated in 0.24076 seconds