Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: iamcreasy on January 06, 2010, 06:46:53 pm

Title: Error 193 :(
Post by: iamcreasy on January 06, 2010, 06:46:53 pm
when I start debugging it shows following...

Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: C:\Documents and Settings\Irfan\Desktop\Temp\test_1\
Adding source dir: C:\Documents and Settings\Irfan\Desktop\Temp\test_1\
Adding file: bin\Debug\test_1.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.7.50.20071127
Error creating process C:\Documents and Settings\Irfan\Desktop\Temp\test_1/bin/Debug/test_1.exe, (error 193).

The program has no error.
Any idea how to solve this problem?
Title: Re: Error 193 :(
Post by: dje on January 06, 2010, 09:21:17 pm
You should try a path without spaces.

Dje
Title: Re: Error 193 :(
Post by: iamcreasy on January 06, 2010, 10:00:22 pm
You should try a path without spaces.

Dje

sorry, i didnt understand.

could u plz clarify?
Title: Re: Error 193 :(
Post by: koso on January 07, 2010, 12:00:55 am
Try to move project to another place -> full path to the *.exe file should be without spaces and non-ascii characters.
Title: Re: Error 193 :(
Post by: oBFusCATed on January 07, 2010, 12:04:15 am
Also you could try newer gdb, current version is 7.x.x
Title: Re: Error 193 :(
Post by: iamcreasy on January 07, 2010, 08:51:29 am
You should try a path without spaces.

Dje

Thanks,it worked....but isn't this a little weird solution?

is there any explanation behind this?
Title: Re: Error 193 :(
Post by: dje on January 07, 2010, 11:02:46 am
Lots of command line tools use space as argument separator and you have to quote "your args with spaces" to use spaces in args.

Dje