Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: freeb0rn on March 26, 2005, 06:31:59 am

Title: [Bug report] Link Libraries not read correctly
Post by: freeb0rn on March 26, 2005, 06:31:59 am
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!
Title: [Bug report] Link Libraries not read correctly
Post by: mandrav on March 26, 2005, 08:46:49 pm
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 (http://sourceforge.net/tracker/?func=add&group_id=126998&atid=707416).

Thanx,
Yiannis.
Title: [Bug report] Link Libraries not read correctly
Post by: freeb0rn on March 26, 2005, 09:14:50 pm
Yeah I saw the link to the sourceforge bug tracker a bit too late! Signomi!
Duly noted for the future!