Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml
A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2.7z
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
For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10.7z
For support of ansi builds, a link to the ansi windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw26_gcc_cb_wx2.6.3p2.7z
The 08 March 2007 build is out.
- Windows : http://prdownload.berlios.de/codeblocks/CB_20070308_rev3677_win32.7z
- Linux :
http://prdownload.berlios.de/codeblocks/CB_20070308_rev3677_Ubuntu6.xx.deb
http://prdownload.berlios.de/codeblocks/CB_20070308_rev3677_suse100-102.i586.rpm (not yet)
http://prdownload.berlios.de/codeblocks/CB_20070308_rev3677_fc4+5.i586.rpm (not yet)
Resolved Fixed:
- Fixed few duplicate menu mnemonics
- Bug-fix enabling unfolding of code when an error/warning line is selected/highlighted
- help_plugin: added support for variable substitution thru MacrosManager, not just $(keyword)
- Call wxUpdateUIEvent::SetUpdateInterval
- Fixed: [Bug #10540] VS .Net project and the 'Exclude from compilation' flag
Regressions/Confirmed/Annoying/Common bugs:
- toolbar-images-not-changing-state (is a wx problem/Win XP problem)
- menu items with icon not correctly aligned (since wx263) (is fixed with our special wx263/wx28 dll)
Ubuntu 6.10 Amd64 .deb installer can be found here (http://www.esnips.com/web/CodeBlocks).
Well I think I found a bug. I am using SVN 3577 (which is a little behind, I know). I was using gdb debugger and a console application. My application had a memory bug (thats why i was debugging) but i doubt that my program should affect codeblocks. Then I think i tried to abort and then tried to close my app then the menu froze and then code blocks froze.
Here is the reported error message from codeblocks.RPT:
QuoteError 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
Can you add style to c:B ? because I have be sick of white background screen, hope it use black background or other style that it looks as if linux.
Now, only Editor can set other colour as background.
Quote from: killerbot on March 08, 2007, 11:34:51 PM
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?
Quote from: saddam le pion on March 09, 2007, 06:26:48 AM
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?
There are no more steps. It works fine in my system. :)
Quote from: killerbot on March 08, 2007, 11:34:51 PM
- Fixed few duplicate menu mnemonics
- Bug-fix enabling unfolding of code when an error/warning line is selected/highlighted
Thanks for fixing up the code folding stuff. I'm happy to see it working nicely again. :)
Regarding the duplicate menu mnemonics, take a look at the find and replace dialogs:
Find (also Find in Files):
-"
Find" and "
From cursor" share the same one.
-"
Cancel" and "Match
case" do, too.
Replace (also Replace in Files):
-"
Replace with" and "
Replace"
-"
Cancel" and "Match
case"
Quote from: saddam le pion on March 09, 2007, 06:26:48 AM
Quote from: killerbot on March 08, 2007, 11:34:51 PM
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?
Quote from: Poobah on March 09, 2007, 07:19:18 AM
Regarding the duplicate menu mnemonics, take a look at the find and replace dialogs:
Thanks for pointing them. It has been fixed. :)
Debugging not working correctly: I can start a debug session (F8), but that is it. I cannot traverse further into the code with F7, shift-F7 or ctrl-F7. All debug options are grayed out except for disable debug.
Are there any patches to remove redundant method declarations from the class browser? It really confuses me if there are a lot of methods in a class and they are listed twice.
Hi,
I just tried using code::blocks and wxwidgets to learn creating C++ GUI programs.
I am using wxMSW 2.8.0 and the C::B 08 march 2007 build. MinGW 5.1.3.
I compiled wxWidgets using the cmd:
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=0 MONOLITHIC=1 BUILD=release UNICODE=1
Then I used the wxWidgets project wizard in C::B. The options I chose on the wizard pages are:
- wxWidgets 2.8.x
- wxSmith, Dialog Based
- GNU GCC Compiler, create debug and release configuration.
- use wxWidgets DLL = no, wxWidgets is built as monolithic library = yes, Enable unicode = yes.
- Additional libraries: I tried both none and only "wxWidgets JPEG Library"
I then selected "Release" then pressed F9.
But the build log is:
-------------- 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?
Sorry I am a newbie in this area, I know C++ only as much as using std::iostream :P
Thanks in advance! I hope this first obstacle is solved so I can start developing...
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
debug:
mingw32-g++.exe -Wall -g -g -I\usr\include -I"C:\Program Files\CodeBlocks\include" -IC:\mingw\include -c D:\programacao\Game\main.cpp -o obj\Debug\main.o
mingw32-g++.exe: installation problem, cannot exec `cc1plus':
Quote from: yuku on March 09, 2007, 05:32:52 PM
What's wrong with that?
Please add wxpng.lib, wxjpeg.lib. That would help you to compile it properly. :)
I think I've missed this particular configuration. Thanks for pointing the bug. I'll fix it soon.
Regards,
Biplab
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.
Quote from: watt on March 09, 2007, 05:35:09 PM
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
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
Quote from: yuku on March 09, 2007, 05:53:36 PM
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.
Goto Project>Build options menu, you'll see a Combo says Compiler settings. Select that and you'll find Linker settings option; select it. Now you'll see Link libraries listbox. Add the libraries there by clicking the
Add button below.
Regards,
Biplab
There was no wxpng.lib, wxjpeg.lib files, so I added libwxjpeg.a and libwxpng.a instead.
It then complains about some TIFF library and deflate something.. so I added libwxtiff.a and libwxzlib.a and it now compiles correctly and I can run it!
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 (?)
Again, thanks for your assistance!
Quote from: yuku on March 09, 2007, 06:13:24 PM
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 (?)
Wizard can't help you in this regard. The problem is even for the basic app, it needs them. The whole library is not linked, though. Only necessary portion of code are added by linker.
Wizard adds bare minimum lib required in each configuration. In your case, it's a monolithic build and therefore you are virtually adding all of them.
If you want to reduce executable size, go for VC. It'll give you reduced binary size.
Regards,
Biplab
Quote from: Biplab on March 09, 2007, 05:54:14 PM
Quote from: watt on March 09, 2007, 05:35:09 PM
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
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
its de nightly and i install MinGW-5.1.3.exe
I recompiled wxWidgets with MONOLITHIC=0 and made a new project in C::B. but the resulting exe size is still the same.
Any way to exclude those unneeded library?
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
Quote from: Alturin on March 09, 2007, 09:10:08 AM
Quote from: saddam le pion on March 09, 2007, 06:26:48 AM
Quote from: killerbot on March 08, 2007, 11:34:51 PM
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?
That's what i did, with no success, on my PC with XP Home. I tried at work on a temporary PC with XP Pro, with success.
So there seems to be a difference between the different versions of XP :?:
Quote from: Biplab on March 09, 2007, 06:39:35 PM
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
the MinGW Runtime Library have a exe ??... how to install ??
@watt,
Download it from:
Quotehttp://prdownloads.sourceforge.net/mingw/mingw-runtime-3.11.tar.gz?download
Extract the contents to C:\MinGW folder. That's it. :)
@yuku
I've updated the wizard. Now you won't to add additional libraries them manually. :)
Thanks for the feedback.
Regards,
Biplab
Biplab
i make this, but dont resolve the errors
Can you compile a simple console program? Where did you install MinGW?
@watt: please start a new topic for any problem you have. This topic is the announcement of a nightly, not support for it.
Quote from: Biplab on March 09, 2007, 07:34:50 PM
Can you compile a simple console program? Where did you install MinGW?
no how can compile ??? i will open a new topic in help