News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Cross Compiling in Linux using MingW32

Started by markus22, January 18, 2008, 11:30:48 AM

Previous topic - Next topic

markus22

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:

QuoteBuilding 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:

QuoteChecking 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.

markus22


szurilo

i guess you should set the Target Otions Type to Consol application in the Build Targets Tab (Project/Properties...)


Szurilo

darthdespotism

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.