User forums > Help
Problem with WxWidgets app.
mat75:
Hello.
Sorry for my poor English.
I recently installed codeblocks on my computer (Win7 home Premium 64bit), Mingw-w64 from sourceforge and compile WxWidgets 2.9.2.
(mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 USE_STC=0 USE_PROPGRID=1 BUILD=release)
After creating a new GUI WxWidgets application I successfully compile it, but when I try execute this app got an windows error message "application is not running properly (0x000007b) Click ok to terminate the application".
I copy wxmsw292u_gcc_custom.dll into application bin\release directory but error don't disappear.
Dependency Walker report Error: Modules with different CPU types were found.
All build files are 64bit but when append file WXMSW292U_GCC_CUSTOM.DLL Dependency Walker shows the break link to the COMCTL32.dll(32bit).
Other apps using QT or FLTK 1.3 compiles and execute fine.
I don't post the log file from dependency walker(13,8M).
What am I doing wrong
Please help me.
Greetings to all forum users
*****************************| System Information |*****************************
Dependency Walker: 2.2.6000 (64-bit)
Operating System: Microsoft Windows NT/2000/XP/2003/Vista based Home Premium (64-bit)
OS Version: 6.01.7601 Service Pack 1
Processor: AMD64 Family 16 Model 5 Stepping 2, AuthenticAMD, ~2913MHz
Number of Processors: 3, Mask: 0x0000000000000007
...
c:\>gcc -v
Using built-in specs.
Target: x86_64-w64-mingw32
Configured with: ../gcc44-svn/configure --host=x86_64-w64-mingw32 --target=x86_6
4-w64-mingw32 --disable-multilib --enable-checking=release --prefix=/mingw64 --w
ith-sysroot=/mingw64 --enable-languages=c,c++,fortran,objc,obj-c++ --enable-libg
omp --with-gmp=/mingw64 --with-mpfr=/mingw64 --disable-nls --disable-win32-regis
try
Thread model: win32
gcc version 4.4.7 20110505 (prerelease) [svn/rev.173454 - mingw-w64/oz] (GCC)
stahta01:
I suggest posting on a site that supports wxWidgets or/and MinGW64.
Tim S.
mat75:
I created a blank project and copied the files a simple application from
http://zetcode.com/tutorials/wxwidgetstutorial/firstprograms/
The project compiled without problem and is successfully launched.
I do not know why the above-mentioned application is crashing.
mat75:
I've created a Codeblocks GUI project available in the template WxWidgets GUI.
Select option WxWidgets 2.9.x (SVN version), set project name & project directory, etc.
Select option use WxWidgets DLL
Select option use WxWidgets is build as a monolithic library
Select option use Enable UNICODE
Deselect option create and use precompiled header (PCH) (if it is enable cc1.exe from ingw64 directory is crashed)
The project compiled successfully but when I try to run it it crashes on that in a post message.
macylapka:
Hi
It's possible you have link more than 1 *.dll lib ?
Regards
Navigation
[0] Message Index
[#] Next page
Go to full version