So I've recently began using the C/C++ module of the Netbeans develpment software and seem to be having trouble linking a particular library file, a .lib file to be exact. The problem arises when I try to build the whole project; I get a message like this:
g++.exe -o dist/Debug/Cygwin-Windows/slm build/Debug/Cygwin-Windows/main.o -LC:/Users/Jacob/SLM -lSlmDrvr.lib
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lSlmDrvr.lib
collect2: ld returned 1 exit status
My question is, why can't the linker find that library?, or, if I'm really stupid (which isn't stretching it much), is that even the problem to begin with?
I've done everything obvious, ie changing the Path in the system variables on my machine, placing that library file in every folder that contains libraries on my machine, adding the directory the file is in to the linker's search path. Any suggestions?
-----------------------------------------------------------------------------------------------------
Evreyone starts out ignorant.