User forums > Help
Cross Compiling in Linux using MingW32
(1/1)
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:
--- Quote ---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
--- End quote ---
Or if i just try to execute the program inside codeblocks IDE i get this error:
--- Quote ---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)
--- End quote ---
Can you tell how can i get the Debugger working?
Thanks.
markus22:
Any help will be appreciated.
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.
Navigation
[0] Message Index
Go to full version