User forums > Using Code::Blocks
Relative path to libraries does not link [SOLVED]
Sastraxi:
./ may also work and this would make the solution viable for people using Linux builds
kidmosey:
--- Quote from: Edis Krad on August 02, 2006, 04:08:12 am ---That's for the compiler, not the linker, but thanks :)
--- End quote ---
oops, sorry! :oops:
kingfox:
So, can I say it is a bug of Code::Blocks ?
MortenMacFly:
--- Quote from: kidmosey on August 02, 2006, 07:36:47 am ---
--- Quote from: Edis Krad on August 02, 2006, 04:08:12 am ---That's for the compiler, not the linker, but thanks :)
--- End quote ---
oops, sorry! :oops:
--- End quote ---
You don't beed to be sorry, because you were right. This setting is for the compiler *and* the linker process. As it shows all commands issued to the compiler/linker executable in detail.
With regards, Morten.
MortenMacFly:
--- Quote from: kingfox on October 22, 2006, 11:45:15 am ---So, can I say it is a bug of Code::Blocks ?
--- End quote ---
I wouldn't say so. You could also include the path to the library in the linker options. Then you don't have to put the .\somelib.a. If the linker cannot find a library then the path is usually just missing. But I wonder if you did that alrteady and I'm missing something...?!
With regards, Morten.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version