Can't find Library when Linking Project

I’m using the Momentics IDE with 6.2.0. I’ve configured the lib path
which is the proper location for my library and I’ve configured the LIBS
LIBS+=-Bstatic libinimgrproxy.01.a
which is the proper name for my lib.
When I build the project, the linker spits out the error,

C:/QNXsdk/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -lang-c++ -oC:/acu3880/Servo~2.5_DRK/Servo/src/cmdProcessor/x86/o-g/cmdProcessor.exe_g cmdProcessor.o conv_utils.o inertialProcessor.o modeProcessor.o pedData.o positionProcessor.o posnCmdProfiler.o rateProcessor.o servoTime.o stowPed.o ttPositionProcessor.o -L. -L…/…/…/…/lib -LC:/QNXsdk/target/qnx6/x86/lib -LC:/QNXsdk/target/qnx6/x86/usr/lib -Bstatic -llibinimgrproxy.01.a -g
/QNXsdk/host/win32/x86/usr/bin/ntox86-ld: cannot find -llibinimgrproxy.01.a

It all looks okay to me, but it obviously doesn’t work. Does anyone else see a problem?


If your lib is libinimgrproxy.01.a, you should use
-l inimgrproxy.01

take out the leading “lib” and trailing .a from the filename.

Thanks. It’s been too long since I just wrote a makefile and didn’t rely on an IDE to do it for me.

I appreciate the help.