News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

problem on linking static libs

Started by dimitrios67, May 24, 2016, 08:48:46 PM

Previous topic - Next topic

dimitrios67

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

oBFusCATed

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!]