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

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Standalone
In need of some credit
In need of some credit
Posts: 7
Joined: Sun Jul 21, 2019 6:35 pm

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

Post 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))
User avatar
doublemax
Moderator
Moderator
Posts: 19115
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

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

Post 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.
Use the source, Luke!
stahta01
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 548
Joined: Fri Nov 03, 2006 2:00 pm

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

Post 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.
Standalone
In need of some credit
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))

Post by Standalone »

thanks, guys after 4 attempts I able to make it work. Thank you for your help realy appreciated. =D> :)
Post Reply