Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » [Bug+Patch] when there is a space in Upp path (gdb does not find exefile, && problem using windres)
[Bug+Patch] when there is a space in Upp path [message #47744] |
Fri, 17 March 2017 16:55  |
omari
Messages: 276 Registered: March 2010
|
Experienced Member |
|
|
Hi,
I have to install upp in Program Files, so I found the following two bug:
1: gdb does not find the exe file
solution: add quote before and after the path of the exe file
in ide\Debuggers\Gdb.cpp line 338
dbg = host->StartProcess(GdbCommand(console) + "\"" + GetHostPath(exefile) + "\"");
2: windres does not find the preprocessor
in it's internal, windres use it's path (without quotes) as base in order to find the propressor.
solution: call windres using it's ShortPath:
in ide\Builders\GccBuilder.cpp, line 217:
exec << GetHostPathShort( FindInDirs(((LocalHost*)host)->exedirs, "windres.exe")) << " -i " << GetHostPathQ(fn);
instead of:
exec << "windres -i " << GetHostPathQ(fn);
regards
omari.
|
|
|
 |
|
[Bug+Patch] when there is a space in Upp path
By: omari on Fri, 17 March 2017 16:55
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Sat, 18 March 2017 20:54
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Sun, 19 March 2017 10:14
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Sun, 19 March 2017 21:06
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Sun, 19 March 2017 23:04
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Sun, 19 March 2017 23:22
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Mon, 20 March 2017 23:33
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Wed, 22 March 2017 22:35
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Fri, 24 March 2017 23:46
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Sat, 25 March 2017 23:16
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Sat, 25 March 2017 23:55
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Sun, 26 March 2017 00:29
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Sun, 26 March 2017 00:53
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Sun, 26 March 2017 12:54
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Sun, 26 March 2017 14:04
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: Klugier on Sun, 26 March 2017 15:35
|
 |
|
Re: [Bug+Patch] when there is a space in Upp path
By: omari on Sun, 26 March 2017 23:22
|
Goto Forum:
Current Time: Tue Apr 29 17:12:26 CEST 2025
Total time taken to generate the page: 0.00877 seconds
|