Exe start but immediately end.... nothing show on the screen
I've tried almost everything, when I try to debug it is nothing happen, even when I create breakpoints on, app init, Library of sqlite works ok when I create console program, but when I use wxwidgets program run, and end immiadiately, but when I try a debug program stay and nothing happen.
Build log for debug:
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -Wno-attributes -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -IC:\wxWidgets-2.8.12\include -IC:\wxWidgets-2.8.12\contrib\include -IC:\wxWidgets-2.8.12\lib\gcc_lib\mswud -c C:\MY_PROJECT\wx_test4\wx_pch.h -o wx_pch.h.gch\Debug_wx_pch_h_gch
cc1plus.exe: warning: C:\MY_PROJECT\wx_test4\wx_pch.h.gch/Release_wx_pch_h_gch: created with -gnone, but used with -gdwarf-2
cc1plus.exe: warning: ./wx_pch.h.gch/Release_wx_pch_h_gch: created with -gnone, but used with -gdwarf-2
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -Wno-attributes -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -IC:\wxWidgets-2.8.12\include -IC:\wxWidgets-2.8.12\contrib\include -IC:\wxWidgets-2.8.12\lib\gcc_lib\mswud -c C:\MY_PROJECT\wx_test4\wx_test4App.cpp -o obj\Debug\wx_test4App.o
windres.exe -IC:\wxWidgets-2.8.12\include -IC:\wxWidgets-2.8.12\lib\gcc_lib\mswud -J rc -O coff -i C:\MY_PRO~1\wx_test4\resource.rc -o obj\Debug\resource.res
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -Wno-attributes -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -IC:\wxWidgets-2.8.12\include -IC:\wxWidgets-2.8.12\contrib\include -IC:\wxWidgets-2.8.12\lib\gcc_lib\mswud -c C:\MY_PROJECT\wx_test4\wx_test4Main.cpp -o obj\Debug\wx_test4Main.o
mingw32-g++.exe -LC:\wxWidgets-2.8.12\lib\gcc_lib -o bin\Debug\wx_test4.exe obj\Debug\wx_test4App.o obj\Debug\wx_test4Main.o obj\Debug\resource.res -mthreads -lwxmsw28ud_aui -lwxmsw28ud_media -lwxbase28ud_net -lwxbase28ud_xml -lwxmsw28ud_adv -lwxmsw28ud_html -lwxmsw28ud_core -lwxbase28ud -lwxpngd -lwxjpegd -lwxtiffd -lwxzlibd -lwxregexud -lwxexpatd -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lcomctl32 -lwsock32 -lodbc32 -mwindows
Output size is 30,78 MB
Process terminated with status 0 (0 minutes, 37 seconds)
0 errors, 2 warnings (0 minutes, 37 seconds)
Screenshot:
ZIP file with compiled library and source, and sample program which cannot work, everything prepared for code:blocks :
http://dl.dropbox.com/u/26886994/MY_PROJECT.ZIP (32mb)
Everything working when I compile it for visual studio 2010 compiler, and compile the same code.... But i need MinGW