News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

HelloWorld - Error creating process

Started by diegoreymendez, January 02, 2008, 12:34:34 PM

Previous topic - Next topic

diegoreymendez

Hello,

I have been a happy Code::Blocks user for quite some time now, and I've found a problem I can't solve.  Maybe someone here can aid me point at the right direction.

I have been working with CB + Cygwin up until recently without issues.  Suddenly I have started getting a strange error which says "Error creating process" when I attempt to launch my programs through Debug menu -> Start.

QuoteBuilding to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: C:\Documents and Settings\Administrador\Escritorio\HelloWorld\
Adding source dir: C:\Documents and Settings\Administrador\Escritorio\HelloWorld\
Adding file: bin\Debug\HelloWorld.exe
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Error creating process /cygdrive/c/Documents and Settings/Administrador/Escritorio/HelloWorld/bin/Debug/HelloWorld.exe, (error 5).

My program is a simple HelloWorld program which was created automatically by CB:

Quote#include <iostream>

using namespace std;

int main()
{
    cout << "Hello world!" << endl;
    return 0;
}

And it compiles correctly:

Quote-------------- Build: Debug in HelloWorld ---------------

Compiling: main.cpp
Linking console executable: bin\Debug\HelloWorld.exe
Output size is 593.56 KB
Process terminated with status 0 (0 minutes, 1 seconds)
0 errors, 0 warnings

I was working with this installation of CB without issues until this started happening with all my projects.

Any ideas?

Regards,
Diego

dje

Hi !

You can try to move your project to a directory without spaces

dje

diegoreymendez

dje, thank you!  That was it! :D

Strangely enough, CB was working properly with other projects using these folders.  :?