Author Topic: [Bug report] Link Libraries not read correctly  (Read 3924 times)

freeb0rn

  • Guest
[Bug report] Link Libraries not read correctly
« 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!

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
[Bug report] Link Libraries not read correctly
« Reply #1 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.

Thanx,
Yiannis.
Be patient!
This bug will be fixed soon...

freeb0rn

  • Guest
[Bug report] Link Libraries not read correctly
« Reply #2 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!