Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on October 13, 2007, 06:58:57 pm

Title: The 13 October 2007 build (4530) is out.
Post by: killerbot on October 13, 2007, 06:58:57 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 13 October 2007 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20071013_rev4530_win32.7z
  - Linux :
   none

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 13 October 2007 build (4530) is out.
Post by: pasgui on October 13, 2007, 08:55:32 pm
Build for Ubuntu i386 can be found here (http://lgp203.free.fr/spip/spip.php?article1)
Title: Re: The 13 October 2007 build (4530) is out.
Post by: Jenna on October 13, 2007, 10:07:40 pm
debian-repository with nightlies (slow because it's a home-server via dsl)

actually svn4530

etch / stable
Code
deb http://jens.lody.name/debian/ etch main
deb-src http://jens.lody.name/debian/ etch main

lenny / testing
Code
deb http://jens.lody.name/debian/ lenny main
deb-src http://jens.lody.name/debian/ lenny main

sid / unstable
Code
deb http://jens.lody.name/debian/ unstable main
deb-src http://jens.lody.name/debian/ unstable main

add my public-key to apt's trustdb:
Code
wget -q http://jens.lody.name/debian/jens.asc -O-  | sudo apt-key add -

build against wxWidgets 2.84 from

Code
http://apt.tt-solutions.com/debian/ etch main
key-import to apt's trusted keys:
Code
wget -q http://www.tt-solutions.com/vz/key.asc -O-  | sudo apt-key add -

Title: Re: The 13 October 2007 build (4530) is out.
Post by: darthdespotism on October 13, 2007, 10:44:05 pm
Codeblocks crashes for me on Ubuntu 7.10 Beta.

Build with dpkg-buildpackage without -nc (like doing make clean && make && make install)

I'll atach crashlog

[attachment deleted by admin]
Title: Re: The 13 October 2007 build (4530) is out.
Post by: Marenz on October 14, 2007, 01:42:17 pm
Hi there,
using gcc-4.1 fixed my problems regarding the timestamp functions, thanks for the help.

Though here is a.. well bug or misbehaviour: Everytime i debug a program and it receives an error, and codeblocks asks for a Backtrace, i get the msg "the layout has changed, do you want to save it?" as if i would have hit the close button.. i always press cancle then. After that, the msg for the backtrace pops up...
Update: it happens even without the backtrace question.. always when i debug

debian lenny, amd64, selfcompiled (4529)

--Ano
Title: Re: The 13 October 2007 build (4530) is out.
Post by: darthdespotism on October 14, 2007, 02:33:23 pm
is this the same for you as the one that happens for me (crashlog above)?
Title: Re: The 13 October 2007 build (4530) is out.
Post by: Marenz on October 14, 2007, 02:50:05 pm
no, no crash here. i don't build a package, i just do make install

--Ano
Title: Re: The 13 October 2007 build (4530) is out.
Post by: Usky_yahooo on October 14, 2007, 03:50:42 pm
seemingly there is a bug in wxSmith
When adding a dialog and adding text controls,the source code generated is not correct.Seemingly the contructor didn't call the right function .And I can't access the text control text through the variable .The build in the October 1st is better.
Title: Re: The 13 October 2007 build (4530) is out.
Post by: darthdespotism on October 14, 2007, 04:30:03 pm
no, no crash here. i don't build a package, i just do make install

--Ano

You said the backtrace poped up? This is what I meant ;)
Title: Re: The 13 October 2007 build (4530) is out.
Post by: sque on October 14, 2007, 05:19:39 pm
  • Fixed: [Bug #12110] "Output filename" doesn't get saved correctly in project

Really thanx for this bug fix! it was essential for me :D

I am wondering if it is too hard to bind "DEL" key at Project Manager to remove files from project. This exists on MSVC and I find it very useful on large projects if you want to do a massive reorganize of your project files than right click->remove file.
Title: Re: The 13 October 2007 build (4530) is out.
Post by: Marenz on October 14, 2007, 05:42:16 pm
no, no crash here. i don't build a package, i just do make install

--Ano

You said the backtrace poped up? This is what I meant ;)


Nah, you missunderstood that.
When I debug an application within codeblocks, codeblocks gives me the message if i want to save the changed layout, as if i would have pressed the close button.
I first thought the msg pops only up, if the program that i am debugging has crashed and the usuall msg-box apprears: "receivied signal X, want a backtrace?", but it pops up always, not only if the debugged-program crashes.

--Ano
Title: Re: The 13 October 2007 build (4530) is out.
Post by: darthdespotism on October 14, 2007, 11:23:26 pm
OK thanks for clarifying ;)
Title: Re: The 13 October 2007 build (4530) is out.
Post by: Grom on October 15, 2007, 07:09:51 am
Can somebody compile nightly build to OpenSUSE 10.3 32 and 64 bit?

src/wxscintilla.cpp:1639: error: prototype for 'int wxScintilla::GetEndAtLastLine()' does not match any in class 'wxScintilla'
/usr/include/wx-2.8/wx/wxscintilla.h:2676: error: candidate is: bool wxScintilla::GetEndAtLastLine()
src/wxscintilla.cpp:1639: error: 'int wxScintilla::GetEndAtLastLine()' cannot be overloaded
/usr/include/wx-2.8/wx/wxscintilla.h:2676: error: with 'bool wxScintilla::GetEndAtLastLine()'
make[3]: *** [wxscintilla.lo] Error 1
make[3]: Leaving directory `/home/user/Documents/CodeBlocks/src/sdk/wxscintilla'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/user/Documents/CodeBlocks/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/Documents/CodeBlocks/src'
make: *** [all-recursive] Error 1
user@linux-pcot:~/Documents/CodeBlocks>             

 :roll:
Title: Re: The 13 October 2007 build (4530) is out.
Post by: eranif on October 15, 2007, 08:10:46 am
Quote
src/wxscintilla.cpp:1639: error: prototype for 'int wxScintilla::GetEndAtLastLine()' does not match any in class 'wxScintilla'
/usr/include/wx-2.8/wx/wxscintilla.h:2676: error: candidate is: bool wxScintilla::GetEndAtLastLine()
It looks like that your compiler is looking for function int wxScintilla:GetEndAtLastLine(), while the actual function returns bool

Maybe you have somewhere a define for -Dbool=int ?
or #define bool int

I know it was a solution couple of years ago when not all compilers had 'bool' has valid C++ type.
Eran
Title: Re: The 13 October 2007 build (4530) is out.
Post by: pdsonic on October 15, 2007, 08:39:06 am
Finally had a chance to try revision 4530.

It works nicely, Thanks byo!

 :D

Thank you for wxSmith. It is just what we needed and it is free to boot!

Title: Re: The 13 October 2007 build (4530) is out.
Post by: jsibarani on October 15, 2007, 09:27:23 am
wow,thanks for the new features , byo.

i created new dialog with xrc resource file.
but wxsmith generates wrong code
Code
class wxBoxSizer;
//*)

class LoginDialog: public wxDialog
{
public:

LoginDialog(wxWindow* parent);
virtual ~LoginDialog();

//(*Declarations(LoginDialog)
wxBoxSizer* ;
//*)

And this problem also affect my existing sources.

Creating dialog without xrc resources,  wxBoxSizer* doesn't get generated


I'm using winXP pro sp2

Title: Re: The 13 October 2007 build (4530) is out.
Post by: Grom on October 15, 2007, 04:53:27 pm
Quote
src/wxscintilla.cpp:1639: error: prototype for 'int wxScintilla::GetEndAtLastLine()' does not match any in class 'wxScintilla'
/usr/include/wx-2.8/wx/wxscintilla.h:2676: error: candidate is: bool wxScintilla::GetEndAtLastLine()
It looks like that your compiler is looking for function int wxScintilla:GetEndAtLastLine(), while the actual function returns bool

Maybe you have somewhere a define for -Dbool=int ?
or #define bool int

I know it was a solution couple of years ago when not all compilers had 'bool' has valid C++ type.
Eran


I used gcc 4.2.1 from stanfart OpenSUSE 10.3 instalation. Would be grate to have a nightly buid for the OpenSUSE 10.3. I am not familiar with C::B compulation and I see that is not trivial task.
Title: Re: The 13 October 2007 build (4530) is out.
Post by: byo on October 15, 2007, 07:05:42 pm
wow,thanks for the new features , byo.

i created new dialog with xrc resource file.
but wxsmith generates wrong code
Code
class wxBoxSizer;
//*)

class LoginDialog: public wxDialog
{
public:

LoginDialog(wxWindow* parent);
virtual ~LoginDialog();

//(*Declarations(LoginDialog)
wxBoxSizer* ;
//*)


Ok, I know where's the problem - when using XRC file sizers can not be used as members of resource since can not easily obtain pointer to such sizer. It should be easy to fix :)

BYO
Title: Re: The 13 October 2007 build (4530) is out.
Post by: byo on October 15, 2007, 07:09:29 pm
Finally had a chance to try revision 4530.

It works nicely, Thanks byo!

 :D

Thank you for wxSmith. It is just what we needed and it is free to boot!



Nice to hear that :)

BYO
Title: Re: The 13 October 2007 build (4530) is out.
Post by: Grom on October 15, 2007, 09:03:49 pm
Is somebody responsible for the C::B compilation under the OpenSUSE? :shock: I have troubles to launch the C::B under the OpenSuse 10.3!!!