Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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)
Re: [Bug+Patch] when there is a space in Upp path [message #47756 is a reply to message #47751] Sun, 19 March 2017 10:14 Go to previous messageGo to previous message
omari is currently offline  omari
Messages: 266
Registered: March 2010
Experienced Member
Hi,

Tested on Linux Mint / GCC :
gdb bug is there too, and the quote fix it.
I think this fix this bug too.


windres bug is PLATFORM_WIN specific as .rc file is.


Quote:

Can you explain for me what following lines do?

GetHostPathShort( FindInDirs(((LocalHost*)host)->exedirs, "windres.exe"))




FindInDirs(((LocalHost*)host)->exedirs, "windres.exe")

localhost.exedir is a vector of the PATH directorys
FindInDirs find "windres.exe" in this list of directory, and return the full path, for example :"c:\\program files\\upp\\bin\\mingw\\bin\\windres.exe"

GetHostPathShort convert this to: "c:\\program~1\\upp\\bin\\mingw\\bin\\windres.exe"


in the current version, FindInDirs(..) is called inside CppBuilder::Run() { LocalHost::Run() { FindCommand(const Vector<String>& exedir, const String& mdline)}}



regards
omari.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Files save issue
Next Topic: MySql and upp 2017r1
Goto Forum:
  


Current Time: Tue May 07 07:01:42 CEST 2024

Total time taken to generate the page: 0.03327 seconds