Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on July 22, 2007, 06:27:32 pm

Title: The 22 July 2007 build (4291) is out.
Post by: killerbot on July 22, 2007, 06:27:32 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_wx284.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

The 22 July 2007 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20070722_rev4291_win32.7z
  - Linux :
   http://prdownload.berlios.de/codeblocks/CB_20070722_rev4291_Ubuntu6.10+7.04_wx2.8.4.tar.gz.1
   http://prdownload.berlios.de/codeblocks/CB_20070722_rev4291_Debian4.0_wx2.8.4.deb (not yet)
   http://prdownload.berlios.de/codeblocks/CB_20070722_rev4291_suse100-102.wx28.i586.rpm (not yet)
   http://prdownload.berlios.de/codeblocks/CB_20070722_rev4291_fc4+5.i586.rpm (not yet)


Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 22 July 2007 build (4291) is out.
Post by: dronT78 on July 22, 2007, 07:34:32 pm
Cool!
Feature request : Is it hard to add Haskell support for C::B like Visual Haskell do for MSVS2003/2005?

Regards. Thanks for a great work.
Title: Re: The 22 July 2007 build (4291) is out.
Post by: dronT78 on July 22, 2007, 08:17:41 pm
only just compile but got segfault in /usr/lib/libqt-mt.so.3 with kde when i use kde style in gtk apps (gtk-qt theme)
works good with other gtk styles
works good in prev. nightly with gtk-qt theme too

Debian etch 4
Title: Re: The 22 July 2007 build (4291) is out.
Post by: Xaviou on July 22, 2007, 08:53:05 pm
Ubuntu 6.10 & 7.04 Amd64 "tar.gz" archive (containing '.deb' installers builds with wx284) can be found here (http://www.esnips.com/web/CodeBlocks).
Title: Re: The 22 July 2007 build (4291) is out.
Post by: cacb on July 22, 2007, 08:59:46 pm
No Ubuntu 7.04 .deb file for i386  :shock: ? It would be nice to get these as we used to ....   :D

cacb
Title: Re: The 22 July 2007 build (4291) is out.
Post by: DC@DR on July 22, 2007, 09:47:17 pm
No Ubuntu 7.04 .deb file for i386  :shock: ? It would be nice to get these as we used to ....   :D

cacb
No more .deb package for Ubuntu, read this thread till the end to know why: http://forums.codeblocks.org/index.php/topic,6476.0.html :-)
Title: Re: The 22 July 2007 build (4291) is out.
Post by: cacb on July 22, 2007, 11:44:39 pm
Quote
No more .deb package for Ubuntu, read this thread till the end to know why: http://forums.codeblocks.org/index.php/topic,6476.0.html :-)

I have read it, but I don't get it (maybe I am slow). Why was this important and what is the benefit? I cannot see it explained in that thread (sorry if I have overlooked something obvious)? It seems to be much more to download (before ~7MB now 18MB!), what has been added?

....and now it is harder to install? Please, where is the description for how to install this, there are 7 .deb files in there, with interdependencies as I understand. I am on Kubuntu 7.04. Before I could easily install the single .deb file using Gdebi and switching C:B versions was no problem (even going backwards). This seems more problematic now, and will keep me from upgrading for a while, unless I see the light.

cacb
Title: Re: The 22 July 2007 build (4291) is out.
Post by: cstudent on July 23, 2007, 12:34:50 am
Quote
No more .deb package for Ubuntu, read this thread till the end to know why: http://forums.codeblocks.org/index.php/topic,6476.0.html :-)

I have read it, but I don't get it (maybe I am slow). Why was this important and what is the benefit? I cannot see it explained in that thread (sorry if I have overlooked something obvious)? It seems to be much more to download (before ~7MB now 18MB!), what has been added?

....and now it is harder to install? Please, where is the description for how to install this, there are 7 .deb files in there, with interdependencies as I understand. I am on Kubuntu 7.04. Before I could easily install the single .deb file using Gdebi and switching C:B versions was no problem (even going backwards). This seems more problematic now, and will keep me from upgrading for a while, unless I see the light.

cacb


Easy way to install the new packages is to untar the tar.gz file to a temp directory. Then in a terminal console from that directory enter:

Code
sudo dpkg -i *.deb


The reason codeblocks has been broken down into separate packages is probably in preparation to submit Codeblocks to the Ubuntu and Debian repositories for inclusion in the future. The maintainers of the repos would most likely require that Codeblocks be broken down this way.

And as for the decline in the Ubuntu packages, I'm in the middle of a major remodel of our home, so the Ubuntu builds will probably only be about 2 a week. The Debian builds are on hold for now, unless someone else wants to build those. Sorry about this, but my wife's desires outweigh yours. :)


regards,
cstudent

EDIT: If you want to install the individual packages, they need to be installed in this order:

libcodeblocks0
codeblocks
codeblocks-dev (if you want to develop codeblocks and plugins)
codeblocks-dbg
libwxsmithlib0 (if you want to install any of the following packages)
libwxsmithlib0-dev
codeblocks-contrib
Title: Re: The 22 July 2007 build (4291) is out.
Post by: kurapix on July 23, 2007, 05:43:38 am
Wow Code::Blocks is becoming really nicer.

So Code::Blocks will be submitted to the Ubuntu repos?
Great :D .

Nothing to do with this topic : I dunno if I'm going to update my packaging script because as cstudent already said : it is more reliable to do it manually. I can update my building script to reflect the changes made to Code::Blocks (multiple packages) if some people really want it (I doubt that).

Kurapix
Title: Re: The 22 July 2007 build (4291) is out.
Post by: three_minute_hero on July 23, 2007, 12:07:55 pm
22 July 2007 build (4291) : Doesn’t notify anymore when a file is modified outside the IDE, which was a very usefull feature for me, who use an external UML tool to generate C++.

Thanx for your very good job!
Title: Re: The 22 July 2007 build (4291) is out.
Post by: killerbot on July 23, 2007, 12:34:59 pm
I tried this on linux --> works for me.
Title: Re: The 22 July 2007 build (4291) is out.
Post by: Biplab on July 23, 2007, 12:42:04 pm
22 July 2007 build (4291) : Doesn’t notify anymore when a file is modified outside the IDE, which was a very usefull feature for me, who use an external UML tool to generate C++.

It works on Windows.
Title: Re: The 22 July 2007 build (4291) is out.
Post by: cacb on July 23, 2007, 01:03:25 pm
Easy way to install the new packages is to untar the tar.gz file to a temp directory. Then in a terminal console from that directory enter:

Code
sudo dpkg -i *.deb

The reason codeblocks has been broken down into separate packages is probably in preparation to submit Codeblocks to the Ubuntu and Debian repositories for inclusion in the future. The maintainers of the repos would most likely require that Codeblocks be broken down this way.

And as for the decline in the Ubuntu packages, I'm in the middle of a major remodel of our home, so the Ubuntu builds will probably only be about 2 a week. The Debian builds are on hold for now, unless someone else wants to build those. Sorry about this, but my wife's desires outweigh yours. :)

regards,
cstudent

EDIT: If you want to install the individual packages, they need to be installed in this order:

libcodeblocks0
codeblocks
codeblocks-dev (if you want to develop codeblocks and plugins)
codeblocks-dbg
libwxsmithlib0 (if you want to install any of the following packages)
libwxsmithlib0-dev
codeblocks-contrib

Ok, thank you for the explanation of how and why, cstudent! If we can get Codeblocks into the Ubuntu repository it will be a great step forward, I can understand that. I do think, however, it is important for new users to have an easy installation of separate Nightly builds downloads with this new setup, maybe update the "how to use the Nightly builds" link?. I will try the sudo dpkg -i *.deb approach but first I am off for two weeks of holiday  :D

Regards
cacb
Title: Re: The 22 July 2007 build (4291) is out.
Post by: cstudent on July 23, 2007, 02:35:20 pm
Just for the record, inclusion of Codeblocks into the repositories of Ubuntu and Debian, etc., is more speculation on my part than an official announcement. I know that there was a fellow around spring of last year that made an attempt to get CB into the Debian repos. He dropped the idea and recently someone else requested to take over the first persons efforts. There was also a guy several months ago that said he was going to try and get CB into the Ubuntu repos, but I have not seen anything submitted by him. Although I can't speak for Mandrav, I believe he would prefer to wait until RC3 is released and then submit CB for inclusion into some repositories. He may even want to be the maintainer for those. Right now I'm just happy to contribute my small part to the CB community. I've been building the Ubuntu .deb for CB for almost one year now. :)

If I can get a chance this week, I'll update the wiki for installing on Ubuntu.


Take care,
cstudent

Title: Re: The 22 July 2007 build (4291) is out.
Post by: Aridese on July 23, 2007, 04:09:37 pm
I'm on Ubuntu 7.04 and I installed it with dpkg... Code::Blocks crashes as soon as it loads. It displays the "compiler defaults have changed" message, and whether I pick yes or no, it crashes. It opens the window in full screen (the actual IDE is 640x480, top left, everything else is gray... but a screen). Then the tip window pops up, and displays nothing (no buttons, just a white area). Then it doesnt respond and I have to kill it =/... I'm also using beryl so..

Edit: I get the same crash with the 19 July SVN too... =/ (100% CPU usage)

NEVERMIND -- I'm dumb... after installing wxwidgets2.8 the problem goes away; http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Ubuntu

still, it'd be nice to get some popup message to have codeblack crash gracefully... =/
Title: Re: The 22 July 2007 build (4291) is out.
Post by: Biplab on July 24, 2007, 05:02:12 am
still, it'd be nice to get some popup message to have codeblack crash gracefully... =/

Code::Blocks usually provides crash-report. But the bug that you experienced is a wxGTK bug which puts C::B into an infinite loop. That was the reason you didn't receive any crash report. :)
Title: Re: The 22 July 2007 build (4291) is out.
Post by: dje on July 24, 2007, 10:02:34 am
Hi !

Quote
Code::Blocks usually provides crash-report.

This is not systematic. There are bugs that silently crashes C::B on Win XP SP2.
Is the context interesting to improve report generation or do those bugs make impossible report generation ?

Dje
Title: Re: The 22 July 2007 build (4291) is out.
Post by: three_minute_hero on July 24, 2007, 10:05:47 am
22 July 2007 build (4291) : Doesn’t notify anymore when a file is modified outside the IDE, which was a very usefull feature for me, who use an external UML tool to generate C++.

It works on Windows.
Weird… Anyway, it works now with 23 July build. Thx to everyone  :)
Title: Re: The 22 July 2007 build (4291) is out.
Post by: armageddon on July 26, 2007, 12:23:56 pm
Hello Guys,
Something very strange is happening (build 4321) when I compile in Debug mode my WinXP console application. It seems that the the meaning of the dashboard icons are exchanged. Ex.: if I try to run in debug configuration my (already compiled) application, C::B tries to compile the code again.
I have to switch to an older version.

Hi, guys!
Title: Re: The 22 July 2007 build (4291) is out.
Post by: killerbot on July 26, 2007, 12:50:06 pm
is fixed in svn, available in tonights nightly
Title: Re: The 22 July 2007 build (4291) is out.
Post by: dje on July 26, 2007, 02:07:06 pm
22 July 2007 build (4291) : Doesn’t notify anymore when a file is modified outside the IDE, which was a very usefull feature for me, who use an external UML tool to generate C++.

It works on Windows.
Weird… Anyway, it works now with 23 July build. Thx to everyone  :)

It still crashes on my project  :x
In fact, it crashes so often (15 times a day at least) that I think I'll go back in nightly times.
Maybe a little less with nightly SVN4300... Happens always during a save operation.
I noticed that it is nearly systematic on my very big project (sub projects of my workspace = 450 files, total project files =~ 23000) when you make two consecutive saves (1 second between). I suspect CC update.

Dje
Title: Re: The 22 July 2007 build (4291) is out.
Post by: dje on July 26, 2007, 02:25:33 pm
Quote
It still crashes on my project.
Not fixed with SVN 4321

Systematic :
Modify a header
Save it
Modify it again
Save it quickly (I suppose before CC has finished the parsing generated by previous save)

Dje
Title: Re: The 22 July 2007 build (4291) is out.
Post by: MortenMacFly on July 26, 2007, 04:13:11 pm
Modify it again
Save it quickly (I suppose before CC has finished the parsing generated by previous save)
Can't reproduce. CC hasn't finshed parsing definitely when I save the header file again -> no crash, just usual re-parsing. Mind sending the files, please?!
With regards, Morten.
Title: Re: The 22 July 2007 build (4291) is out.
Post by: dje on July 26, 2007, 05:10:40 pm
Hi Morten !

Sorry, it is not possible  :oops:.
I work on but it is not mine.
All I can say is that there is uncorrectly parsed code:
Code
class MyClass1
{
    MyClass1();
    ~MyClass1();

    void MyMethod1();
}

class MyClass2
{
    MyClass2();
    ~MyClass2();

    void MyMethod2();
}


class MyClass
#ifdef FOO
            : public MyClass1
            , public MyClass2
#endif
{
    MyClass();
    ~MyClass();

    void MyMethod();
}
as explained in this post (http://forums.codeblocks.org/index.php/topic,6507.msg50117.html#msg50117)
BerliOS bug 011626 (https://developer.berlios.de/bugs/?func=detailbug&bug_id=11626&group_id=5358)

The parser sees FOO as a class whereas MyClass doesn't exist any more.
Maybe correcting this bug could solve my save problem (supposition).

Dje