Page 1 of 1

Process terminated with status -1073741819 (0 minute(s), 1 second(s))

Posted: Sun Jul 21, 2019 7:38 pm
by Standalone
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))

Re: Process terminated with status -1073741819 (0 minute(s), 1 second(s))

Posted: Sun Jul 21, 2019 8:40 pm
by doublemax
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.

Re: Process terminated with status -1073741819 (0 minute(s), 1 second(s))

Posted: Sun Jul 21, 2019 11:23 pm
by stahta01

Code: Select all

"E:\Code Blocks\test\testApp.cpp" -o obj\Debug\testApp.o
Code::Blocks does not have issues with spaces to my knowledge; but, some GCC builds (esp. windres) do have issues with spaces.
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
Exception code c0000005 is the code for an access violation.
Tim S.

Re: Process terminated with status -1073741819 (0 minute(s), 1 second(s))

Posted: Tue Jul 23, 2019 8:38 am
by Standalone
thanks, guys after 4 attempts I able to make it work. Thank you for your help realy appreciated. =D> :)