Error occured on Thursday, March 8, 2007 at 19:39:27.
C:\Documents and Settings\Nico\Desktop\CB\codeblocks.exe caused an Access Violation at location 619d8b96 in module C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll Writing to location 00000004.
Registers:
eax=00000001 ebx=00000000 ecx=00000001 edx=03bc2230 esi=00000001 edi=0400afcc
eip=619d8b96 esp=0022f608 ebp=0022f620 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246
Call stack:
619D8B96 C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:619D8B96 _ZN18wxBaseArrayPtrVoid3AddEPKvj
6D8D6AF1 C:\Documents and Settings\Nico\Desktop\CB\share\codeblocks\plugins\debugger.dll:6D8D6AF1
6D88C5B5 C:\Documents and Settings\Nico\Desktop\CB\share\codeblocks\plugins\debugger.dll:6D88C5B5
6D8B69C5 C:\Documents and Settings\Nico\Desktop\CB\share\codeblocks\plugins\debugger.dll:6D8B69C5
6D897CB2 C:\Documents and Settings\Nico\Desktop\CB\share\codeblocks\plugins\debugger.dll:6D897CB2
6D89B07D C:\Documents and Settings\Nico\Desktop\CB\share\codeblocks\plugins\debugger.dll:6D89B07D
61A6A9C8 C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61A6A9C8 _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
61A6AD8C C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61A6AD8C _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
61A6BD69 C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61A6BD69 _ZN12wxEvtHandler12ProcessEventER7wxEvent
61A6BBA6 C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61A6BBA6 _ZN12wxEvtHandler20ProcessPendingEventsEv
619C1C94 C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:619C1C94 _ZN12wxAppConsole20ProcessPendingEventsEv
61E1A0D8 C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61E1A0D8 _ZN18wxHtmlSearchStatus8IsActiveEv
77D4EAF2 C:\WINDOWS\system32\USER32.dll:77D4EAF2 EnableMenuItem
77D4EA9E C:\WINDOWS\system32\USER32.dll:77D4EA9E EnableMenuItem
77D4EBF3 C:\WINDOWS\system32\USER32.dll:77D4EBF3 CallNextHookEx
7C90EAE3 C:\WINDOWS\system32\ntdll.dll:7C90EAE3 KiUserCallbackDispatcher
61AAD194 C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61AAD194 _ZN11wxEventLoop8DispatchEv
61AAD020 C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61AAD020 _ZN11wxEventLoop3RunEv
61B474FE C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61B474FE _ZN9wxAppBase8MainLoopEv
00404C46 C:\Documents and Settings\Nico\Desktop\CB\codeblocks.exe:00404C46
61A03C97 C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61A03C97 _Z14wxUninitializev
61A73C9A C:\Documents and Settings\Nico\Desktop\CB\wxmsw26u_gcc_cb.dll:61A73C9A _Z7wxEntryP11HINSTANCE__S0_Pci
00401874 C:\Documents and Settings\Nico\Desktop\CB\codeblocks.exe:00401874
0047177A C:\Documents and Settings\Nico\Desktop\CB\codeblocks.exe:0047177A
00401237 C:\Documents and Settings\Nico\Desktop\CB\codeblocks.exe:00401237
00401288 C:\Documents and Settings\Nico\Desktop\CB\codeblocks.exe:00401288
7C816FD7 C:\WINDOWS\system32\kernel32.dll:7C816FD7 RegisterWaitForInputIdle
To fix the menu alignment bug introduced in wx 2.6.3 [windows only bug] we have patched wx ourselves, and that results in the following alternative dll : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2AndCbPatch_version3.7z
I downloaded it, extract the file and put it in the same directory as codeblocks.exe, but nothing happens: the bug is still there.
What is the next step?
- Fixed few duplicate menu mnemonics
- Bug-fix enabling unfolding of code when an error/warning line is selected/highlighted
To fix the menu alignment bug introduced in wx 2.6.3 [windows only bug] we have patched wx ourselves, and that results in the following alternative dll : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2AndCbPatch_version3.7z
I downloaded it, extract the file and put it in the same directory as codeblocks.exe, but nothing happens: the bug is still there.
What is the next step?
Regarding the duplicate menu mnemonics, take a look at the find and replace dialogs:
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=0 MONOLITHIC=1 BUILD=release UNICODE=1
-------------- Build: Release in CobaCodeBlocks7 ---------------
Compiling: CobaCodeBlocks7Main.cpp
Compiling: resource.rc
Compiling: CobaCodeBlocks7App.cpp
Linking executable: bin\Release\CobaCodeBlocks7.exe
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x2c9): undefined reference to `png_get_io_ptr'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x309): undefined reference to `png_get_io_ptr'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x37f): undefined reference to `png_get_io_ptr'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x460): undefined reference to `png_get_io_ptr'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x677): undefined reference to `png_create_read_struct'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x6aa): undefined reference to `png_set_read_fn'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x6b8): undefined reference to `png_create_info_struct'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x796): undefined reference to `png_destroy_read_struct'
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagpng.o):imagpng.cpp:(.text+0x816): undefined reference to `png_read_info'
.... and so on...
D:\prog\wxWidgets\lib\gcc_lib/libwxmsw28u.a(monolib_imagjpeg.o):imagjpeg.cpp:(.text+0xc92): undefined reference to `jpeg_set_quality'
Process terminated with status 1 (0 minutes, 8 seconds)
50 errors, 0 warnings
What's wrong with that?
today i install this version in my pc(windows) ... but i can't build my projects.
appear this error:
Release:
mingw32-g++.exe -L\usr\lib -L"C:\Program Files\CodeBlocks\lib" -o bin\Release\Game.exe obj\Release\main.o -s -lglut -lGL -lGLU -lXxf86vm -mwindows
ld: crt2.o: No such file: No such file or directory
Thanks! That gave me a new light!
But I'm really a newbie in C++ and C::B IDE, can you point me how to do that? I looked up through the project options but cannot find any.
However the resulting exe file is 2.8 MB, after UPX 856 KB.
I read at http://www.wxwidgets.org/wiki/index.php/Reducing_Executable_Size that unused library should be out,
the TIFF library alone is 300 KB. I suppose that adding the 4 .a files means that png,jpeg,tiff,zlib is included in the exe file
which means bigger exe size, am I right? I think the wizard should be able to exclude it (?)
its de nightly and i install MinGW-5.1.3.exetoday i install this version in my pc(windows) ... but i can't build my projects.
appear this error:
Release:
mingw32-g++.exe -L\usr\lib -L"C:\Program Files\CodeBlocks\lib" -o bin\Release\Game.exe obj\Release\main.o -s -lglut -lGL -lGLU -lXxf86vm -mwindows
ld: crt2.o: No such file: No such file or directory
Are you using RC2?? If yes, please download a latest nightly.
The error however says that MinGW runtime libraries are missing. Install them and that will solve your problem.
Regards,
Biplab
To fix the menu alignment bug introduced in wx 2.6.3 [windows only bug] we have patched wx ourselves, and that results in the following alternative dll : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2AndCbPatch_version3.7z
I downloaded it, extract the file and put it in the same directory as codeblocks.exe, but nothing happens: the bug is still there.
What is the next step?
Silly question, but did you open the .7 archive and use it instead of the normal lib?
Actually the exe size does not depend on Monolithic or Non-monolithic configurations. The actual amount of basic wx code added will remain same. :)
@watt
You install MinGW Runtime Library to avoid that error.
Regards,
Biplab
http://prdownloads.sourceforge.net/mingw/mingw-runtime-3.11.tar.gz?download
Can you compile a simple console program? Where did you install MinGW?