Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on April 13, 2009, 08:34:01 pm

Title: The 13 April 2009 build (5535) is out.
Post by: killerbot on April 13, 2009, 08:34:01 pm
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works (http://forums.codeblocks.org/index.php/topic,3232.0.html).

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx2810.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10_gcc421.7z

The 13 April 2009 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20090413_rev5535_win32.7z
  - Linux :
   none

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 13 April 2009 build (5535) is out.
Post by: Jenna on April 13, 2009, 10:10:23 pm
I just uploaded the debian binaries and sources to my server, or better I just added them to the archive, I uploaded them yesterday and so the revision is 5532.

The only missing commit is
  • Modified: Code::Blocks configuration directory retrieval code to make it portable on Windows

So the difference doesn't mtter on non windows systems (except for user who want to use the sources on windows).
Title: Re: The 13 April 2009 build (5535) is out.
Post by: ollydbg on April 14, 2009, 01:51:16 am
Thanks for all the devs' hard working.
Download and test it! :D

By the way, to run CB in portable mode. Do I need to copy the "CbLauncher.exe" to the installed folder?

Thanks :D
Title: Re: The 13 April 2009 build (5535) is out.
Post by: critic on April 14, 2009, 09:55:01 am
Hi!
Maybe nobody read my message about using C::B with Qt (it was the last in "Re: The 28 March 2009 build (5489) is out, Reply #41")
Please, say what you think about it.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: Jenna on April 14, 2009, 10:03:43 am
Hi!
Maybe nobody read my message about using C::B with Qt (it was the last in "Re: The 28 March 2009 build (5489) is out, Reply #41")
Please, say what you think about it.


It would be better to provide a link to your post, because finding it as Reply #41 is not really easy: http://forums.codeblocks.org/index.php/topic,10311.msg71617.html#msg71617 (http://forums.codeblocks.org/index.php/topic,10311.msg71617.html#msg71617)

I will answer there.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: incorrect user on April 14, 2009, 10:10:00 am
So when you at least realize the "Export Makefile" feature? It'd be REALLY useful. Especially with automatic configure script generation.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: Biplab on April 14, 2009, 10:11:13 am
By the way, to run CB in portable mode. Do I need to copy the "CbLauncher.exe" to the installed folder?

Yes. Otherwise C::B will behave as installed app.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: critic on April 14, 2009, 11:52:25 am
OK! Criticism about using links was applyed.

How can I change default C::B behaviour of project building feature with C::B plugin to build Qt project without using custom makefile feature of c::B?
Maybe some howto exists or someone can answer here (if it simple) or has any ideas?
I'm in desperate situation!!!
Title: Re: The 13 April 2009 build (5535) is out.
Post by: Xaviou on April 14, 2009, 06:21:02 pm
Ubuntu 7.04 to 8.10 Amd64 tar.gz archive (containing '.deb' installers builds with wx289) can be found  here (http://www.archive-host.com/compteur.php?url=http://codeblocks.archive-host.com/CB_20090413_802_rev5534_Ubuntu704-810_wx289_amd64tar.gz) (direct link).
Title: Re: The 13 April 2009 build (5535) is out.
Post by: pasgui on April 14, 2009, 11:13:06 pm
Build for Ubuntu i386/amd64 can be found here (http://lgp203.free.fr/spip/spip.php?article1)

Best regards, pasgui
Title: Re: The 13 April 2009 build (5535) is out.
Post by: kolku on April 15, 2009, 04:27:32 pm
I use C::B with a "custom makefile".  Actually I use SCons rather than make, however in this version of C::B it seems to completely ignore the "Make" commands that I have specified.  In other words it always gives me grief about their not being a Makefile, or there is nothing to do in the Makefile.  I noticed there was some changes related to this area in this release, so I was wondering if something got broke somehow.  An easy way to test would be to simply setup a project as a custom makefile project and change your build lines to execute a helloworld script or something and see that output come out in the BuildLog tab.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: Jenna on April 15, 2009, 04:50:04 pm
I use C::B with a "custom makefile".  Actually I use SCons rather than make, however in this version of C::B it seems to completely ignore the "Make" commands that I have specified.  In other words it always gives me grief about their not being a Makefile, or there is nothing to do in the Makefile.  I noticed there was some changes related to this area in this release, so I was wondering if something got broke somehow.  An easy way to test would be to simply setup a project as a custom makefile project and change your build lines to execute a helloworld script or something and see that output come out in the BuildLog tab.

It still works for me.

One change that might have break your project, is that project-wide make command is only used if no target specific make commmand exists.
I'm not sure if the change came with this or the previous nightly.
You are now also able to specify the directory where the makefile is located (there is no need to have it in the projects base-path since the previous nightly).
Title: Re: The 13 April 2009 build (5535) is out.
Post by: critic on April 16, 2009, 08:19:03 am
Guys, who can say, where I can discuss my topic: http://forums.codeblocks.org/index.php/topic,10406.msg71662.html#msg71662
Some additional information can be found at http://forums.codeblocks.org/index.php/topic,10311.msg71617.html#msg71617
Title: Re: The 13 April 2009 build (5535) is out.
Post by: wagb278 on April 17, 2009, 03:58:38 am
Not sure this is the correct place for this message - so move it if appropriate

Since updating to SVN 5534 none of my projects will open on Code::Blocks.  Was there a change that requires me to do something to the project files?

I get the SVN updates via Ubuntu package manager updates as third party updates which has always worked before. I notice the build number is one less than this message thread title. Does that have something to do with my issue?

The About dialog says I am running: svn build rev 5534 (2009-04-13 14:47:54) gcc 3.1.2 Linux/unicode

I get a dialog saying - "Can't open file. Do you want to remove if from the recent file list?"

I am running on Ubuntu 64-bit.  It is not a file permission access problem (they are under my home directory).
Title: Re: The 13 April 2009 build (5535) is out.
Post by: dk on April 17, 2009, 09:00:01 am
Hello,

I've got a crash of Code::Blocks last nightly , when moving toolbars or other windows.

Example of the error:
Code
(codeblocks:10588): Gtk-CRITICAL **: gtk_text_layout_set_preedit_string: assertion `GTK_IS_TEXT_LAYOUT (layout)' failed
The program 'codeblocks' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 50258 error_code 3 request_code 15 minor_code 0)

Code::Blocks svn 5535
wxGTK 2.8.9
ALT Linux Sisyphus distribution.

Updated:

Hm, I see the same problems with the older nightly builds, but the older nightly looks more stable.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: ollydbg on April 17, 2009, 09:37:33 am
@dk.
In my windows system, I always get crash when I drag the toolbar.
See my post here, Is it related issue?
http://forums.codeblocks.org/index.php/topic,9648.msg67823.html#msg67823

Someone suggests using a old wxWidgets library. :D
Title: Re: The 13 April 2009 build (5535) is out.
Post by: thomas on April 17, 2009, 11:45:08 am
I've got a crash of Code::Blocks last nightly , when moving toolbars or other windows.
Yes, I've seen this happen under Ubuntu (using the official build bundled with Jaunty Jackalope) too, but only when running Code::Blocks on a remote X server. On top of that, Code::Blocks is practically unusable in that environment, as it takes between half a second and two seconds before a mouse click is realized (1000 MBit network with about 3 meters total cable length). It takes about 20 seconds just to start up, as well.
The same copy of Code::Blocks started locally on the same machine fires up in little over a second, runs perfectly reliably, and exposes the same perceived speed as the Windows build. All other applications that I'm using work seemingly the same whether run locally or via network (no noticeable difference at all).

Not sure what it is, but I guess wxGTK is having an issue there, somehow the event loop not coping well with network, or whatever...?
Title: Re: The 13 April 2009 build (5535) is out.
Post by: mmkider on April 17, 2009, 12:08:22 pm
I've got a crash of Code::Blocks last nightly , when moving toolbars or other windows.
Yes, I've seen this happen under Ubuntu (using the official build bundled with Jaunty Jackalope) too, but only when running Code::Blocks on a remote X server. On top of that, Code::Blocks is practically unusable in that environment, as it takes between half a second and two seconds before a mouse click is realized (1000 MBit network with about 3 meters total cable length). It takes about 20 seconds just to start up, as well.
The same copy of Code::Blocks started locally on the same machine fires up in little over a second, runs perfectly reliably, and exposes the same perceived speed as the Windows build. All other applications that I'm using work seemingly the same whether run locally or via network (no noticeable difference at all).

Not sure what it is, but I guess wxGTK is having an issue there, somehow the event loop not coping well with network, or whatever...?
See my post(Sorry, I lost the  password of mmkider :( ), and add one line code.
I always  "never" get crash when I drag the toolbar. :lol:
 
http://wxforum.shadonet.com/viewtopic.php?t=23624&highlight=bug+wxmsw

Title: Re: The 13 April 2009 build (5535) is out.
Post by: pasgui on April 17, 2009, 01:21:23 pm
I am running on Ubuntu 64-bit.  It is not a file permission access problem (they are under my home directory).

Which version of Ubuntu ?

Best regards, pasgui
Title: Re: The 13 April 2009 build (5535) is out.
Post by: Xaviou on April 17, 2009, 01:35:16 pm
Since updating to SVN 5534 none of my projects will open on Code::Blocks.  Was there a change that requires me to do something to the project files?

I get the SVN updates via Ubuntu package manager updates as third party updates which has always worked before. I notice the build number is one less than this message thread title. Does that have something to do with my issue?

The About dialog says I am running: svn build rev 5534 (2009-04-13 14:47:54) gcc 3.1.2 Linux/unicode

I get a dialog saying - "Can't open file. Do you want to remove if from the recent file list?"

I am running on Ubuntu 64-bit.  It is not a file permission access problem (they are under my home directory).

I confirm this.
As I am the one who made the deb files, I'll try to make a full rebuild, to see if it works better.

About the rev number : I don't know why, but after a checkout to rev 5535, the build gives a 5534 (it happens on Linux and on Windows). Is it a known behaviour ? Can someone explain this ?

For the moment, I'll tell Ubuntu amd64 users to not do the update, until the package hasn't been rebuild.

Sorry for the inconvenience.

Regards
Xav'
Title: Re: The 13 April 2009 build (5535) is out.
Post by: dk on April 17, 2009, 02:47:23 pm
@dk.
In my windows system, I always get crash when I drag the toolbar.
See my post here, Is it related issue?
http://forums.codeblocks.org/index.php/topic,9648.msg67823.html#msg67823

Someone suggests using a old wxWidgets library. :D

Looks like I have another problem. I've downgraded to the old (2.8.6) version og wxGTK, аnd C::B still crashes with the old wxGTK.

Also I've applied that patch to wxAuiManager::OnFloatingPaneMoveStart on wxGTK 2.8.9, аnd it doesn't help.

Title: Re: The 13 April 2009 build (5535) is out.
Post by: dk on April 17, 2009, 02:52:06 pm
Also I've found, that it isn't a new problem - C::B SVN 5382 also crashes.
And version 8.02 looks to be more stable, but sometimes also crashes when moving toolbars.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: Jenna on April 17, 2009, 04:08:12 pm
About the rev number : I don't know why, but after a checkout to rev 5535, the build gives a 5534 (it happens on Linux and on Windows). Is it a known behaviour ? Can someone explain this ?

That's because r5535 is a commit against wxAui-test branch and r5534 was the last commit in trunk before the nightly.

By the way, I do not have crashes when dragging toolbars on debian unstable 64-bit build against wx2.8.9.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: wagb278 on April 17, 2009, 04:32:11 pm
@pasgui - I am running Ubuntu (64-bit) 8.04 LTS

I looked at the update manager settings and I (think) my place of origin for Code::Blocks is LPG (http://lgp203.free.fr/ubuntu/ hardy universe)

I also show http//apt.wxwidgets.org/ hardy-wx main (but that appears to be just for WxWidgets.

My first version of Code::Blocks was SVN:5432.  My system auto-updated to SVN 5456 a few days after I started using Code::Blocks and I think there have been two or three updates since.

I tried to create a new project and that caused Code::Blocks to crash.  It created an exception file which I presume got sent to where ever problems get reported.

How can I revert back to the previous version?
Title: Re: The 13 April 2009 build (5535) is out.
Post by: Xaviou on April 17, 2009, 06:27:25 pm
Hi

How can I revert back to the previous version?
I've rebuild the packages, so you don't have to revert back to an old version. Just uninstall all Code:Blocks 's packages (via synaptic).

If you can't wait that pasqui updates its repository, you can re_install it manually :
- Download the complete archive (the link provided here (http://forums.codeblocks.org/index.php/topic,10406.msg71672.html#msg71672) will give you the updated version)
- Decrompress the archive : you'll get a folder containing some deb files
- Open a terminal window, and go to this folder
- Install all the packages with the following command : sudo dpkg -i *.deb

Then, you will be able to re-open your projects and work with Code::Blocks.

I apologize for the inconvenience

Regards

Xav'

Title: Re: The 13 April 2009 build (5535) is out.
Post by: wagb278 on April 17, 2009, 07:17:57 pm
THANKS Xaviou

Worked like a charm.

While using the new Code::Blocks - I got a notice from the update manager that an update is available for codeblocks-dbg.  What should I do with this update - NOT install it?  There is no version or date info for the available codeblocks-dbg update (because it's a third party source, presumably).

Thanks again for the quick fix.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: pasgui on April 17, 2009, 10:08:07 pm
I've rebuild the packages, so you don't have to revert back to an old version. Just uninstall all Code:Blocks 's packages (via synaptic).

I've updated the repository.

Best regards, pasgui
Title: Re: The 13 April 2009 build (5535) is out.
Post by: ollydbg on April 19, 2009, 05:51:50 am
I've got a crash of Code::Blocks last nightly , when moving toolbars or other windows.
Yes, I've seen this happen under Ubuntu (using the official build bundled with Jaunty Jackalope) too, but only when running Code::Blocks on a remote X server. On top of that, Code::Blocks is practically unusable in that environment, as it takes between half a second and two seconds before a mouse click is realized (1000 MBit network with about 3 meters total cable length). It takes about 20 seconds just to start up, as well.
The same copy of Code::Blocks started locally on the same machine fires up in little over a second, runs perfectly reliably, and exposes the same perceived speed as the Windows build. All other applications that I'm using work seemingly the same whether run locally or via network (no noticeable difference at all).

Not sure what it is, but I guess wxGTK is having an issue there, somehow the event loop not coping well with network, or whatever...?
See my post(Sorry, I lost the  password of mmkider :( ), and add one line code.
I always  "never" get crash when I drag the toolbar. :lol:
 
http://wxforum.shadonet.com/viewtopic.php?t=23624&highlight=bug+wxmsw



Thank you very much!
I changed the code in AUI as you mentioned, and rebuilt wxmsw28u_gcc_custom.dll.
After that, the "drag toolbar" problems disappeared! :D
Title: Re: The 13 April 2009 build (5535) is out.
Post by: geiermeier on April 20, 2009, 09:01:46 am
I'm experiencing the toolbar-drag crashes with the current nightly and the library versions given in the opening post under XP SP3.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: mmkider on April 20, 2009, 09:48:05 am
I'm experiencing the toolbar-drag crashes with the current nightly and the library versions given in the opening post under XP SP3.

Download this wxmsw2.8.10 with my patch.

http://mmkider.googlepages.com/wxmsw28u_gcc_cb_wx2810.7z

Code
void wxAuiManager::OnFloatingPaneMoveStart(wxWindow* wnd)
{
    // try to find the pane
    wxAuiPaneInfo& pane = GetPane(wnd);
    wxASSERT_MSG(pane.IsOk(), wxT("Pane window not found"));

   //patch there.
   if(!pane.frame)
        return;
       
    if (m_flags & wxAUI_MGR_TRANSPARENT_DRAG)
        pane.frame->SetTransparent(150);
}

Title: Re: The 13 April 2009 build (5535) is out.
Post by: ollydbg on April 20, 2009, 10:31:45 am
I'm experiencing the toolbar-drag crashes with the current nightly and the library versions given in the opening post under XP SP3.

Download this wxmsw2.8.10 for my patch.

http://mmkider.googlepages.com/wxmsw28u_gcc_cb_wx2810.7z

Code
void wxAuiManager::OnFloatingPaneMoveStart(wxWindow* wnd)
{
    // try to find the pane
    wxAuiPaneInfo& pane = GetPane(wnd);
    wxASSERT_MSG(pane.IsOk(), wxT("Pane window not found"));

   //patch there.
   if(!pane.frame)
        return;
       
    if (m_flags & wxAUI_MGR_TRANSPARENT_DRAG)
        pane.frame->SetTransparent(150);
}


Wow, Thanks for sharing!
Title: Re: The 13 April 2009 build (5535) is out.
Post by: critic on April 22, 2009, 10:15:59 am
Please, pay attention to my question http://forums.codeblocks.org/index.php/topic,10406.msg71709.html#msg71709
You can watch sources of this plugin in attached archive qthelper.zip.

Guys, I need your help!!!


[attachment deleted by admin]
Title: Re: The 13 April 2009 build (5535) is out.
Post by: eckard_klotz on April 22, 2009, 05:01:43 pm
Hello Critic.

I'm not a developer of C::B or a plug-in, so my tip may be wrong.

If I understand you right you want to change some project-adjustments but you don't have the know-how to change the application-variables of C::B in the ram of your computer.

Have you ever thought about changing the content of the xml-file that contains the project-data also? May be you have to reload your project after changing the data was changed by your plug-in to make it active. But if you can live with this solution at the moment this will be a temporary workaround until somebody can help you really.

Best Regards,
                   Eckard Klotz
Title: Re: The 13 April 2009 build (5535) is out.
Post by: stahta01 on April 22, 2009, 09:21:21 pm
Please, pay attention to my question http://forums.codeblocks.org/index.php/topic,10406.msg71709.html#msg71709
You can watch sources of this plugin in attached archive qthelper.zip.

Guys, I need your help!!!


Please post a "new topic" in the proper group.

Tim S
Title: Re: The 13 April 2009 build (5535) is out.
Post by: critic on April 23, 2009, 01:50:11 pm
I posted a new topic "QtHelper plugin" in Developers forum -> Plugins development
Title: Re: The 13 April 2009 build (5535) is out.
Post by: critic on April 23, 2009, 02:23:39 pm
Jens will kill me because of previous message. That's why link is http://forums.codeblocks.org/index.php/topic,10453.msg71877.html#msg71877
Title: Re: The 13 April 2009 build (5535) is out.
Post by: dk on May 02, 2009, 02:22:40 pm
I've made a lot of investigation of crash when moving toolbar on my system.

There are two necessary conditions to reproduce the problem:

1. nvidia driver for xorg (when using other driver - vesa, nv or vboxvideo - there are no crashes).
2. using KDE4 as a desktop environment (when using KDE3 or Gnome there are also no crashes).

I've attached three screenshots of my desktop:
1. codeblocks-KDE4-nvidia.gif - before crash, using KDE4 and nvidia driver (it wasn't too ease to make such screenshot!)
2. codeblocks-KDE4-nv.gif - no crash, using KDE4 and nv driver
3. codeblocks-KDE3-nvidia.gif - no crash, using KDE3 and nvidia driver.

On the first picture you can see blue solid rectangle - it is the final position for toolbar, when moving it. On the other pictures this rectangle isn't solid, it is the shaded blue-white rectangle.

So, when I see the shaded rectangle, there is no crash, when I see solid blue rectangle, there will be crash.

Can anybody reproduce the bug?


[attachment deleted by admin]
Title: Re: The 13 April 2009 build (5535) is out.
Post by: stahta01 on May 02, 2009, 07:02:34 pm
Patch needed for NON-PCH Windows Build.
Tim S

Code
Index: src/plugins/contrib/codesnippets/codesnippets.cpp
===================================================================
--- src/plugins/contrib/codesnippets/codesnippets.cpp (revision 5562)
+++ src/plugins/contrib/codesnippets/codesnippets.cpp (working copy)
@@ -30,6 +30,7 @@
  #include <wx/string.h>
  #include "sdk_events.h"
  #include "manager.h"
+ #include "configmanager.h"
  #include "projectmanager.h"
  #include "personalitymanager.h"
  #include "cbworkspace.h"
Title: Re: The 13 April 2009 build (5535) is out.
Post by: killerbot on May 02, 2009, 08:27:56 pm
done
Title: Re: The 13 April 2009 build (5535) is out.
Post by: dk on May 08, 2009, 12:06:23 am
I can't compile SVN5535 by gcc4.4 because of the error in src/src/prefix.cpp:

Code
prefix.cpp: In function 'char* br_extract_dir(const char*)':
prefix.cpp:396: error: invalid conversion from 'const char*' to 'char*'
prefix.cpp: In function 'char* br_extract_prefix(const char*)':
prefix.cpp:432: error: invalid conversion from 'const char*' to 'char*'
make[3]: *** [prefix.o] Error 1

suggested patch:
Code
--- codeblocks-8.02/src/src/prefix.cpp.orig	2008-02-27 16:15:26 +0300
+++ codeblocks-8.02/src/src/prefix.cpp 2009-05-08 01:30:03 +0400
@@ -393,7 +393,7 @@ br_extract_dir (const char *path)
 
  br_return_val_if_fail (path != (char *) NULL, (char *) NULL);
 
- end = strrchr (path, '/');
+ end = (char*) strrchr (path, '/');
  if (!end) return strdup (".");
 
  while (end > path && *end == '/')
@@ -429,7 +429,7 @@ br_extract_prefix (const char *path)
  br_return_val_if_fail (path != (char *) NULL, (char *) NULL);
 
  if (!*path) return strdup ("/");
- end = strrchr (path, '/');
+ end = (char*) strrchr (path, '/');
  if (!end) return strdup (path);
 
  tmp = br_strndup ((char *) path, end - path);
Title: Re: The 13 April 2009 build (5535) is out.
Post by: Jenna on May 08, 2009, 01:00:53 am
I can't compile SVN5535 by gcc4.4 because of the error in src/src/prefix.cpp:

Code
prefix.cpp: In function 'char* br_extract_dir(const char*)':
prefix.cpp:396: error: invalid conversion from 'const char*' to 'char*'
prefix.cpp: In function 'char* br_extract_prefix(const char*)':
prefix.cpp:432: error: invalid conversion from 'const char*' to 'char*'
make[3]: *** [prefix.o] Error 1

I can not reproduce this error, neither when buidling from cbp-file, nor with make.

Quote
g++ -v
Es werden eingebaute Spezifikationen verwendet.
Ziel: x86_64-linux-gnu
Konfiguriert mit: ../src/configure -v --with-pkgversion='Debian 4.4.0-4' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-objc-gc --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread-Modell: posix
gcc-Version 4.4.1 (Debian 4.4.0-4)

inside C::B:
Quote
g++-4.4 -Wall -g -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread  -fmessage-length=0 -fexceptions -Winvalid-pch -Ulinux -Uunix -fPIC -DcbDEBUG -DCB_PRECOMP  -DENABLE_BINRELOC    -Iinclude -Isrc/wxAUI -Iinclude/wxFlatNotebook/include -Iinclude/scripting/include -Iinclude/scripting/sqplus -Iinclude/wxscintilla/include  -c /home/jens/codeblocks-build/codeblocks.trunk/src/src/prefix.cpp -o .objs/src/prefix.o

with make:
Quote
g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -I../../src/include/wxscintilla/include -I../../src/include -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -I../../src/src/wxAUI -DENABLE_BINRELOC -DAPP_PREFIX="\"/home/jens/codeblocks-tmp\"" -Ulinux -Uunix  -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT prefix.o -MD -MP -MF .deps/prefix.Tpo -c -o prefix.o prefix.cpp
Title: Re: The 13 April 2009 build (5535) is out.
Post by: afb on May 11, 2009, 09:56:58 am
- Mac OS X: (10.4 up, Universal)
  http://prdownload.berlios.de/codeblocks/CB_20090413_rev5535_mac2810.zip

Leopard compatibility and Mac/wxWidgets/D project templates still need work.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: Grom on May 13, 2009, 10:23:16 pm
Is project still alive? What about the next relize?
Title: Re: The 13 April 2009 build (5535) is out.
Post by: MortenMacFly on May 14, 2009, 08:46:35 am
Is project still alive?
Check the svn commit log. If there are commits within the last month we are still alive. Otherwise we all died suddenly... probably due to the swine flu.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: stahta01 on May 14, 2009, 09:21:30 am
Is project still alive?
Check the svn commit log. If there are commits within the last month we are still alive. Otherwise we all died suddenly... probably due to the swine flu.

I won't believe Code::Blocks project is dead till I see pigs fly.

Tim S

PS: When pigs fly, we will all remember bird dropping as back in the good olde days.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: Grom on May 15, 2009, 02:28:47 am
The you have to introduce the new official release. No commits means that all annoying bugs were fixed. Just put the latest build as Code::Blocks 9.5.
Title: Random Crashes
Post by: geiermeier on May 15, 2009, 08:42:00 am
I don't know if it started with this nightly, but during the last weeks, I've been experiencing more frequent crashes of CB. It's about five crashes per day, while some months ago I estimate this to be like 2-3 crashes a week.

Unfortunately I can't realy make out a trigger. It's sometimes happening right after start before having loaded a project (the most recent crash). Sometimes CB crashes while I'm only editing a file.

I'm wondering if other people are having this problem, too. The crashes are really starting to annoy me. I'll try to note down under which circumstances the crashes happen. Will the information from the Windows crash dialog provide any useful information? I'll save them if they do.

I'm running CB under XP, btw.
Title: Re: Random Crashes
Post by: ollydbg on May 15, 2009, 10:38:49 am
I don't know if it started with this nightly, but during the last weeks, I've been experiencing more frequent crashes of CB. It's about five crashes per day, while some months ago I estimate this to be like 2-3 crashes a week.

Unfortunately I can't realy make out a trigger. It's sometimes happening right after start before having loaded a project (the most recent crash). Sometimes CB crashes while I'm only editing a file.

I'm wondering if other people are having this problem, too. The crashes are really starting to annoy me. I'll try to note down under which circumstances the crashes happen. Will the information from the Windows crash dialog provide any useful information? I'll save them if they do.

I'm running CB under XP, btw.

Works quite well in my XP.
I heard that there is a dump file generated when CB crashes, Maybe, they are useful to locate the crash point.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: geiermeier on May 15, 2009, 12:09:55 pm
I've found the file. Looks promising, though it tought me that I was exaggerating a bit. ;)

I've attached the report file.

[attachment deleted by admin]
Title: Re: The 13 April 2009 build (5535) is out.
Post by: Grom on May 16, 2009, 07:45:27 am
We have to remember that Qt Creator was presented... Code::Blocks must have new version as soon as possible (non nightly build, the new version! ) or it will be dead.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: thomas on May 16, 2009, 03:04:02 pm
If Grom had not been saying the Code::Blocks is dead for over 3 years, I might be worried :)
Title: Re: The 13 April 2009 build (5535) is out.
Post by: catzilla on February 17, 2010, 06:02:55 am
Sorry to dig up such an old topic, but I found this via google.
I tried installing the latest codeblocks from source on a fresh install of SuSE 11.2 today, but it failed with the error in this post (http://forums.codeblocks.org/index.php/topic,10406.msg72223.html#msg72223).
The patch provided in the same message, however, made everything compile correctly.
I had to add /usr/local/bin to /etc/ld.so.conf, however.

I don't know if anybody needs my opinion, however I find it weird that nobody corrected that bug in the source since May 2009.


EDIT:
Uh, my mistake, I failed to notice that the source code (http://www.codeblocks.org/downloads/6) is from 2 Mar 2008. Wonder why it doesn't get updated though...
Title: Re: The 13 April 2009 build (5535) is out.
Post by: MortenMacFly on February 17, 2010, 06:34:30 am
Sorry to dig up such an old topic, but I found this via google.
Because of this:
I can not reproduce this error, neither when buidling from cbp-file, nor with make.
None of us devs can reproduce. You have to agree that it is a risk to "fix" something that you can't reproduce. That's why nothing happens. But that nothing happens is safe in this case.
Title: Re: The 13 April 2009 build (5535) is out.
Post by: Biplab on February 17, 2010, 09:40:17 am
Sorry to dig up such an old topic, but I found this via google.
I tried installing the latest codeblocks from source on a fresh install of SuSE 11.2 today, but it failed with the error in this post (http://forums.codeblocks.org/index.php/topic,10406.msg72223.html#msg72223).
The patch provided in the same message, however, made everything compile correctly.
I had to add /usr/local/bin to /etc/ld.so.conf, however.

I don't know if anybody needs my opinion, however I find it weird that nobody corrected that bug in the source since May 2009.


EDIT:
Uh, my mistake, I failed to notice that the source code (http://www.codeblocks.org/downloads/6) is from 2 Mar 2008. Wonder why it doesn't get updated though...

As Morten said, we couldn't reproduce this bug. However a fix in this regard was committed in revision 5613. Please download latest code from trunk and post your feedback. If possible please post exact command line output containing compiler flags used in compiling.