Code::Blocks Forums

User forums => Help => Topic started by: dimitrios67 on May 24, 2016, 08:48:46 pm

Title: problem on linking static libs
Post by: dimitrios67 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
Title: Re: problem on linking static libs
Post by: oBFusCATed 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.