-------------- Clean: Release in wx_test4 ---------------
Cleaned "wx_test4 - Release"
-------------- Build: Release in wx_test4 ---------------
mingw32-g++.exe -Wall -pipe -Wno-attributes -Winvalid-pch -include wx_pch.h -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -DWX_PRECOMP -O2 -IC:\wxWidgets-2.8.12\include -IC:\wxWidgets-2.8.12\contrib\include -IC:\wxWidgets-2.8.12\lib\gcc_lib\mswu -c C:\MY_PROJECT\wx_test4\wx_pch.h -o wx_pch.h.gch\Release_wx_pch_h_gch
cc1plus.exe: warning: C:\MY_PROJECT\wx_test4\wx_pch.h.gch/Debug_wx_pch_h_gch: created and used with differing settings of '-maccumulate-outgoing-args'
cc1plus.exe: warning: ./wx_pch.h.gch/Debug_wx_pch_h_gch: created and used with differing settings of '-mthreads'
mingw32-g++.exe -Wall -pipe -Wno-attributes -Winvalid-pch -include wx_pch.h -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -DWX_PRECOMP -O2 -IC:\wxWidgets-2.8.12\include -IC:\wxWidgets-2.8.12\contrib\include -IC:\wxWidgets-2.8.12\lib\gcc_lib\mswu -c C:\MY_PROJECT\wx_test4\wx_test4App.cpp -o obj\Release\wx_test4App.o
cc1plus.exe: warning: ./wx_pch.h.gch/Debug_wx_pch_h_gch: created and used with differing settings of '-mthreads'
windres.exe -IC:\wxWidgets-2.8.12\include -IC:\wxWidgets-2.8.12\lib\gcc_lib\mswu -J rc -O coff -i C:\MY_PRO~1\wx_test4\resource.rc -o obj\Release\resource.res
mingw32-g++.exe -Wall -pipe -Wno-attributes -Winvalid-pch -include wx_pch.h -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -DWX_PRECOMP -O2 -IC:\wxWidgets-2.8.12\include -IC:\wxWidgets-2.8.12\contrib\include -IC:\wxWidgets-2.8.12\lib\gcc_lib\mswu -c C:\MY_PROJECT\wx_test4\wx_test4Main.cpp -o obj\Release\wx_test4Main.o
cc1plus.exe: warning: ./wx_pch.h.gch/Debug_wx_pch_h_gch: created and used with differing settings of '-mthreads'
mingw32-g++.exe -LC:\wxWidgets-2.8.12\lib\gcc_lib -o bin\Release\wx_test4.exe obj\Release\wx_test4App.o obj\Release\wx_test4Main.o obj\Release\resource.res -s -static-libgcc -lwxmsw28u_aui -lwxmsw28u_media -lwxbase28u_net -lwxbase28u_xml -lwxmsw28u_adv -lwxmsw28u_html -lwxmsw28u_core -lwxbase28u -lwxpng -lwxjpeg -lwxtiff -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lcomctl32 -lwsock32 -lodbc32 ..\SQLCIPHER\libSQLCIPHER.a ..\SQLCIPHER\lib\libeay32.dll.a -mwindows
Output size is 2,93 MB
Process terminated with status 0 (0 minutes, 13 seconds)
0 errors, 4 warnings (0 minutes, 13 seconds)
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:
(http://dl.dropbox.com/u/26886994/sqlcipher.JPG)
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 (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
..\SQLCIPHER\libSQLCIPHER.a ..\SQLCIPHER\lib\libeay32.dll.a
The above implies you are not adding it the preferred way inside of Code::Blocks.
Note: The method you used works most of the time; but, maybe it is the problem.
Try doing it the "For your project :" way shown in below link.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F)
Tim S.