Author Topic: problem on linking static libs  (Read 2355 times)

dimitrios67

  • Guest
problem on linking static libs
« on: May 24, 2016, 08:48:46 pm »
Hello,
I'm trying to "migrate" a project from Linux to Wondows.
I also have add an .a file (static lib I suppose), with
BuildOptions->LinkerSettings
But, I take the message: ld.exe cannot find -lfile,
The library filename is libfile.a
Where is the problem?

thanks
Jim

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: problem on linking static libs
« Reply #1 on: May 24, 2016, 08:54:48 pm »
Probably it is in a folder the linker doesn't know about and you have to add it to the search paths -> linker in the project build options.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]