Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on April 14, 2007, 08:34:55 pm

Title: The 14 April 2007 build is out.
Post by: killerbot on April 14, 2007, 08:34:55 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

To fix the menu alignment bug introduced in wx 2.6.3 [windows only bug] we have patched wx ourselves, and that results in the following alternative dll : http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2AndCbPatch_version3.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 14 April 2007 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20070414_rev3855_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20070414_rev3855_Ubuntu6.xx.deb
         http://prdownload.berlios.de/codeblocks/CB_20070414_rev3855_suse100-102.i586.rpm (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20070414_rev3855_fc4+5.i586.rpm (not yet)


Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 14 April 2007 build is out.
Post by: Xaviou on April 14, 2007, 10:40:55 pm
Can't build on Ubuntu 6.10 Amd64 : Error in src/plugins/contrib/codesnippets/finddialogs.cpp

Code: build log
finddialogs.cpp: In constructor 'myFindReplaceDlg::myFindReplaceDlg(wxWindow*, const wxString&, const wxString&, wxUint32, long int)':
finddialogs.cpp:121: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/include/wx-2.6/wx/gtk/combobox.h:53: note: candidate 1: wxComboBox::wxComboBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, int, const wxString*, long int, const wxValidator&, const wxString&)
/usr/include/wx-2.6/wx/gtk/combobox.h:64: note: candidate 2: wxComboBox::wxComboBox(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, const wxArrayString&, long int, const wxValidator&, const wxString&)
make[6]: *** [finddialogs.lo] Erreur 1

And here is the error :
Code: finddialogs.cpp
    m_finddir = new wxComboBox (this, -1, finddir,
                                wxDefaultPosition, wxSize(200, -1),
                                //0, NULL); //AMD64 ambiguity betw int vs wxArray
                                (int)0, NULL);

Edit : Seems to be working if adding a second cast :
Code: finddialogs.cpp
    m_finddir = new wxComboBox (this, -1, finddir,
                                wxDefaultPosition, wxSize(200, -1),
                                //0, NULL); //AMD64 ambiguity betw int vs wxArray
                                (int)0, (const wxString*) NULL);
Title: Re: The 14 April 2007 build is out.
Post by: Xaviou on April 14, 2007, 11:17:07 pm
Seems to be working if adding a second cast :
Code: finddialogs.cpp
    m_finddir = new wxComboBox (this, -1, finddir,
                                wxDefaultPosition, wxSize(200, -1),
                                //0, NULL); //AMD64 ambiguity betw int vs wxArray
                                (int)0, (const wxString*) NULL);
It works  :D

Ubuntu 6.10 Amd64 .deb installer can be found here (http://www.esnips.com/web/CodeBlocks).
Title: Re: The 14 April 2007 build is out.
Post by: Pecan on April 15, 2007, 02:32:42 am
Seems to be working if adding a second cast :
Code: finddialogs.cpp
    m_finddir = new wxComboBox (this, -1, finddir,
                                wxDefaultPosition, wxSize(200, -1),
                                //0, NULL); //AMD64 ambiguity betw int vs wxArray
                                (int)0, (const wxString*) NULL);
It works  :D

Ubuntu 6.10 Amd64 .deb installer can be found here (http://www.esnips.com/web/CodeBlocks).


Thanks for the reports and fix.
Applied SVN 3858
Title: Re: The 14 April 2007 build is out.
Post by: cstudent on April 15, 2007, 06:55:08 am
Updated Ubuntu 7.04 (Feisty) build here (http://www.savefile.com/projects/808471604).
Title: Re: The 14 April 2007 build is out.
Post by: line on April 15, 2007, 10:42:38 am
Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.
Title: Re: The 14 April 2007 build is out.
Post by: Gibbon on April 15, 2007, 12:26:10 pm
Latest SVN checkout:

Code
p:~/codeBlocksSVN/trunk$ svn update
At revision 3858.

and I get this error message:

Code
 g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -I../../src/include/propgrid/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT editormanager.lo -MD -MP -MF .deps/editormanager.Tpo -c editormanager.cpp  -fPIC -DPIC -o .libs/editormanager.o
editormanager.cpp: In member function 'int EditorManager::Replace(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:1450: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1452: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::ReplaceInFiles(cbFindReplaceData*)':
editormanager.cpp:1734: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1736: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::Find(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:2009: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:2011: error: 'wxRE_ADVANCED' was not declared in this scope
make[3]: *** [editormanager.lo] Error 1

On Ubuntu 6.10 with the latest wx development files.

What am I missing?
Title: Re: The 14 April 2007 build is out.
Post by: darthdespotism on April 15, 2007, 12:29:22 pm
Seriously?
I've built the same Revision on Ubuntu 6.10 half an hour ago and it compiled without any errors (wx-common installed)

Did you use wxWidget2.8?
CodeBlocks actually requires 2.6, try using this version
Title: Re: The 14 April 2007 build is out.
Post by: stg on April 15, 2007, 12:38:14 pm
Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.

Had the same problem, too. Solved it by reassigning the shortcuts ...
Title: Re: The 14 April 2007 build is out.
Post by: pauliusz on April 15, 2007, 12:49:27 pm
Latest SVN checkout:

Code
p:~/codeBlocksSVN/trunk$ svn update
At revision 3858.

and I get this error message:

Code
 g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -I../../src/include/propgrid/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT editormanager.lo -MD -MP -MF .deps/editormanager.Tpo -c editormanager.cpp  -fPIC -DPIC -o .libs/editormanager.o
editormanager.cpp: In member function 'int EditorManager::Replace(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:1450: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1452: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::ReplaceInFiles(cbFindReplaceData*)':
editormanager.cpp:1734: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1736: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::Find(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:2009: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:2011: error: 'wxRE_ADVANCED' was not declared in this scope
make[3]: *** [editormanager.lo] Error 1

On Ubuntu 6.10 with the latest wx development files.

What am I missing?


Currently I am discussing this problem in http://developer.berlios.de/bugs/?func=detailbug&bug_id=10881&group_id=5358
Title: Message box popping up because it can't copy a project .temp file
Post by: ctnd on April 15, 2007, 01:21:25 pm
Just thought I'd mention this because this "bug" has been present since the March 14th build. I wasn't sure what it was at first, but here's what I think. It tries to save a .temp file of the project .layout file, but if the file is only created when you close CodeBlocks  :?:, then the file hasn't been created yet if you've just created the project. So it's trying to copy a file that doesn't exist.

So I get this message box every so often:

Quote
---------------------------
Codeblocks Error
---------------------------
Failed to copy the file 'C:\Documents and Settings\Chris\My Documents\collegework\Programming Concepts - Assignment 2\Game Programme\Game Programme.layout' to 'C:\Documents and Settings\Chris\My Documents\collegework\Programming Concepts - Assignment 2\Game Programme\Game Programme.layout.temp' (error 2: the system cannot find the file specified.)
---------------------------
OK   
---------------------------

The program continues to run, it's just a bit annoying when it pops up when you're coding. :mrgreen: Temporary fix is to close CB and open it and open the project again so that it saves a .layout file. :wink:
Title: Re: The 14 April 2007 build is out.
Post by: stahta01 on April 15, 2007, 01:32:46 pm
Latest SVN checkout:

Code
p:~/codeBlocksSVN/trunk$ svn update
At revision 3858.

and I get this error message:

Code
 g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -I../../src/include/propgrid/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT editormanager.lo -MD -MP -MF .deps/editormanager.Tpo -c editormanager.cpp  -fPIC -DPIC -o .libs/editormanager.o
editormanager.cpp: In member function 'int EditorManager::Replace(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:1450: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1452: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::ReplaceInFiles(cbFindReplaceData*)':
editormanager.cpp:1734: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1736: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::Find(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:2009: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:2011: error: 'wxRE_ADVANCED' was not declared in this scope
make[3]: *** [editormanager.lo] Error 1

On Ubuntu 6.10 with the latest wx development files.

What am I missing?


Currently I am discussing this problem in http://developer.berlios.de/bugs/?func=detailbug&bug_id=10881&group_id=5358

Possible Quick Fix, needs tested.
Code
Index: src/sdk/editormanager.cpp
===================================================================
--- src/sdk/editormanager.cpp (revision 3858)
+++ src/sdk/editormanager.cpp (working copy)
@@ -64,6 +64,9 @@

 #include "wx/wxFlatNotebook/wxFlatNotebook.h"

+#ifndef wxHAS_REGEX_ADVANCED
+    #define wxRE_ADVANCED 0
+#endif

 namespace compatibility { typedef TernaryCondTypedef<wxMinimumVersion<2,5>::eval, wxTreeItemIdValue, long int>::eval tree_cookie_t; };

Title: Re: The 14 April 2007 build is out.
Post by: Suryavarman on April 15, 2007, 04:39:02 pm
Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.
me too
with ctrl+C
Title: Re: The 14 April 2007 build is out.
Post by: Gibbon on April 17, 2007, 12:44:40 am
Latest SVN checkout:


Possible Quick Fix, needs tested.
Code
Index: src/sdk/editormanager.cpp
===================================================================
--- src/sdk/editormanager.cpp (revision 3858)
+++ src/sdk/editormanager.cpp (working copy)
@@ -64,6 +64,9 @@

 #include "wx/wxFlatNotebook/wxFlatNotebook.h"

+#ifndef wxHAS_REGEX_ADVANCED
+    #define wxRE_ADVANCED 0
+#endif

 namespace compatibility { typedef TernaryCondTypedef<wxMinimumVersion<2,5>::eval, wxTreeItemIdValue, long int>::eval tree_cookie_t; };




That worked.  Needed to compile without --enable-contrib.
Title: Re: The 14 April 2007 build is out.
Post by: Biplab on April 17, 2007, 08:33:17 am
Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.
me too
with ctrl+C

Can't reproduce this problem. I'm using WinXP+SP2 and latest C::B Nightly.
Title: Re: The 14 April 2007 build is out.
Post by: stg on April 17, 2007, 09:34:59 am
Using the 13 apr build on win32. If I select text and press crtl-x (for cut), it removes the whole line instead of the selected portion.
Cut from the edit menu still works.
me too
with ctrl+C

Can't reproduce this problem. I'm using WinXP+SP2 and latest C::B Nightly.

As I already posted ... I had the same problem, but I just reassigned the shortcuts and solved it with that
Title: Re: The 14 April 2007 build is out.
Post by: Xerox on April 17, 2007, 08:03:01 pm
what about 64bits (for ubuntu in this case)  :D
Title: Re: The 14 April 2007 build is out.
Post by: Xaviou on April 17, 2007, 08:15:37 pm
what about 64bits (for ubuntu in this case)  :D

You should read the 3rd post of this topic  :)
Title: Re: The 14 April 2007 build is out.
Post by: Xerox on April 17, 2007, 09:23:06 pm
sorry....  :lol:

I get this problem (maybe i am not in the right topic?)

"Unpacking replacement codeblocks ...
dpkg: dependency problems prevent configuration of codeblocks:
codeblocks depends on libwxbase2.6-0 (>= 2.6.3.2.1.5ubuntu0.1); however:
  Version of libwxbase2.6-0 on system is 2.6.3.2.1.5.
codeblocks depends on libwxgtk2.6-0 (>= 2.6.3.2.1.5ubuntu0.1); however:
  Version of libwxgtk2.6-0 on system is 2.6.3.2.1.5.
dpkg: error processing codeblocks (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
codeblocks"
Title: Re: The 14 April 2007 build is out.
Post by: darthdespotism on April 17, 2007, 09:26:43 pm
did you built wxWidget on your own?

It seems as CodeBlocks looks for the Dev-Files that can be obtained using the Ubuntu Repistory
Title: Re: The 14 April 2007 build is out.
Post by: cstudent on April 17, 2007, 09:51:39 pm
Are you trying to install the Feisty deb on Edgy?



sorry....  :lol:

I get this problem (maybe i am not in the right topic?)

"Unpacking replacement codeblocks ...
dpkg: dependency problems prevent configuration of codeblocks:
codeblocks depends on libwxbase2.6-0 (>= 2.6.3.2.1.5ubuntu0.1); however:
  Version of libwxbase2.6-0 on system is 2.6.3.2.1.5.
codeblocks depends on libwxgtk2.6-0 (>= 2.6.3.2.1.5ubuntu0.1); however:
  Version of libwxgtk2.6-0 on system is 2.6.3.2.1.5.
dpkg: error processing codeblocks (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
codeblocks"
Title: Re: The 14 April 2007 build is out.
Post by: Xerox on April 18, 2007, 02:20:02 pm
darthdespotism: no I didn't... I don't know how to do it.
however, it seems to be already installed, according to the problem message....

cstudent: I installed the 64bits-version, i didn't look after the ubuntu version. i'm running on edgy. (i think about updating to feisty tomorrow  :P)
would it change anything?
Title: Re: The 14 April 2007 build is out.
Post by: cstudent on April 18, 2007, 03:41:31 pm
I was looking at the library version numbers in your error message. According to what is listed at http://packages.ubuntu.com , it looked like it was looking for versions listed under Feisty. Take a look at http://packages.ubuntu.com and do a search for libwx for any distribution and you'll see what I'm talking about.

And yes the message indicates you have a codeblocks deb installed, but it did not succeed in installing that particular package.


darthdespotism: no I didn't... I don't know how to do it.
however, it seems to be already installed, according to the problem message....

cstudent: I installed the 64bits-version, i didn't look after the ubuntu version. i'm running on edgy. (i think about updating to feisty tomorrow  :P)
would it change anything?
Title: Re: The 14 April 2007 build is out.
Post by: Xerox on April 18, 2007, 09:43:35 pm
thanks, i'll see that tomorrow...

actually, it runs, but synaptic says that it has deteected a broken package (->codeblocks) and it wants to uninstall it when i want to install some other packages...
Title: Re: The 14 April 2007 build is out.
Post by: diilbert on April 21, 2007, 04:02:43 pm
Latest SVN checkout:


Possible Quick Fix, needs tested.
Code
Index: src/sdk/editormanager.cpp
===================================================================
--- src/sdk/editormanager.cpp (revision 3858)
+++ src/sdk/editormanager.cpp (working copy)
@@ -64,6 +64,9 @@

 #include "wx/wxFlatNotebook/wxFlatNotebook.h"

+#ifndef wxHAS_REGEX_ADVANCED
+    #define wxRE_ADVANCED 0
+#endif

 namespace compatibility { typedef TernaryCondTypedef<wxMinimumVersion<2,5>::eval, wxTreeItemIdValue, long int>::eval tree_cookie_t; };




That worked.  Needed to compile without --enable-contrib.

Is there going to be a fix for this, since I would like to compile with --enable-contrib.

Thanks ;)