Error creating process C:\Documents and Settings\ED\Desktop\TEXT NOTES TEMP\C++ CodeBlocks\Hello World/bin/Debug/Hello World.exe, (error 193).
Your folder seems too long. Change it to a simple folder name with out "spaces".
Olldbg and Jens,
Ok, Wanting to Double Check all leads, I thought "though the 'Absolute Path filename' may have been OK on Jens computer setup. ....., maybe it is not on mine.
Since I have run into file-lenght problems before in other editing/scripting.
Made "New Project from scratch, adding in the same .cpp file.
I made my project as "C:\0\HiWorld". [I do not believe (but will prove) the lack of spaces in the name is important].
Once I constructed the project I : Debug / Start.
========== Build Log ==========================
-------------- Build: Debug in HiWorld ---------------
mingw32-g++.exe -Wall -fexceptions -g -Wall -g -c C:\0\HiWorld\HiWorld.cpp -o obj\Debug\HiWorld.o
mingw32-g++.exe -o bin\Debug\HiWorld.exe obj\Debug\HiWorld.o
Output size is 595.10 KB
Process terminated with status 0 (0 minutes, 2 seconds)
0 errors, 0 warnings
==========================================
=========== Debug Log ==============================
PATH=.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\WINDOWS;C:\Program Files\CodeBlocks\MinGW\bin;C:\borland\BCC55\bin\;C:\Borland\BCC55\Include\;C:\Borland\BCC55\Lib\;C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\;C:\Program Files\Microsoft Visual Studio 9.0\VC\bin;C:\WINDOWS\System32\Wbem\;C:\Program Files\QuickTime\QTSystem\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Common Files\GTK\2.0\bin;C:\PROGRA~1\XSoft;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\AutoIt3;C:\PROGRA~1\DISKEE~1\DISKEE~1\
Command-line: C:\Program Files\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname -quiet -args bin/Debug/HiWorld.exe
Working dir : C:\0\HiWorld\
> set prompt >>>>>>cb_gdb:
(gdb) >>>>>>cb_gdb:
> show version
GNU gdb 6.7.50.20071127
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
>>>>>>cb_gdb:
> set confirm off
>>>>>>cb_gdb:
> set width 0
>>>>>>cb_gdb:
> set height 0
>>>>>>cb_gdb:
> set breakpoint pending on
>>>>>>cb_gdb:
> set print asm-demangle on
>>>>>>cb_gdb:
> set unwindonsignal on
>>>>>>cb_gdb:
> set debugevents on
>>>>>>cb_gdb:
> set new-console on
>>>>>>cb_gdb:
> set disassembly-flavor att
>>>>>>cb_gdb:
> directory C:/0/HiWorld/
>>>>>>cb_gdb:
> run
gdb: win32_init_thread_list
Program exited normally.
>>>>>>cb_gdb:
> set debugevents off
>>>>>>cb_gdb:
> quit
================================================
'##################################################################
So far So Good, Next Experiment ......... New Project ............. Proving the spaces are OK:
'##################################################################
I made my project as "C:\0 0 0 0\Hi World New Project". (same .cpp file)
Once I constructed the project I : Debug / Start.
========== Build Log ==========================
-------------- Build: Debug in Hi World New Project ---------------
mingw32-g++.exe -Wall -fexceptions -g -Wall -g -c "C:\0 0 0 0\Hi World New Project\Hi World New Project.cpp" -o "obj\Debug\Hi World New Project.o"
mingw32-g++.exe -o "bin\Debug\Hi World New Project.exe" "obj\Debug\Hi World New Project.o"
Output size is 595.13 KB
Process terminated with status 0 (0 minutes, 2 seconds)
0 errors, 0 warnings
==========================================
=========== Debug Log ==============================
PATH=.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\WINDOWS;C:\Program Files\CodeBlocks\MinGW\bin;C:\borland\BCC55\bin\;C:\Borland\BCC55\Include\;C:\Borland\BCC55\Lib\;C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\;C:\Program Files\Microsoft Visual Studio 9.0\VC\bin;C:\WINDOWS\System32\Wbem\;C:\Program Files\QuickTime\QTSystem\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Common Files\GTK\2.0\bin;C:\PROGRA~1\XSoft;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\AutoIt3;C:\PROGRA~1\DISKEE~1\DISKEE~1\
Command-line: C:\Program Files\CodeBlocks\MinGW\bin\gdb.exe -nx -fullname -quiet -args "bin/Debug/Hi World New Project.exe"
Working dir : C:\0 0 0 0\Hi World New Project\
> set prompt >>>>>>cb_gdb:
(gdb) >>>>>>cb_gdb:
> show version
GNU gdb 6.7.50.20071127
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32".
>>>>>>cb_gdb:
> set confirm off
>>>>>>cb_gdb:
> set width 0
>>>>>>cb_gdb:
> set height 0
>>>>>>cb_gdb:
> set breakpoint pending on
>>>>>>cb_gdb:
> set print asm-demangle on
>>>>>>cb_gdb:
> set unwindonsignal on
>>>>>>cb_gdb:
> set debugevents on
>>>>>>cb_gdb:
> set new-console on
>>>>>>cb_gdb:
> set disassembly-flavor att
>>>>>>cb_gdb:
> directory C:/0000~1/HIWORL~1/
>>>>>>cb_gdb:
> run
gdb: win32_init_thread_list
Program exited with code 030000000472.
>>>>>>cb_gdb:
> set debugevents off
>>>>>>cb_gdb:
> quit
================================================
*******************************************************************
Summary:
For the moment it looks like my Absolute Path Filename was too long for my setup.
*******************************************************************
For now I think I am in great shape, to move foreward and learn.
Thank you guys very much for your quick feedback, ......and knowledgeable input.
Hopefully I can return the favor on some subject soon, for the forums.
Thanks again, and I am sure I will be bugging you soon maybe for some more legitimate problems !!!!
Regards, Ed