Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Problem with linking static library(LINK : fatal error LNK1104: cannot open file ''C:\Program Files (x86)\LabJack\Drivers\LabJackM.lib'')
Problem with linking static library [message #1113760] Sat, 21 September 2013 17:32
Frederik Ebert is currently offline Frederik EbertFriend
Messages: 1
Registered: September 2013
Junior Member
Hi there,

I am using Eclipse CDT under Windows 7 togehter with the MS Visual C++ compiler.
When trying to link a static library to my C++ project I'm getting to follwoing error from the compiler..

LINK : fatal error LNK1104: cannot open file ''C:\Program Files (x86)\LabJack\Drivers\LabJackM.lib''

I thought doing everything right with putting the inclusion #include LabJackM.h in the code which refers to the library C:\Program Files (x86)\LabJack\Drivers\LabJackM.lib.
In the compiler settings I also set the paths accordingly, as you can see in the picture attached.
I also double checked that the lib-file is really existent in the directory specified.
Furthermore Ecplise recognized all the commands defined in LabJackM.h.

Thank you for help.

Previous Topic:Debugger fails to start but gdb works fine
Next Topic:Split Views in Eclipse 4.2 (Juno)
Goto Forum:

Current Time: Mon May 28 01:45:46 GMT 2018

Powered by FUDForum. Page generated in 0.01628 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top