As of yesterday's code from the svn repository, whenever I try to run any of my programs from codeblocks it fails with the following message:
Quote
Checking for existence: C:\games\freedom\game\prjfreedom\bin\freedom.exe
Executing: C:\programming\codeblocks/cb_console_runner.exe "C:\games\freedom\game\prjfreedom\bin\freedom.exe" (in C:\games\freedom\game\prjfreedom\bin)
Execution of ' C:\programming\codeblocks/cb_console_runner.exe "C:\games\freedom\game\prjfreedom\bin\freedom.exe" ' in 'C:\games\freedom\game\prjfreedom\bin' failed.
Nothing to be done.
Yep, getting the same thing with svn rev 3757, built Mar 24 2007, Unicode, wxWidgets 2.6.4 on WinXP sp2. Looking into it now as to what changed in the launcher.
Yup, there is a little glitch for no non-console apps that won't allow them to run because a preceding space before the exe command is added. I never tried a console app requiring console runner so not ready to submit a patch but here is what I did to get gui exe's (Ogre stuff) running again:
Index: compilergcc.cpp
===================================================================
--- compilergcc.cpp (revision 3757)
+++ compilergcc.cpp (working copy)
@@ -1749,7 +1749,7 @@
if (!cmd.Replace(_T("$SCRIPT"), script))
// if they didn't specify $SCRIPT, append:
- cmd << _T(" ") << command;
+ cmd << command;
Manager::Get()->GetMessageManager()->Log(m_PageIndex, _("Checking for existence: %s"), f.GetFullPath().c_str());
if (!wxFileExists(f.GetFullPath()))
rev 3750 is when the bug crept in.
[Edit] console apps are working with the above patch now too. I will submit the patch to Berlios after I get the Ogre SDK release out the door in a few hours :).[/Edit]
Quote from: nfz on March 25, 2007, 05:57:36 AM
rev 3750 is when the bug crept in.
Yeah, sorry about that - trying to get application launching on Mac OS X going...
np, its all part of living on the bleeding edge :lol: