Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on October 09, 2006, 07:51:29 pm

Title: The 09 october 2006 build is out.
Post by: killerbot on October 09, 2006, 07:51:29 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 09 October 2006 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20061009_rev3050_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20061009_rev3050_Ubuntu6.06.deb
         http://prdownload.berlios.de/codeblocks/CB_20061009_rev3050_suse100+101.rpm


Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 09 october 2006 build is out.
Post by: NobbZ on October 09, 2006, 08:05:22 pm
Sorry, but when I click the downloadlink on berlios-page, the I get a HTML-Document returned with the content "File doesnt exist" :-(
Title: Re: The 09 october 2006 build is out.
Post by: stahta01 on October 09, 2006, 08:18:49 pm
Try http://prdownload.berlios.de/codeblocks/CB_20061009_rev3050_win32.7z

I can't try it because I have trouble with that server; I am on Dial-up and have trouble FTPing from Berlios, I use SVN instead.
Title: Re: The 09 october 2006 build is out.
Post by: killerbot on October 09, 2006, 08:25:05 pm
Sorry, but when I click the downloadlink on berlios-page, the I get a HTML-Document returned with the content "File doesnt exist" :-(

link is fixed, my mistake, sorry
Title: Re: The 09 october 2006 build is out.
Post by: NobbZ on October 09, 2006, 08:27:28 pm
Thanks, it is working now!
Title: Re: The 09 october 2006 build is out.
Post by: lfm on October 10, 2006, 11:16:36 am
CB_20061009_rev3050_suse100+101.rpm intsalled only used 16M diskspace, but I installed (compile)  rev3050 from svn used 79M diskspace, why?
Title: Re: The 09 october 2006 build is out.
Post by: killerbot on October 10, 2006, 12:06:36 pm
? debug symbols stripped ?
Title: Re: The 09 october 2006 build is out.
Post by: lfm on October 10, 2006, 01:23:50 pm
? debug symbols stripped ?

How to strip  debug symbols?

my steps:
Quote
#./bootstrap
#./configure --prefix=/usr/local/codeblocks --enable-contrib
#make
#make install
Title: Re: The 09 october 2006 build is out.
Post by: Ceniza on October 10, 2006, 05:12:46 pm
There's a script called update that strips those symbols... but it only works when you compile it using the project file.

What I've used to compile it in release mode is to provide the flags for compiling and linking, like this:

# ./configure CFLAGS="-O3 -fomit-frame-pointer -pipe -ffast-math" CXXFLAGS="-O3 -fomit-frame-pointer -pipe -ffast-math -fpermissive" LDFLAGS="-s"

In fact I used some extra flags, but those should be enough.
Title: Re: The 09 october 2006 build is out.
Post by: mandrav on October 10, 2006, 05:24:49 pm
Quote
-fomit-frame-pointer

Last time I used this in linux with wxGTK, I got more segfaults than I could handle ;).
Title: Re: The 09 october 2006 build is out.
Post by: BCCISProf on October 10, 2006, 05:46:31 pm
I am getting the following error while editing a file in this build:

Assertion[cpMaxL=pdoc->length()] failed at sdk/wxscintilla/src/scintilla/scr/editor.c xx5977


Did not get this error on previous builds. Using Win XP SP2.
Title: Re: The 09 october 2006 build is out.
Post by: Ceniza on October 10, 2006, 05:47:24 pm
Quote from: mandrav
Last time I used this in linux with wxGTK, I got more segfaults than I could handle :wink:

It'd be safe to remove from those flags then :wink:

So far the only set of flags I've found to cause problems with some gtk+-1.2.x configure scripts are LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -Wl,--as-needed -Wl,-z,combreloc" (haven't tried to find the guilty flags in there, even though -s is not one of those), but they worked just fine when I compiled wxGTK.

My whole Linux installation (Gentoo) is compiled using -fomit-frame-pointer, among other flags, (including wxGTK and Code::Blocks) and it hasn't caused any problems yet :)
Title: Re: The 09 october 2006 build is out.
Post by: TheTuxKeeper on October 10, 2006, 06:32:00 pm
Code
#!/ bin/sh
binaries=`find /usr/local/codeblocks -type f \( -perm +111 -or -name "*.ko" \)`
# Strip ELF binaries
for f in $binaries
do
        file_output=`file "$f"`
        case $file_output in
            *ELF*", not stripped")
                ;;
            *ELF*", stripped")
                echo "WARNING: "`echo $f | sed -e "s,^$RPM_BUILD_ROOT/*,/,"`" is already stripped!"
                continue
                ;;
            *)
                continue
                ;;
        esac
        strip [--strip-all | --strip-unneeded]  "$f"
done
I took the /usr/lib/rpm/find-debuginfo.sh script of suse 10.0 (the one of 10.1 is different, don't know why) and removed unneeded things (object copying to .debug files and rpm specific things). I don't know whether --strip-all is a good idea or not, I think --strip-unneeded won't cause problems (I hope so :lol:).
Save this as a file, remove the space in the first line between "/" and "bash", replace [--strip-all | --strip-unneeded] with one of both options and run it as root with sh strip_codeblocks.sh. You can check whether te binaries have been stripped with for example file /usr/local/codeblocks/bin/codeblocks. A "stripped" should appear at the end ;)
I havn't checked whether the script really works, but theoretically it should  :lol:
Title: Re: The 09 october 2006 build is out.
Post by: lubos on October 10, 2006, 06:50:42 pm
hello there
i noticed a bug in scrolling long(wide) files. it just stop scrolling at column 250 but there is 399 columns.when i use right mouse button it srolling normally.

i hope you understand :p
here is a small image:
(http://img63.imageshack.us/img63/2312/cbeh9.th.png) (http://img63.imageshack.us/my.php?image=cbeh9.png)

can someone reply that?
Title: Re: The 09 october 2006 build is out.
Post by: thomas on October 10, 2006, 07:12:05 pm
hello there
i noticed a bug in scrolling long(wide) files. it just stop scrolling at column 250 but there is 399 columns.when i use right mouse button it srolling normally.
Scintilla feature, SciTE behaves the same way... if you need to scroll past 255, you need to place the cursor, sorry.

On a different note: Although this is truly not good behaviour from the editor's side, you should ask yourself if there is the possibility that something is wrong with your code, if you have more than 255 characters per line.
It is certainly debatable and hard to tell what is "normal" and what is not, but I guess most people will deem 60-120 characters as normal widths. Maybe up to 150, but that's about the maximum.
Anything that is a lot wider is quite unreadable, even on huge screens (and being required to scroll horizontally is generally considered very unergonomic).
Title: Re: The 09 october 2006 build is out.
Post by: takeshimiya on October 10, 2006, 07:19:51 pm
you should ask yourself if there is the possibility that something is wrong with your code
as we can see from the screenshot, it is really hard to tell what is "normal", because he seems to be editing the map of a game, not source code. :P
Title: Re: The 09 october 2006 build is out.
Post by: lubos on October 10, 2006, 07:39:24 pm
yea its just a map *.txt file. im not so stupid to have 600 colls at one line in my code :) but im think its good to have 600 cols at map file which is wide 100 tiles so i have it nice organized and i think too its nice to edit all files in one editor :pp thanks
Title: Re: The 09 october 2006 build is out.
Post by: takeshimiya on October 10, 2006, 07:48:24 pm
yea its just a map *.txt file. im not so stupid to have 600 colls at one line in my code :) but im think its good to have 600 cols at map file which is wide 100 tiles so i have it nice organized and i think too its nice to edit all files in one editor :pp thanks
Yes it would be nice to edit all files in the same editor. As it is a limitation of Scintilla (maybe a compile-time option exists), you can create a proper simple map editor as a Code::Blocks editor plugin and take it as an exercise.  :P
Title: Re: The 09 october 2006 build is out.
Post by: lubos on October 10, 2006, 07:58:59 pm
heh could be nice to teach something new :p
Title: Re: The 09 october 2006 build is out.
Post by: Sagrer on October 12, 2006, 10:43:52 pm
i did not downloaded latest nightbuilds, so i post here - with this build when CodeCompletion plugin is on (and wxWidgets headers are avialable CodeCompletion see them) - when i open this project (look in attachment) - first it begin to parse source (CPU indicator shows that processor works) and then - CodeBlocks dies without any error messages.

only in Ubuntu 6.06

when i open this project in WindowsXP - works fine.

[attachment deleted by admin]