Author Topic: The 14 April 2007 build is out.  (Read 15697 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5195
The 14 April 2007 build is out.
« 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:

  • CodeSnippets 1.1.73 2007/04/13 and 1.1.74 2007/04/14 : - Fixes & Edit additions (cf., version.cpp)

Regressions/Confirmed/Annoying/Common bugs:

  • toolbar-images-not-changing-state (is a wx problem/Win XP problem)
  • menu items with icon not correctly aligned (since wx263) (is fixed with our special wx263/wx28 dll)

« Last Edit: April 15, 2007, 09:33:47 am by killerbot »

Offline Xaviou

  • Regular
  • ***
  • Posts: 302
    • X@v's wxStuff
Re: The 14 April 2007 build is out.
« Reply #1 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: Text
  1. finddialogs.cpp: In constructor 'myFindReplaceDlg::myFindReplaceDlg(wxWindow*, const wxString&, const wxString&, wxUint32, long int)':
  2. 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:
  3. /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&)
  4. /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&)
  5. make[6]: *** [finddialogs.lo] Erreur 1

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

Edit : Seems to be working if adding a second cast :
Code: Text
  1.     m_finddir = new wxComboBox (this, -1, finddir,
  2.                                 wxDefaultPosition, wxSize(200, -1),
  3.                                 //0, NULL); //AMD64 ambiguity betw int vs wxArray
  4.                                 (int)0, (const wxString*) NULL);
  5.  
« Last Edit: April 14, 2007, 10:53:33 pm by Xaviou »
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline Xaviou

  • Regular
  • ***
  • Posts: 302
    • X@v's wxStuff
Re: The 14 April 2007 build is out.
« Reply #2 on: April 14, 2007, 11:17:07 pm »
Seems to be working if adding a second cast :
Code: Text
  1.     m_finddir = new wxComboBox (this, -1, finddir,
  2.                                 wxDefaultPosition, wxSize(200, -1),
  3.                                 //0, NULL); //AMD64 ambiguity betw int vs wxArray
  4.                                 (int)0, (const wxString*) NULL);
  5.  
It works  :D

Ubuntu 6.10 Amd64 .deb installer can be found here.
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2180
Re: The 14 April 2007 build is out.
« Reply #3 on: April 15, 2007, 02:32:42 am »
Seems to be working if adding a second cast :
Code: Text
  1.     m_finddir = new wxComboBox (this, -1, finddir,
  2.                                 wxDefaultPosition, wxSize(200, -1),
  3.                                 //0, NULL); //AMD64 ambiguity betw int vs wxArray
  4.                                 (int)0, (const wxString*) NULL);
  5.  
It works  :D

Ubuntu 6.10 Amd64 .deb installer can be found here.


Thanks for the reports and fix.
Applied SVN 3858

Offline cstudent

  • Almost regular
  • **
  • Posts: 159
    • Cstudent's Help Desk
Re: The 14 April 2007 build is out.
« Reply #4 on: April 15, 2007, 06:55:08 am »
Updated Ubuntu 7.04 (Feisty) build here.

Offline line

  • Single posting newcomer
  • *
  • Posts: 7
Re: The 14 April 2007 build is out.
« Reply #5 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.

Offline Gibbon

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: The 14 April 2007 build is out.
« Reply #6 on: April 15, 2007, 12:26:10 pm »
Latest SVN checkout:

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

and I get this error message:

Code: [Select]
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?

Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: The 14 April 2007 build is out.
« Reply #7 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
« Last Edit: April 15, 2007, 12:32:03 pm by darthdespotism »

Offline stg

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: The 14 April 2007 build is out.
« Reply #8 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 ...

Offline pauliusz

  • Multiple posting newcomer
  • *
  • Posts: 73
Re: The 14 April 2007 build is out.
« Reply #9 on: April 15, 2007, 12:49:27 pm »
Latest SVN checkout:

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

and I get this error message:

Code: [Select]
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

Offline ctnd

  • Single posting newcomer
  • *
  • Posts: 3
    • ctnd's blog
Message box popping up because it can't copy a project .temp file
« Reply #10 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:

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6678
    • My Best Post
Re: The 14 April 2007 build is out.
« Reply #11 on: April 15, 2007, 01:32:46 pm »
Latest SVN checkout:

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

and I get this error message:

Code: [Select]
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: [Select]
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; };

C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Suryavarman

  • Multiple posting newcomer
  • *
  • Posts: 33
    • Suryavarman
Re: The 14 April 2007 build is out.
« Reply #12 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

Offline Gibbon

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: The 14 April 2007 build is out.
« Reply #13 on: April 17, 2007, 12:44:40 am »
Latest SVN checkout:


Possible Quick Fix, needs tested.
Code: [Select]
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.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 14 April 2007 build is out.
« Reply #14 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.
Be a part of the solution, not a part of the problem.

Offline stg

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: The 14 April 2007 build is out.
« Reply #15 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

Xerox

  • Guest
Re: The 14 April 2007 build is out.
« Reply #16 on: April 17, 2007, 08:03:01 pm »
what about 64bits (for ubuntu in this case)  :D

Offline Xaviou

  • Regular
  • ***
  • Posts: 302
    • X@v's wxStuff
Re: The 14 April 2007 build is out.
« Reply #17 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  :)
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Xerox

  • Guest
Re: The 14 April 2007 build is out.
« Reply #18 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"

Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: The 14 April 2007 build is out.
« Reply #19 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

Offline cstudent

  • Almost regular
  • **
  • Posts: 159
    • Cstudent's Help Desk
Re: The 14 April 2007 build is out.
« Reply #20 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"

Xerox

  • Guest
Re: The 14 April 2007 build is out.
« Reply #21 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?

Offline cstudent

  • Almost regular
  • **
  • Posts: 159
    • Cstudent's Help Desk
Re: The 14 April 2007 build is out.
« Reply #22 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?

Xerox

  • Guest
Re: The 14 April 2007 build is out.
« Reply #23 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...

Offline diilbert

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: The 14 April 2007 build is out.
« Reply #24 on: April 21, 2007, 04:02:43 pm »
Latest SVN checkout:


Possible Quick Fix, needs tested.
Code: [Select]
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 ;)