User forums > Using Code::Blocks

[Bug report] Link Libraries not read correctly

(1/1)

freeb0rn:
Katarxas, tha ithela na sou pw suxgaritiria gia ena fantastiko programa!

Ok, my bug "report" is this:
(While I realize it may not really be a bug, it is somewhat of a nuisance).

Go into the Project's Compiler Options (aka Build Options)
-> Linker Options tab
-> Add a new link library
-> Build your project.

You will get errors if the link library path has spaces in it, for example if the library is:
C:\Program Files\Microsoft SDK\Lib\Gdi32.Lib

The compiler will return:
mingw32-g++.exe: C:\Program: No such file or directory
mingw32-g++.exe: Files\Microsoft: No such file or directory
mingw32-g++.exe: SDK\Lib\Gdi32.Lib: No such file or directory

A remedy is to include quotes around the library, ie:
"C:\Program Files\Microsoft SDK\Lib\Gdi32.Lib"
BUT, if one tries to go back and edit the linked library, pressing the browse button [...] yields no effect. If the quotes are removed, though, the browse button works again.

My question:
Is it possible for C::B to automatically add these quotes, and thus restore full-functionality to the browse button? (adding/subtracting the quotes is somewhat of a nuisance).
As aforementioned, this is a very small gripe in the face of an extremely awesome program! Great work!

mandrav:
S' euxaristw gia ta kala sou logia!

Yes, this is a known "problem" which will be addressed shortly.
Note that it's better to submit bug-reports through the appropriate tool.

Thanx,
Yiannis.

freeb0rn:
Yeah I saw the link to the sourceforge bug tracker a bit too late! Signomi!
Duly noted for the future!

Navigation

[0] Message Index

Go to full version