Code::Blocks Forums
User forums => Help => Topic started by: mat75 on May 17, 2011, 03:42:59 pm
-
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)
-
I suggest posting on a site that supports wxWidgets or/and MinGW64.
Tim S.
-
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.
-
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.
-
Hi
It's possible you have link more than 1 *.dll lib ?
Regards
-
I link only one Library libwxmsw29u.a
-
hi mat75!
i get the same problem like you!
there is no error ms occured while compiling wxWidgets 2.9.2 as a dynamic mon lib with mingw-64
but programes liked with this library all crash(exception exit)
then i use pestudio to open the exe file but i realize that there's no import functions found
-
I suggest posting on a site that supports wxWidgets or/and MinGW64.
Tim S.
If you find the solution at some other site feel free to post it in this thread. This question is not a Code::Blocks use question; so, it is not really a question that is valid for this site.
Note: You might try asking how to use Code::Blocks to debug an wxWidgets 2.9 app in another thread because it is a Code::Blocks question. No idea whether that would help solve the problem. I do not use the debugger enough to know all of what it can do.
Tim S.