User forums > Help
can't launch programs from codeblocks anymore
(1/1)
jarro_2783:
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.
--- End quote ---
nfz:
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.
nfz:
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:
--- Code: ---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()))
--- End code ---
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]
afb:
--- Quote from: nfz on March 25, 2007, 05:57:36 am ---rev 3750 is when the bug crept in.
--- End quote ---
Yeah, sorry about that - trying to get application launching on Mac OS X going...
nfz:
np, its all part of living on the bleeding edge :lol:
Navigation
[0] Message Index
Go to full version