Author Topic: The 30 March 2007 build is out.  (Read 16140 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
The 30 March 2007 build is out.
« on: March 30, 2007, 11:05:49 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 30 March 2007 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20070330_rev3799_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20070330_rev3799_Ubuntu6.xx.deb (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20070330_rev3799_suse100-102.i586.rpm (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20070330_rev3799_fc4+5.i586.rpm (not yet)


Resolved Fixed:

  • report if a new project overwriting an existing one cannot be created (e.g. due to the old one being read-only) and handle this as error (!)
  • Fixed: [Bug #8279] Opened Files tree displays newly-created files incorrectly
  • Fixed: [Bug #10779] funny folding behavior in a split-view
  • Fixed: [Bug #10784] Undo in lower split window scrolls the upper

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)


Max

  • Guest
Re: The 30 March 2007 build is out - bug report
« Reply #1 on: March 31, 2007, 01:17:27 am »
Using the latest 3999 nigthly in a Win XP sp2 pc I got the following issue.

a) I defined a tool as you can observe in the attached image bug.jpg
b) running the tool I got an error from drmingw and in the CB message window
the following message is reported

Launching tool 'JIT Debugger Enable': C:\MinGW\bin\drmingw.exe  --install --install (in C:\Codeblocks)
Tool execution terminated with status 0

As you can see the command parameter "--install" is duplicated.

If I put the --install in the executable edit box (removing it from the parameter edit box) everything goes well.

Max


[attachment deleted by admin]

Offline szczepan

  • Multiple posting newcomer
  • *
  • Posts: 42
As of v3800, still this build error:
« Reply #2 on: March 31, 2007, 07:08:55 am »
GCC 4.1.2 on linux, configured --with-wx-config=wx-config-2.6 --enable-contrib.

Code
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:32,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:32,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:33,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:32,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:33,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from gdb_tipwindow.cpp:40:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:66:1: warning: "GTK_CLASS_TYPE" redefined
In file included from /usr/include/wx-2.6/wx/wxprec.h:13,
                 from ../../../src/include/sdk_common.h:29,
                 from ../../../src/include/sdk_precomp.h:8,
                 from ../../../src/include/sdk.h:12,
                 from gdb_tipwindow.cpp:21:
/usr/include/wx-2.6/wx/defs.h:2794:1: warning: this is the location of the previous definition
In file included from /usr/include/gtk-2.0/gtk/gtkwidget.h:32,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:33,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:32,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:33,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32,
                 from gdb_tipwindow.cpp:40:
/usr/include/gtk-2.0/gtk/gtkobject.h:46:1: warning: "GTK_OBJECT_GET_CLASS" redefined
In file included from /usr/include/wx-2.6/wx/wxprec.h:13,
                 from ../../../src/include/sdk_common.h:29,
                 from ../../../src/include/sdk_precomp.h:8,
                 from ../../../src/include/sdk.h:12,
                 from gdb_tipwindow.cpp:21:
/usr/include/wx-2.6/wx/defs.h:2793:1: warning: this is the location of the previous definition
/usr/include/gtk-2.0/gdk/gdktypes.h:76: error: conflicting declaration 'typedef struct _GdkAtom* GdkAtom'
/usr/include/wx-2.6/wx/defs.h:2761: error: 'GdkAtom' has a previous declaration as 'typedef gulong GdkAtom'
/usr/include/gtk-2.0/gdk/gdktypes.h:102: error: conflicting declaration 'typedef struct _GdkDrawable GdkBitmap'
/usr/include/wx-2.6/wx/defs.h:2763: error: 'GdkBitmap' has a previous declaration as 'typedef struct _GdkWindow GdkBitmap'
/usr/include/gtk-2.0/gdk/gdktypes.h:103: error: conflicting declaration 'typedef struct _GdkDrawable GdkPixmap'
/usr/include/wx-2.6/wx/defs.h:2764: error: 'GdkPixmap' has a previous declaration as 'typedef struct _GdkWindow GdkPixmap'
/usr/include/gtk-2.0/gdk/gdktypes.h:104: error: conflicting declaration 'typedef struct _GdkDrawable GdkWindow'
/usr/include/wx-2.6/wx/defs.h:2762: error: 'GdkWindow' has a previous declaration as 'typedef struct _GdkWindow GdkWindow'
make[4]: *** [gdb_tipwindow.lo] Błąd 1
make[4]: Opuszczenie katalogu `/home/rulatir/works/CodeBlocks/trunk/src/plugins/debuggergdb'
make[3]: *** [all-recursive] Błąd 1
make[3]: Opuszczenie katalogu `/home/rulatir/works/CodeBlocks/trunk/src/plugins/debuggergdb'
make[2]: *** [all-recursive] Błąd 1
make[2]: Opuszczenie katalogu `/home/rulatir/works/CodeBlocks/trunk/src/plugins'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/rulatir/works/CodeBlocks/trunk/src'
make: *** [all-recursive] Błąd 1

By the way, I've read some 2.8 patches were applied to the mainline recently. Is SVN now expected to build with wx2.8? If not, could "doesn't build with wx2.8" be added to "regressions/confirmed/annoying/common bugs" so that there is a clear signal when the problem gets solved?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: The 30 March 2007 build is out.
« Reply #3 on: March 31, 2007, 09:48:07 am »
szczepan:

I am a windows person, but I think the issue is that __WXGTK20__ is NOT defined; this implies you are NOT using GTK2.
Edit: Do you have an old copy of GTK1 that it could be seeing before the GTK2.
Sorry: About the "NOT using GTK2", but following the headers some reason __WXGTK20__ is not being defined earlier enough, I have no idea where it should be defined but setup.h is a possible file. My andLinux worked __WXGTK20__ should be defined in setup.h.

Do you have the directory containing wx/setup.h in the include search path?

Tim S

FROM http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux#wxWidgets_build
Quote
The most important being GTK2, of course! Let me stress it here, while it's early: GTK2 is required, not GTK1,
« Last Edit: March 31, 2007, 11:32:26 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline branleb

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: The 30 March 2007 build is out.
« Reply #4 on: March 31, 2007, 10:41:35 am »
Hey, I am using SuSE and I am wodnering why you don't release any new nightly  build package for that distribution, but you keep always the link with a "(not yet)" .
Will there be any SuSE build the next time ?
Don't hate the Hacker. Hate the Code!

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: The 30 March 2007 build is out.
« Reply #5 on: March 31, 2007, 11:34:30 am »
Hey, I am using SuSE and I am wodnering why you don't release any new nightly  build package for that distribution, but you keep always the link with a "(not yet)" .
Will there be any SuSE build the next time ?

An two week old copy seems to be the newest on http://developer.berlios.de/project/showfiles.php?group_id=5358
Tim S

http://prdownload.berlios.de/codeblocks/CB_20070314_rev3703_suse100-102.i586.rpm

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

Offline gd_on

  • Lives here!
  • ****
  • Posts: 797
Re: The 30 March 2007 build is out.
« Reply #6 on: March 31, 2007, 03:53:31 pm »
Many things have recently changed in the menus text (for example "Open" is now "Open..."). So menus translations does not work for those menus  :(. It should be nice  8) if the template po file on Rosetta was updated by an administrator to be able to correctly set the translations (and more, there are also some items which are not present in Rosetta file).
Thanks.
gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: The 30 March 2007 build is out.
« Reply #7 on: March 31, 2007, 08:10:55 pm »
src/sdk/infowindow.cpp needs to include <wx/statbmp.h> when building with --disable-pch.
System: Ubuntu 6.10 AMD64, GCC 4.1.2, wxGTK 2.6.3.2.

Patch:
Code
Index: src/sdk/infowindow.cpp
===================================================================
--- src/sdk/infowindow.cpp      (revision 3803)
+++ src/sdk/infowindow.cpp      (working copy)
@@ -5,6 +5,7 @@
     #include <wx/stattext.h>
     #include <wx/sizer.h>
     #include <wx/settings.h>
+    #include <wx/statbmp.h>
     #include "infowindow.h"
     #include "manager.h"
 #endif

Cheers,
JohnE / TDM
(Now running Linux under VMWare. :D)
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 30 March 2007 build is out.
« Reply #8 on: March 31, 2007, 08:18:01 pm »
(Now running Linux under VMWare. :D)

Just curious, Does the Free VMWare Player can run Linux? I've no idea about it but I'm interested in running a lightweight Linux, say DSL, on Windows in VMWare or some other emulators.

I tried, QEmu+DSL and it doesn't boot in my pc. I've tried QEmu+ReactOS (Windows Clone), and it started crashing after installing Firefox. :(
Be a part of the solution, not a part of the problem.

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: The 30 March 2007 build is out.
« Reply #9 on: March 31, 2007, 08:23:02 pm »
Just curious, Does the Free VMWare Player can run Linux?
Absolutely! That's what I'm using, and it works like a dream. The easiest way to do it is to create an empty virtual machine at EasyVMX.com, put the Linux install CD in your CD drive, and load the vmx file in VMWare Player. It should boot from the CD automatically, and you can install your distro and be ready to go.

I'm using a virtual drive size of 4.7GB and memory size of 320MB. More than enough disk space for a basic Ubuntu installation (3.66 GB used so far), and so far enough memory so there's no major thrashing. It's not quite as snappy as a non-emulated installation with hardware-accelerated graphics, but I can't tell the difference between it and a non-emulated installation without hardware-accelerated graphics (i.e. using the basic XGA driver). It's perfectly usable. (My actual PC is an Athlon 64 3500+@2.2Ghz, 768MB DDR 400.)
« Last Edit: March 31, 2007, 08:33:10 pm by TDragon »
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

devilsclaw

  • Guest
Re: The 30 March 2007 build is out.
« Reply #10 on: March 31, 2007, 08:29:05 pm »
yeah it runs on linux fine. but you should try having the newest version.

otherwise you will have to patch the drivers your self to get them working.

every since kernel 2.6.19 i had to patch the current drivers for the vmware im using.

not sure if i have the most current since 6.0 is supposed to be out soon if its not already.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 30 March 2007 build is out.
« Reply #11 on: March 31, 2007, 08:31:57 pm »
Absolutely! That's what I'm using, and it works like a dream. The easiest way to do it is to create an empty virtual machine at EasyVMX.com, put the Linux install CD in your CD drive, and load the vmx file in VMWare Player. It should boot from the CD automatically, and you can install your distro and be ready to go.

Thanks for the tips. :D

Will try this tomorrow.

yeah it runs on linux fine. but you should try having the newest version.

otherwise you will have to patch the drivers your self to get them working.

every since kernel 2.6.19 i had to patch the current drivers for the vmware im using.

not sure if i have the most current since 6.0 is supposed to be out soon if its not already.

Thanks for the info. My purpose is to use it to compile and test C::B while I'm on Windows. :)
Be a part of the solution, not a part of the problem.

Offline raph

  • Almost regular
  • **
  • Posts: 242
Re: The 30 March 2007 build is out.
« Reply #12 on: March 31, 2007, 09:03:31 pm »
@Biplab
You may as well want to have a look at VirtualBox
http://en.wikipedia.org/wiki/VirtualBox
http://www.virtualbox.org/

Here is an interesting article called "VirtualBox vs. Qemu vs. Vmware-player"
http://www.linux-gamers.net/modules/smartsection/item.php?itemid=56

To compile and test C::B under windows AndLinux might also be interesting.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 30 March 2007 build is out.
« Reply #13 on: March 31, 2007, 09:13:32 pm »
Thanks raph. :)

Already Morten told me about VirtualBox. But I couldn't try this. I'll surely try it in future. :)
Be a part of the solution, not a part of the problem.

Offline RJP Computing

  • Almost regular
  • **
  • Posts: 135
    • RJP Computing
Re: The 30 March 2007 build is out.
« Reply #14 on: March 31, 2007, 09:38:38 pm »
andLinux is simply incredible. I you it daily now. It works faster than VMWare by a lot for me. I have not tried VirtualBox, but I love that it is open-source. If it works as good as VMWare I will probably never use VMWare again.
- Ryan

Ubuntu/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, ATI Radeon 9600XT 256MB