Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on November 05, 2006, 06:33:45 pm

Title: The 05 november 2006 build is out.
Post by: killerbot on November 05, 2006, 06:33:45 pm
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

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 05 November 2006 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20061105_rev3183_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20061105_rev3183_Ubuntu6.06.deb (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20061105_rev3183_suse100+101.rpm (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20061105_rev3183_fc4+5.rpm (not yet)


Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 05 november 2006 build is out.
Post by: nzoltan on November 06, 2006, 02:40:06 pm
Hi,

I still have a crash when I click the "Settings->Compiler and Debugger". Fedora 4.


Code
<?xml version="1.0" encoding="utf-8"?>
<report version="1.0" kind="exception">
  <system description="Linux 2.6.11-1.1370_FC4 i686"/>
  <modules>
    <module path="/lib/libpthread-2.3.5.so" address="00111000" size="00010000" version="2.3.5"/>
    <module path="/lib/libdl-2.3.5.so" address="00123000" size="00004000" version="2.3.5"/>
    <module path="/usr/lib/libstdc++.so.6.0.7" address="001fc000" size="00005000" version="6.0.7"/>
    <module path="/lib/libm-2.3.5.so" address="00206000" size="00025000" version="2.3.5"/>
    <module path="/lib/libgcc_s-4.0.2-20051126.so.1" address="00234000" size="00001000" version="1"/>
    <module path="/lib/libc-2.3.5.so" address="00358000" size="00004000" version="2.3.5"/>
    <module path="/usr/lib/libpangoxft-1.0.so.0.800.1" address="0035e000" size="00006000" version="0.800.1"/>
    <module path="/usr/lib/libgmodule-2.0.so.0.600.6" address="00367000" size="00001000" version="0.600.6"/>
    <module path="/usr/lib/libz.so.1.2.2.2" address="0036a000" size="00013000" version="1.2.2.2"/>
    <module path="/usr/lib/libatk-1.0.so.0.901.0" address="00391000" size="00003000" version="0.901.0"/>
    <module path="/usr/lib/libgdk_pixbuf-2.0.so.0.600.10" address="003a8000" size="00002000" version="0.600.10"/>
    <module path="/usr/lib/libpangox-1.0.so.0.800.1" address="003b4000" size="00001000" version="0.800.1"/>
    <module path="/usr/lib/libpango-1.0.so.0.800.1" address="003e5000" size="00006000" version="0.800.1"/>
    <module path="/usr/X11R6/lib/libXinerama.so.1.0" address="003ed000" size="00001000" version="1.0"/>
    <module path="/usr/X11R6/lib/libXrandr.so.2.0" address="003f1000" size="00001000" version="2.0"/>
    <module path="/usr/X11R6/lib/libXi.so.6.0" address="003f9000" size="00001000" version="6.0"/>
    <module path="/usr/lib/libgdk-x11-2.0.so.0.600.10" address="00477000" size="00007000" version="0.600.10"/>
    <module path="/usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2" address="0047f000" size="00001000" version="2"/>
    <module path="/usr/lib/libwx_baseu-2.6.so.0.3.1" address="0059a000" size="0000f000" version="0.3.1"/>
    <module path="/usr/lib/libwx_baseu_xml-2.6.so.0.3.1" address="005b8000" size="0000a000" version="0.3.1"/>
    <module path="/usr/X11R6/lib/libXxf86vm.so.1.0" address="005c8000" size="00001000" version="1.0"/>
    <module path="/usr/lib/libwx_gtk2u_xrc-2.6.so.0.3.1" address="0064d000" size="00005000" version="0.3.1"/>
    <module path="/usr/lib/libwx_gtk2u_adv-2.6.so.0.3.1" address="00655000" size="000a5000" version="0.3.1"/>
    <module path="/usr/lib/libjpeg.so.62.0.0" address="006fc000" size="0001f000" version="62.0.0"/>
    <module path="/usr/lib/libgthread-2.0.so.0.600.6" address="00720000" size="00001000" version="0.600.6"/>
    <module path="/usr/lib/libwx_baseu_net-2.6.so.0.3.1" address="0074e000" size="00002000" version="0.3.1"/>
    <module path="/usr/X11R6/lib/libXft.so.2.1.2" address="00762000" size="00001000" version="2.1.2"/>
    <module path="/usr/X11R6/lib/libXfixes.so.3.0" address="00767000" size="00001000" version="3.0"/>
    <module path="/usr/lib/gconv/ISO8859-1.so" address="00769000" size="00002000" version="1"/>
    <module path="/lib/ld-2.3.5.so" address="00786000" size="00002000" version="2.3.5"/>
    <module path="/usr/lib/libcodeblocks.so.0.0.1" address="00ba9000" size="0001a000" version="0.0.1"/>
    <module path="/usr/X11R6/lib/libXcursor.so.1.0.2" address="00bc9000" size="0000a000" version="1.0.2"/>
    <module path="/usr/X11R6/lib/libXrender.so.1.2.2" address="00bda000" size="00001000" version="1.2.2"/>
    <module path="/usr/lib/pango/1.4.0/modules/pango-basic-fc.so" address="00bdd000" size="00001000" version="fc"/>
    <module path="/usr/lib/libwx_gtk2u_qa-2.6.so.0.3.1" address="00c01000" size="00002000" version="0.3.1"/>
    <module path="/usr/lib/libgtk-x11-2.0.so.0.600.10" address="00ed0000" size="00027000" version="0.600.10"/>
    <module path="/usr/lib/libgobject-2.0.so.0.600.6" address="00efa000" size="0003c000" version="0.600.6"/>
    <module path="/usr/lib/libglib-2.0.so.0.600.6" address="00fba000" size="00005000" version="0.600.6"/>
    <module path="/usr/lib/libpng12.so.0.1.2.8" address="00fe2000" size="00001000" version="0.1.2.8"/>
    <module path="/usr/lib/libexpat.so.0.5.0" address="01000000" size="00002000" version="0.5.0"/>
    <module path="/usr/share/codeblocks/plugins/libcompiler.so" address="01a03000" size="000d6000"/>
    <module path="/usr/share/codeblocks/plugins/libautosave.so" address="01ada000" size="0000c000"/>
    <module path="/usr/share/codeblocks/plugins/libastyle.so" address="01b12000" size="00002000"/>
    <module path="/usr/share/codeblocks/plugins/libtodo.so" address="01b31000" size="00002000"/>
    <module path="/usr/share/codeblocks/plugins/libdebugger.so" address="01bb3000" size="00005000"/>
    <module path="/usr/lib/gtk-2.0/2.4.0/engines/libclearlooks.so" address="02100000" size="00011000" version="2.0/2.4.0/engines/libclearlooks"/>
    <module path="/usr/share/codeblocks/plugins/libscriptedwizard.so" address="04546000" size="0005b000"/>
    <module path="/usr/lib/libgnomeprintui-2-2.so.0.1.0" address="046bf000" size="00003000" version="0.1.0"/>
    <module path="/usr/X11R6/lib/libXext.so.6.4" address="048a3000" size="00001000" version="6.4"/>
    <module path="/usr/lib/libpangoft2-1.0.so.0.800.1" address="04ac8000" size="00002000" version="0.800.1"/>
    <module path="/usr/share/codeblocks/plugins/libdefaultmimehandler.so" address="04c4b000" size="00001000"/>
    <module path="/usr/lib/libart_lgpl_2.so.2.3.17" address="05110000" size="00001000" version="2.3.17"/>
    <module path="/usr/lib/libgnomeprint-2-2.so.0.1.0" address="05517000" size="00006000" version="0.1.0"/>
    <module path="/usr/lib/libfontconfig.so.1.0.4" address="05631000" size="00003000" version="1.0.4"/>
    <module path="/usr/lib/libgnomecanvas-2.so.0.1000.0" address="05a88000" size="00029000" version="0.1000.0"/>
    <module path="/usr/lib/libfreetype.so.6.3.7" address="05bc0000" size="00007000" version="6.3.7"/>
    <module path="/lib/libnss_files-2.3.5.so" address="063a2000" size="00002000" version="2.3.5"/>
    <module path="/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.so" address="063f3000" size="00002000" version="xpm"/>
    <module path="/usr/X11R6/lib/libX11.so.6.2" address="06577000" size="00004000" version="6.2"/>
    <module path="/usr/share/codeblocks/plugins/libclasswizard.so" address="06636000" size="00001000"/>
    <module path="/usr/lib/libxml2.so.2.6.19" address="06743000" size="00008000" version="2.6.19"/>
    <module path="/usr/lib/libtiff.so.3.7.1" address="068a3000" size="00055000" version="3.7.1"/>
    <module path="/usr/share/codeblocks/plugins/libcodecompletion.so" address="06cf2000" size="00004000"/>
    <module path="/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so" address="07829000" size="00005000" version="png"/>
    <module path="/usr/lib/libSDL-1.2.so.0.7.1" address="079bd000" size="00002000" version="0.7.1"/>
    <module path="/usr/lib/libwx_gtk2u_html-2.6.so.0.3.1" address="079dc000" size="00090000" version="0.3.1"/>
    <module path="/usr/lib/libwx_gtk2u_core-2.6.so.0.3.1" address="07d4c000" size="00028000" version="0.3.1"/>
    <module path="/usr/bin/codeblocks" address="08048000" size="00099000"/>
    <module path="[heap]" address="086c0000" size="00ab4000"/>
    <module path="/usr/X11R6/lib/X11/fonts/Type1/l047016t.pfa" address="b7b1d000" size="00014000"/>
    <module path="/SYSV00000000" address="b7b44000" size="000c3000"/>
    <module path="/usr/share/icons/hicolor/icon-theme.cache" address="b7c2c000" size="00010000"/>
    <module path="/usr/share/icons/Bluecurve/icon-theme.cache" address="b7c41000" size="0001a000"/>
    <module path="/usr/X11R6/lib/X11/fonts/Type1/l048013t.pfa" address="b7c5c000" size="00012000"/>
    <module path="/usr/lib/gconv/gconv-modules.cache" address="b7d23000" size="00006000"/>
    <module path="[stack]" address="bf839000" size="00014000"/>
  </modules>
  <stack>
    <frame level="2" function="wxStackWalker::Walk(unsigned int)" offset="00000030"/>
    <frame level="3" function="wxDebugReport::AddContext(wxDebugReport::Context)" offset="00000a16"/>
    <frame level="4" function="wxDebugReport::AddAll(wxDebugReport::Context)" offset="00000018"/>
    <frame level="5" function="wxHtmlWindow::LoadPage(wxString const&amp;)" offset="00000ce8"/>
    <frame level="6" function="wxFatalSignalHandler" offset="00000026"/>
    <frame level="7"/>
    <frame level="8"/>
    <frame level="9" function="MainFrame::OnSettingsCompilerDebugger(wxCommandEvent&amp;)" offset="00000027"/>
    <frame level="10" function="wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&amp;), wxEvent&amp;) const" offset="00000031"/>
    <frame level="11" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&amp;, wxEvtHandler*, wxEvent&amp;)" offset="0000007d"/>
    <frame level="12" function="wxEventHashTable::HandleEvent(wxEvent&amp;, wxEvtHandler*)" offset="00000074"/>
    <frame level="13" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="000000bd"/>
    <frame level="14" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="15" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="16" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="17" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="18" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="19" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="20" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="21" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="22" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="23" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="24" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="25" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="26" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="27" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="28"/>
    <frame level="29" function="g_cclosure_marshal_VOID__VOID" offset="00000047"/>
    <frame level="30" function="g_closure_invoke" offset="0000010a"/>
    <frame level="31"/>
    <frame level="32" function="g_signal_emit_valist" offset="000006ab"/>
    <frame level="33" function="g_signal_emit" offset="00000029"/>
    <frame level="34" function="gtk_widget_activate" offset="0000008a"/>
    <frame level="35" function="gtk_menu_shell_activate_item" offset="000000d0"/>
    <frame level="36"/>
    <frame level="37"/>
    <frame level="38"/>
    <frame level="39"/>
    <frame level="40" function="g_closure_invoke" offset="0000010a"/>
    <frame level="41"/>
    <frame level="42" function="g_signal_emit_valist" offset="0000041e"/>
    <frame level="43" function="g_signal_emit" offset="00000029"/>
    <frame level="44"/>
    <frame level="45" function="gtk_propagate_event" offset="000000c1"/>
    <frame level="46" function="gtk_main_do_event" offset="00000329"/>
    <frame level="47"/>
    <frame level="48" function="g_main_context_dispatch" offset="000001dc"/>
    <frame level="49"/>
    <frame level="50" function="g_main_loop_run" offset="000001a1"/>
    <frame level="51" function="gtk_main" offset="000000b4"/>
    <frame level="52" function="wxEventLoop::Run()" offset="00000052"/>
    <frame level="53" function="wxAppBase::MainLoop()" offset="0000004c"/>
    <frame level="54" function="wxAppBase::OnRun()" offset="00000021"/>
    <frame level="55"/>
    <frame level="56" function="wxEntry(int&amp;, wchar_t**)" offset="0000005c"/>
    <frame level="57" function="wxEntry(int&amp;, char**)" offset="00000032"/>
    <frame level="58" function="wxMemoryFSHandlerBase::OpenFile(wxFileSystem&amp;, wxString const&amp;)" offset="000001e3"/>
  </stack>
</report>
Title: Re: The 05 november 2006 build is out.
Post by: nzoltan on November 06, 2006, 03:12:40 pm
So, kdbg is my friend. The segfault is

compilersettingsdlg.cpp, line 78


[attachment deleted by admin]
Title: Re: The 05 november 2006 build is out.
Post by: killerbot on November 06, 2006, 03:23:42 pm
are your xrc's up to date  and installed  !!

This is about the plug-in check list on the batch build tab.
xrc : app_compiler_settings.xrc which should be in the resources.zip -> check that one and see if you can find :
Code
                    <object class="sizeritem">
                      <object class="wxCheckListBox" name="chkBBPlugins">
                        <content/>
                      </object>
                      <option>1</option>
                      <flag>wxALL|wxGROW</flag>
                      <border>4</border>
                    </object>
Title: Re: The 05 november 2006 build is out.
Post by: nzoltan on November 06, 2006, 03:34:06 pm
Okay. Works. :), BUT:

in my nigthly source tree:

- src/src/app_compiler_settings.xrc are up to date
- but, src/src/resources.zip IS NOT up to date

and make install is NOT update this src/src/resources.zip, just copy this obsolete file to /usr/share/codeblocks dir.

I delete the src/src/resources.zip, and run a make install, and Works. Thanks...
Title: Re: The 05 november 2006 build is out.
Post by: killerbot on November 06, 2006, 04:23:14 pm
do before a make firstly : 'make clean-zipfiles'   :P
Title: Re: The 05 november 2006 build is out.
Post by: nzoltan on November 06, 2006, 04:28:35 pm
Cool. :)
Title: Re: The 05 november 2006 build is out.
Post by: gjsmo on November 06, 2006, 07:58:05 pm
When I try to open Code::Blocks, I get an error message saying that I must have the mingwm10 dll installed. I already have MinGW installed, though it is installed with the MinGW 5.0.3 installer. This has never happened before with the nightly builds. Any ideas as to why this might happen?
Title: Re: The 05 november 2006 build is out.
Post by: thomas on November 06, 2006, 08:23:18 pm
I get an error message saying that I must have the mingwm10 dll installed. I already have MinGW installed, though it is installed with the MinGW 5.0.3 installer. This has never happened before with the nightly builds. Any ideas as to why this might happen?
You probably changed the path environment then. That DLL needs to bei either in the Code::Blocks folder (copy it there) or in a folder that is in the PATH environment.
You can copy the one from your MinGW installation or use the one available with the nightly builds, it's the same one.
Title: Re: The 05 november 2006 build is out.
Post by: gjsmo on November 07, 2006, 12:10:57 am
I get an error message saying that I must have the mingwm10 dll installed. I already have MinGW installed, though it is installed with the MinGW 5.0.3 installer. This has never happened before with the nightly builds. Any ideas as to why this might happen?
You probably changed the path environment then. That DLL needs to bei either in the Code::Blocks folder (copy it there) or in a folder that is in the PATH environment.
You can copy the one from your MinGW installation or use the one available with the nightly builds, it's the same one.
Thanks! Works fine now.
Title: Re: The 05 november 2006 build is out.
Post by: Walter Z on November 07, 2006, 10:00:52 am
Hi,

I'm trying to build a multithreaded app (Win 32), but in the Project build options dialog, I can't find the right place to set the multithread option. Neither in the "Compiler Flags" page (screenshot http://www.walterzorn.com/temp/cbflags.png (http://www.walterzorn.com/temp/cbflags.png)), nor anywhere else.

Am I missing something obvious, could this be some issue with my installation, or is this a new issue (I'm using CB nighly builds for quite a while (happily!), but have never looked for the multithread option before).

Thanks!
Walter

Title: Re: The 05 november 2006 build is out.
Post by: joasto on November 07, 2006, 11:13:31 am
Got an error message saying an entry point in wxmsw26u_gcc_cb.dll is missing.
I'm attaching the popup for reference.

[attachment deleted by admin]
Title: Re: The 05 november 2006 build is out.
Post by: krgh on November 07, 2006, 02:23:16 pm
Mr joasto 

    can u kindly verify whether u have the recquired unicode windows wxWidget dll files in the codeblocks folder specifically wxmsw26u_gcc_cb.dll

regards
gururaja
Title: Re: The 05 november 2006 build is out.
Post by: joasto on November 07, 2006, 03:32:31 pm
Yes, it's there.

C:\CodeBlocks\CB_20061105_rev3183_win32\wxmsw26u_gcc_cb.dll
Title: Re: The 05 november 2006 build is out.
Post by: TDragon on November 07, 2006, 05:16:46 pm
I can't find the right place to set the multithread option.
Simple applications that make use of multithreading shouldn't need any additional compiler flags. If you need thread-safe exceptions, however, the GCC manual (http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/i386-and-x86_002d64-Options.html#index-mthreads-991) advises the use of the "-mthreads" option, during both the compiling and linking phases. (I note that C::B itself only uses -mthreads during the compiling phase.) You would set this in the "Other Options" areas of the Compiler and Linker tabs of your project's build options.
Title: Re: The 05 november 2006 build is out.
Post by: gjsmo on November 07, 2006, 08:34:15 pm
Got an error message saying an entry point in wxmsw26u_gcc_cb.dll is missing.
I'm attaching the popup for reference.
Try downloading the DLL again. Unzip it into your WINDOWS folder - you won't have to do it again unless you still get the error. If you have C:\MinGW\bin (or its equivalent) in your PATH, unzip it there instead. You really don't want to clutter up your WINDOWS folder if you can help it. Delete one in your codeblocks folder - it's probably corrupt (no, it is corrupt).
Title: Re: The 05 november 2006 build is out.
Post by: Walter Z on November 07, 2006, 09:11:55 pm
Quote
Simple applications that make use of multithreading shouldn't need any additional compiler flags.

Thanks!
Title: Re: The 05 november 2006 build is out.
Post by: Belgabor on November 07, 2006, 10:27:41 pm
Got an error message saying an entry point in wxmsw26u_gcc_cb.dll is missing.
I'm attaching the popup for reference.
Try downloading the DLL again. Unzip it into your WINDOWS folder - you won't have to do it again unless you still get the error. If you have C:\MinGW\bin (or its equivalent) in your PATH, unzip it there instead. You really don't want to clutter up your WINDOWS folder if you can help it. Delete one in your codeblocks folder - it's probably corrupt (no, it is corrupt).

I would recommend against that. Put it in the same folder as the C::B executable.
Title: Re: The 05 november 2006 build is out.
Post by: Freddy on November 08, 2006, 02:47:25 am
I include <windows.h> but, code completion for some API's like CreateFile() doesn't work. Although for API's like MessageBox() is does work.
Any ideas?
Title: Re: The 05 november 2006 build is out.
Post by: TDragon on November 08, 2006, 05:27:44 am
I include <windows.h> but, code completion for some API's like CreateFile() doesn't work. Although for API's like MessageBox() is does work.
Any ideas?

Win32 uses macros. Lots of them. In strange and wonderful/awful ways. Code completion doesn't like macros.

The most common culprit is the fact that a ton of Win32 functions are actually macros typedef-ed to either the ANSI or Unicode version of the actual function. Whether this is the limiting factor in your case, I couldn't say. Suffice it to be known that, as always, code completion is a work in progress with known bugs and limitations.