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++ Library support » U++ Library : Other (not classified elsewhere) » umk got changed....
Re: umk got changed.... [message #37565 is a reply to message #35019] Thu, 18 October 2012 23:19 Go to previous messageGo to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
hi all..

just tonight i started trying umk for myself. can't believe i've been away for so long Smile

i use a setup, where all my ide config lies in V:\upprun, then there is U:\uppsvn and V:\uppgit for known reasons.. to keep the code separated from the runtime stuff..

so i copied tie umk.exe in V:\upprun and started with

umk examples_git Bombs MSC9 -b +GUI,SHARED bombs.exe


it did some things, but stopped eventually stopped at the same Invalid build method message, because it could not find my MSC9.bm, lying in the same folder.

so i debugged a bit: why not simply ading the current umk.exe to the search path..that worked for me and i think would do for many..

@@ -6,11 +6,12 @@ String GetUmkFile(const char *fn)
 {
 	return GetFileOnPath(fn,
 	                     GetHomeDirFile(".upp/umk") + ';' +
 	                     GetHomeDirFile(".upp/theide") + ';' +
 	                     GetHomeDirFile(".upp/ide") + ';' +
-	                     GetHomeDirectory());
+	                     GetHomeDirectory() + ';' +
+	                     GetFileFolder(GetExeFilePath()));
 }
 
 String GetBuildMethodPath(String method)
 {
 	if(GetFileExt(method) != ".bm")


what do you say
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon6.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: EditControl with AllCaps, OnlyNums, and ErrorMsg dialog
Next Topic: Missing Docs for some virtual Ctrl:: functions
Goto Forum:
  


Current Time: Fri Jul 18 03:42:55 CEST 2025

Total time taken to generate the page: 0.03082 seconds