Code::Blocks Forums
User forums => Help => Topic started by: markus22 on January 18, 2008, 11:30:48 am
-
Hi all,
Finally, it works. It compiles , links wxWidgets sample for windows with no problem , and wine launches the created EXE correctlly:)
But when i try to debug i get this message:
Building to ensure sources are up-to-date
Build succeeded
Selecting target: Debug
Adding source dir: /home/developer/projects/winwx/
Adding source dir: /home/developer/projects/winwx/
Adding file: bin/Debug/winwx.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.3
Error creating process Z:\home\developer\projects\winwx/bin/Debug/winwx.exe, (error 32)
Debugger finished with status 0
Or if i just try to execute the program inside codeblocks IDE i get this error:
Checking for existence: /home/developer/projects/winwx/bin/Debug/winwx.exe
Executing: /home/developer/projects/winwx/bin/Debug/winwx.exe (in /home/developer/projects/winwx/.)
Process terminated with status 126 (0 minutes, 0 seconds)
Can you tell how can i get the Debugger working?
Thanks.
-
Any help will be appreciated.
-
i guess you should set the Target Otions Type to Consol application in the Build Targets Tab (Project/Properties...)
Szurilo
-
Seems like you were trying to debug your Win32 Application - that won't work IMO that easy as the Linux GDB can't understand Windows' PE formated executeables.