Terminal Closes Immediately
Posted: Mon Dec 30, 2019 5:01 pm
I have an issue that is similar to the other thread with the same title...whe I execute a simple wx prog, there is a brief flash on the screen, and then the window immediately closes itself.
Here is some ref info:
----------------------------
Environment Vars:
CodeLiteDir=e:\CodeLite
WXCFG=gcc_dll\mswu
WXWIN=E:\wxWidgets-3.1.3
PATH=E:\CodeLite;E:\CodeLite\mingw64\bin;$PATH
Build Settings - Advanced Tab:
mo entries for Include or Libraries
Settings - Tools Tab:
E:/CodeBlocks/MinGW/bin/...
Build Output:
C:\WINDOWS\system32\cmd.exe /C E:/CodeLite/mingw64/bin/mingw32-make.exe -j6 SHELL=cmd.exe -e -f Makefile
"----------Building project:[ wxTest10 - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'E:/CodeLite/MyProjects/wxTest10/wxTest10'
E:/CodeLite/mingw64/bin/g++.exe -o ..\build-Debug\bin\wxTest10 @../build-Debug/wxTest10/ObjectsList.txt -L. -mthreads -LE:/wxWidgets-3.1.3/lib/gcc_dll -lwxmsw31u -lwxscintilla -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lversion -lshlwapi -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -mwindows
mingw32-make.exe[1]: Leaving directory 'E:/CodeLite/MyProjects/wxTest10/wxTest10'
====0 errors, 0 warnings====
Output View:
Working directory is set to: E:\CodeLite\MyProjects\wxTest10\wxTest10
Executing: cmd /C E:\CodeLite\MyProjects\wxTest10\wxTest10\wxTest10.exe
Program exited
Note:
1. When I go to the windows folder build-debug/bin and click on the .exe application file, it gives an error saying "The code execution cannot proceed because wxmsw313u_gcc_custom.dll was not found,.."
2. I also changed the Linker to static linking and that didnt help either.
thx in adv to anyone that is able to help get the configuration right.
Greer T.
Here is some ref info:
----------------------------
Environment Vars:
CodeLiteDir=e:\CodeLite
WXCFG=gcc_dll\mswu
WXWIN=E:\wxWidgets-3.1.3
PATH=E:\CodeLite;E:\CodeLite\mingw64\bin;$PATH
Build Settings - Advanced Tab:
mo entries for Include or Libraries
Settings - Tools Tab:
E:/CodeBlocks/MinGW/bin/...
Build Output:
C:\WINDOWS\system32\cmd.exe /C E:/CodeLite/mingw64/bin/mingw32-make.exe -j6 SHELL=cmd.exe -e -f Makefile
"----------Building project:[ wxTest10 - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'E:/CodeLite/MyProjects/wxTest10/wxTest10'
E:/CodeLite/mingw64/bin/g++.exe -o ..\build-Debug\bin\wxTest10 @../build-Debug/wxTest10/ObjectsList.txt -L. -mthreads -LE:/wxWidgets-3.1.3/lib/gcc_dll -lwxmsw31u -lwxscintilla -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lversion -lshlwapi -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -mwindows
mingw32-make.exe[1]: Leaving directory 'E:/CodeLite/MyProjects/wxTest10/wxTest10'
====0 errors, 0 warnings====
Output View:
Working directory is set to: E:\CodeLite\MyProjects\wxTest10\wxTest10
Executing: cmd /C E:\CodeLite\MyProjects\wxTest10\wxTest10\wxTest10.exe
Program exited
Note:
1. When I go to the windows folder build-debug/bin and click on the .exe application file, it gives an error saying "The code execution cannot proceed because wxmsw313u_gcc_custom.dll was not found,.."
2. I also changed the Linker to static linking and that didnt help either.
thx in adv to anyone that is able to help get the configuration right.
Greer T.