Hello!
when i click build & run the sample dialog box terminating without showing anything. please help me I'm new to wxwidgets.
-------------- Build: Debug in test (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -IC:\wxWidgets-3.1.2\include -IC:\wxWidgets-3.1.2\lib\gcc_dll\mswud -c "E:\Code Blocks\test\wx_pch.h" -o wx_pch.h.gch\Debug_wx_pch_h_gch
windres.exe -IC:\wxWidgets-3.1.2\include -IC:\wxWidgets-3.1.2\lib\gcc_dll\mswud -J rc -O coff -i E:\CODEBL~1\test\resource.rc -o obj\Debug\resource.res
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -IC:\wxWidgets-3.1.2\include -IC:\wxWidgets-3.1.2\lib\gcc_dll\mswud -c "E:\Code Blocks\test\testApp.cpp" -o obj\Debug\testApp.o
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -IC:\wxWidgets-3.1.2\include -IC:\wxWidgets-3.1.2\lib\gcc_dll\mswud -c "E:\Code Blocks\test\testMain.cpp" -o obj\Debug\testMain.o
mingw32-g++.exe -LC:\wxWidgets-3.1.2\lib\gcc_dll -o bin\Debug\test.exe obj\Debug\testApp.o obj\Debug\testMain.o obj\Debug\resource.res -mthreads -lwxmsw31ud -mwindows
Output file is bin\Debug\test.exe with size 2.24 MB
Process terminated with status 0 (0 minute(s), 4 second(s))
0 error(s), 0 warning(s) (0 minute(s), 4 second(s))
-------------- Run: Debug in test (compiler: GNU GCC Compiler)---------------
Checking for existence: E:\Code Blocks\test\bin\Debug\test.exe
Executing: "E:\Code Blocks\test\bin\Debug\test.exe" (in E:\Code Blocks\test\.)
Process terminated with status -1073741819 (0 minute(s), 1 second(s))
Process terminated with status -1073741819 (0 minute(s), 1 second(s))
-
- In need of some credit
- Posts: 7
- Joined: Sun Jul 21, 2019 6:35 pm
Re: Process terminated with status -1073741819 (0 minute(s), 1 second(s))
As you're using dynamic linking with wxWidgets in DLLs my first guess would be that the wxWidgets DLLs are not found. Use static linking or put the DLLs into the program directory.
Use the source, Luke!
Re: Process terminated with status -1073741819 (0 minute(s), 1 second(s))
Code: Select all
"E:\Code Blocks\test\testApp.cpp" -o obj\Debug\testApp.o
They also tend to have issues with non ASCII characters in path; did not see any in your post.
Edit: It may also be an Windows Anti virus issue or a bad code issue.
Edit2: Bad code; convert return value to c0000005
Tim S.Exception code c0000005 is the code for an access violation.
-
- In need of some credit
- Posts: 7
- Joined: Sun Jul 21, 2019 6:35 pm
Re: Process terminated with status -1073741819 (0 minute(s), 1 second(s))
thanks, guys after 4 attempts I able to make it work. Thank you for your help realy appreciated.