Author Topic: The 24 April 2007 build is out.  (Read 35107 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5489
The 24 April 2007 build is out.
« on: April 24, 2007, 09:46: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 24 April 2007 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20070424_rev3885_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20070424_rev3885_Ubuntu6.xx.deb
         http://prdownload.berlios.de/codeblocks/CB_20070424_rev3885_suse100-102.i586.rpm (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20070424_rev3885_fc4+5.i586.rpm (not yet)


Resolved Fixed:

  • Fixed: [Bug #10914] Code windows lost focus is Find command failed
  • make wxSmithContribItems work on Mac
  • CodeSnippets 1.2.15 2007/04/20
    - changed some wxMessageBox(s) to messageBox
    - If file already open in editor, just focus it. (use wxTreeItemId)
    - messageBox(s) identify themselves as CodeSnippets msgs
    - Prevent window size of 0,0
    - Prevent multiple instances of CodeSnippets
    - Add DragnDrop of File Links to/from CodeBlocks (GTK)
  • CodeSnippets 1.2.29 2007/04/23
    - Removed old editSnippetDlg class
    - Enabled Properties edit cut/copy/paste/undo/redo/selectAll
    - Fixed: can't force close/switch when menu item active
    - Add Index File backup facility
    - stahta01 changes 2007/4/21 for wxGTK2.8
    - Add ".trash" option to delete external file (ask to delete file)
    - Corrected messageBox placement for floating vs docked window (again)
    - Fixed Termination/OnActivate crash
    - Fixed bug on Linux, the executable folder wx being reported incorrectly
  • Added support for content of wxChartCtrl item (charts can be added inside RAD now)
  • wxSmith: Fixed event generation for root item
  • CodeSnippets Add $(WX_CXXFLAGS) to Makefile.am
  • updated cb_share_config to new wxSmith (including minor gui enhancements)
  • Improved: Auto-detection of Intel C/C++ Compiler in Linux

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 24, 2007, 10:47:25 pm by killerbot »

Offline Xaviou

  • Regular
  • ***
  • Posts: 401
    • X@v's wxStuff
Re: The 24 April 2007 build is out.
« Reply #1 on: April 24, 2007, 09:49:20 pm »
Ubuntu 6.10 & 7.04 Amd64 .deb installer can be found here.
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline gjsmo

  • Multiple posting newcomer
  • *
  • Posts: 28
  • i luv computers
    • My Blog
Re: The 24 April 2007 build is out.
« Reply #2 on: April 24, 2007, 10:01:07 pm »
Ubuntu 6.10 & 7.04 Amd64 .deb installer can be found here.

you are REALLY fast. can't beat 4 minutes!
http://www.danasoft.com/sig/gjsmo.jpg i luv linux.
There are 10 types of people in this world - those who understand binary and those who don't.
oh yeah: "I didn't really say everything I said."      -Yogi Berra

Offline Xaviou

  • Regular
  • ***
  • Posts: 401
    • X@v's wxStuff
Re: The 24 April 2007 build is out.
« Reply #3 on: April 24, 2007, 10:08:51 pm »
Ubuntu 6.10 & 7.04 Amd64 .deb installer can be found here.

you are REALLY fast. can't beat 4 minutes!

Building on a 150Mhz 360 cores processor, with 10To RAM and uploading with a 1Go/s bandwidth adsl connection  :D
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 24 April 2007 build is out.
« Reply #4 on: April 24, 2007, 10:37:11 pm »
Ubuntu 6.10 & 7.04 Amd64 .deb installer can be found here.

you are REALLY fast. can't beat 4 minutes!

Building on a 150Mhz 360 cores processor, with 10To RAM and uploading with a 1Go/s bandwidth adsl connection  :D

:shock:

Offline Xaviou

  • Regular
  • ***
  • Posts: 401
    • X@v's wxStuff
Re: The 24 April 2007 build is out.
« Reply #5 on: April 24, 2007, 10:42:40 pm »
Ubuntu 6.10 & 7.04 Amd64 .deb installer can be found here.

you are REALLY fast. can't beat 4 minutes!

Building on a 150Mhz 360 cores processor, with 10To RAM and uploading with a 1Go/s bandwidth adsl connection  :D

:shock:



Byo, don't you believe me ?  :shock:
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline AmR EiSa

  • Multiple posting newcomer
  • *
  • Posts: 75
Re: The 24 April 2007 build is out.
« Reply #6 on: April 24, 2007, 10:55:36 pm »
I don't  :?

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 24 April 2007 build is out.
« Reply #7 on: April 24, 2007, 11:02:15 pm »
Ubuntu 6.10 & 7.04 Amd64 .deb installer can be found here.

you are REALLY fast. can't beat 4 minutes!

Building on a 150Mhz 360 cores processor, with 10To RAM and uploading with a 1Go/s bandwidth adsl connection  :D

:shock:



Byo, don't you believe me ?  :shock:


I believe, probably some cluster machine  :). In my case, compiling C::B after svn update takes about 1 hour and it's sometimes frustrating ;). So that's why I'm shocked about those 4 minutes. I congratulate you on having such enormous (comparing to my case of course) build abilities ;)

BYO

Offline Xaviou

  • Regular
  • ***
  • Posts: 401
    • X@v's wxStuff
Re: The 24 April 2007 build is out.
« Reply #8 on: April 24, 2007, 11:12:41 pm »
I believe, probably some cluster machine  :). In my case, compiling C::B after svn update takes about 1 hour and it's sometimes frustrating ;). So that's why I'm shocked about those 4 minutes. I congratulate you on having such enormous (comparing to my case of course) build abilities ;)

BYO

That was a joke  :lol:
Those packages has been uploaded a few minutes before killerbot made his post. I made them to check the possibility of installing each package on the other distro (edgy's deb on feisty, and feisty's deb on edgy).
The build process takes me about half an hour each time.
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 24 April 2007 build is out.
« Reply #9 on: April 24, 2007, 11:40:58 pm »
That was a joke  :lol:
Those packages has been uploaded a few minutes before killerbot made his post. I made them to check the possibility of installing each package on the other distro (edgy's deb on feisty, and feisty's deb on edgy).
The build process takes me about half an hour each time.


1:0 for you.
I started to imagine that you are administrator of some big network in some big corporation or something.

But such compile times are possible. AFAIK ReactOs has specialized build server which need 3 minutes to compile their source which normally takes 2 hours (they use this to test build after each commit to automatically notify developers about broken revisions). Maybe we don't need such stuff and such speed, but gcc could be a little bit faster when dealing with 70MB precompiled headers  :x

So, please don't laugh at my naiveness, I just needed few minutes of imagining a better coding world ;)

BYO

Offline Grom

  • Almost regular
  • **
  • Posts: 206
Re: The 24 April 2007 build is out.
« Reply #10 on: April 25, 2007, 12:02:35 am »
Every one university has cluster. So if you have developers from university, you can ask them to give time on cluster. Usually in the university that is not a big problem to put somebody between staff users :lol:.
gcc+winXP+suse.

alanwong

  • Guest
Re: The 24 April 2007 build is out.
« Reply #11 on: April 25, 2007, 02:26:49 am »
Why don't provide .deb installer for  Debian4.0 ?
« Last Edit: April 25, 2007, 02:28:37 am by alanwong »

Offline cstudent

  • Almost regular
  • **
  • Posts: 159
    • Cstudent's Help Desk
Re: The 24 April 2007 build is out.
« Reply #12 on: April 25, 2007, 03:57:08 am »
Updated Ubuntu 7.04 Feisty Fawn build available here.

diilbert

  • Guest
Re: The 24 April 2007 build is out.
« Reply #13 on: April 25, 2007, 04:12:26 am »
Still build problems with wxGTK 2.8.0.

Code
wx_gtk2u-2.8
gtk 2.10.6
Debian 4.0
Code:Blocks SVN 3887

Here is the new batch of errors from codesnippets.cpp

Code
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I../../../../src/include -I../../../../src/include/wxscintilla/include -I../../../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT codesnippets.lo -MD -MP -MF .deps/codesnippets.Tpo -c codesnippets.cpp  -fPIC -DPIC -o .libs/codesnippets.o
codesnippets.cpp: In member function 'void CodeSnippets::OnTreeCtrlEvent(wxTreeEvent&)':
codesnippets.cpp:854: error: 'GDK_WINDOW_XDISPLAY' was not declared in this scope
codesnippets.cpp:855: error: 'None' was not declared in this scope
codesnippets.cpp:856: error: 'GDK_WINDOW_XID' was not declared in this scope
codesnippets.cpp:858: error: 'XWarpPointer' was not declared in this scope
make[5]: *** [codesnippets.lo] Error 1
make[5]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib/codesnippets'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib/codesnippets'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hillsro/svn/codeblocks/src'
make: *** [all-recursive] Error 1

« Last Edit: April 25, 2007, 04:14:57 am by diilbert »

Offline clyfish

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: The 24 April 2007 build is out.
« Reply #14 on: April 25, 2007, 06:35:52 am »
Why don't provide .deb installer for  Debian4.0 ?
just use Ubuntu6.xx.deb.

Offline kurapix

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: The 24 April 2007 build is out.
« Reply #15 on: April 25, 2007, 06:42:48 am »
Hi!

I also have build problems with SVN 3887 under Ubuntu 7.04 with the official Ubuntu packages of libs (wxGTK, ...).

I've typed :
Code
./bootstrap
./configure
make

Then I have this error :
Code
tinystr.cpp:51: error: 'ake' does not name a type
make[3]: *** [tinystr.lo] Error 1
make[3]: quitting directory « /home/kurapix/devel/CodeBlocks/trunk/src/base/tinyxml »
make[2]: *** [all-recursive] Error 1
make[2]: quitting directory « /home/kurapix/devel/CodeBlocks/trunk/src/base »
make[1]: *** [all-recursive] Error 1
make[1]: quitting directory « /home/kurapix/devel/CodeBlocks/trunk/src »
make: *** [all-recursive] Error 1

The complete log :
Code
Making all in src
make[1]: entering directory« /home/kurapix/devel/CodeBlocks/trunk/src »
Making all in base
make[2]: entering directory « /home/kurapix/devel/CodeBlocks/trunk/src/base »
Making all in tinyxml
make[3]: entering directory « /home/kurapix/devel/CodeBlocks/trunk/src/base/tinyxml »
/bin/bash ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA   -I../../../src/include/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml  -Ulinux -Uunix  -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinystr.lo -MD -MP -MF .deps/tinystr.Tpo -c -o tinystr.lo tinystr.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../src/include/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinystr.lo -MD -MP -MF .deps/tinystr.Tpo -c tinystr.cpp  -fPIC -DPIC -o .libs/tinystr.o
tinystr.cpp:51: error: 'ake' does not name a type
make[3]: *** [tinystr.lo] Error 1
make[3]: quitting directory « /home/kurapix/devel/CodeBlocks/trunk/src/base/tinyxml »
make[2]: *** [all-recursive] Error 1
make[2]: quitting directory « /home/kurapix/devel/CodeBlocks/trunk/src/base »
make[1]: *** [all-recursive] Error 1
make[1]: quitting directory « /home/kurapix/devel/CodeBlocks/trunk/src »
make: *** [all-recursive] Error 1

I just can't build Code::Blocks.
Even if I use the .cbp .

Thank you for your answers in advance.

Kurapix
Code::Blocks package building script

Volgovod

  • Guest
Re: The 24 April 2007 build is out.
« Reply #16 on: April 25, 2007, 10:25:22 am »
BUG: wxSmith does not work.

Ubuntu 7.04 i386, Code::Blocks SVN 3885 (CB_20070424_rev3885_Ubuntu6.xx.deb):

Code
Manager initialized
Scanning for lexers in /usr/share/codeblocks/lexers/...
Found 27 lexers
Configured 0 tools
Scanning for plugins in /home/myname/.codeblocks/share/codeblocks/plugins...
Found 0 plugins
Scanning for plugins in /usr/share/codeblocks/plugins...
ERROR: Invalid manifest file for: wxSmithMime
ERROR: Invalid manifest file for: wxSmith
Found 24 plugins
Loading: FilesExtensionHandler CB_Koders CodeSnippets ClassWizard EnvVars wxSmithContribItems cbDragScroll SymTab Profiler ScriptedWizard ToDoList Autosave HelpPlugin CodeCompletion AStylePlugin Debugger Compiler CodeStat cbKeyBinder RegExTestbed BYOGames lib_finder Exporter
Running startup script
Script/function 'edit_startup_script.script' registered under menu 'Settings/-Edit startup script'

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2743
Re: The 24 April 2007 build is out.
« Reply #17 on: April 25, 2007, 02:27:29 pm »
Still build problems with wxGTK 2.8.0.

Code
wx_gtk2u-2.8
gtk 2.10.6
Debian 4.0
Code:Blocks SVN 3887

Here is the new batch of errors from codesnippets.cpp

Code
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I../../../../src/include -I../../../../src/include/wxscintilla/include -I../../../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT codesnippets.lo -MD -MP -MF .deps/codesnippets.Tpo -c codesnippets.cpp  -fPIC -DPIC -o .libs/codesnippets.o
codesnippets.cpp: In member function 'void CodeSnippets::OnTreeCtrlEvent(wxTreeEvent&)':
codesnippets.cpp:854: error: 'GDK_WINDOW_XDISPLAY' was not declared in this scope
codesnippets.cpp:855: error: 'None' was not declared in this scope
codesnippets.cpp:856: error: 'GDK_WINDOW_XID' was not declared in this scope
codesnippets.cpp:858: error: 'XWarpPointer' was not declared in this scope
make[5]: *** [codesnippets.lo] Error 1
make[5]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib/codesnippets'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib/codesnippets'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hillsro/svn/codeblocks/src'
make: *** [all-recursive] Error 1



This might help:
http://forums.codeblocks.org/index.php/topic,5754.msg44104.html#msg44104

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 24 April 2007 build is out.
« Reply #18 on: April 25, 2007, 05:48:28 pm »
BUG: wxSmith does not work.

Ubuntu 7.04 i386, Code::Blocks SVN 3885 (CB_20070424_rev3885_Ubuntu6.xx.deb):

Code
Manager initialized
Scanning for lexers in /usr/share/codeblocks/lexers/...
Found 27 lexers
Configured 0 tools
Scanning for plugins in /home/myname/.codeblocks/share/codeblocks/plugins...
Found 0 plugins
Scanning for plugins in /usr/share/codeblocks/plugins...
ERROR: Invalid manifest file for: wxSmithMime
ERROR: Invalid manifest file for: wxSmith
Found 24 plugins
Loading: FilesExtensionHandler CB_Koders CodeSnippets ClassWizard EnvVars wxSmithContribItems cbDragScroll SymTab Profiler ScriptedWizard ToDoList Autosave HelpPlugin CodeCompletion AStylePlugin Debugger Compiler CodeStat cbKeyBinder RegExTestbed BYOGames lib_finder Exporter
Running startup script
Script/function 'edit_startup_script.script' registered under menu 'Settings/-Edit startup script'

Strange, I didn't notice such problems on linux (Ubuntu 7.04 i386), I compiled C::B myself from clean checkout.

BYO

Offline Xaviou

  • Regular
  • ***
  • Posts: 401
    • X@v's wxStuff
Re: The 24 April 2007 build is out.
« Reply #19 on: April 25, 2007, 06:39:52 pm »
Strange, I didn't notice such problems on linux (Ubuntu 7.04 i386), I compiled C::B myself from clean checkout.

BYO

No such problem for me (Ubuntu 6.10 amd64) self compiled

Did you tried to redo a bootstrap ? And to get a clean svn dir ?
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline cstudent

  • Almost regular
  • **
  • Posts: 159
    • Cstudent's Help Desk
Re: The 24 April 2007 build is out.
« Reply #20 on: April 25, 2007, 06:44:36 pm »
Strange, I didn't notice such problems on linux (Ubuntu 7.04 i386), I compiled C::B myself from clean checkout.

BYO

No such problem for me (Ubuntu 6.10 amd64) self compiled

Did you tried to redo a bootstrap ? And to get a clean svn dir ?


It may be my bad. I'm at the moment rebuilding and checking if it was something on my system that caused the error. I'll let you know.

EDIT: Nope. I built the .deb (3888) with completely new svn and still get the errors. I thought it might have been something residual but appears not to be the case. This started in revision 3876.

Code
Manager initialized
Scanning for lexers in /usr/share/codeblocks/lexers/...
Found 27 lexers
Configured 0 tools
Scanning for plugins in /home/kirby/.codeblocks/share/codeblocks/plugins...
Found 0 plugins
Scanning for plugins in /usr/share/codeblocks/plugins...
ERROR: Invalid manifest file for: wxSmith
ERROR: Invalid manifest file for: wxSmithMime
Found 23 plugins
Loading: CodeSnippets Debugger ToDoList ScriptedWizard Compiler cbKeyBinder CodeStat HelpPlugin wxSmithContribItems CB_Koders Exporter SymTab AStylePlugin Profiler cbDragScroll CodeCompletion BYOGames lib_finder EnvVars ClassWizard Autosave FilesExtensionHandler RegExTestbed
Running startup script
Script/function 'edit_startup_script.script' registered under menu 'Settings/-Edit startup script'
« Last Edit: April 25, 2007, 07:06:11 pm by cstudent »

Offline gjsmo

  • Multiple posting newcomer
  • *
  • Posts: 28
  • i luv computers
    • My Blog
Re: The 24 April 2007 build is out.
« Reply #21 on: April 25, 2007, 06:52:48 pm »
Ubuntu 6.10 & 7.04 Amd64 .deb installer can be found here.

you are REALLY fast. can't beat 4 minutes!

Building on a 150Mhz 360 cores processor, with 10To RAM and uploading with a 1Go/s bandwidth adsl connection  :D

:shock:



Byo, don't you believe me ?  :shock:

i don't believe you either.  :shock::shock::shock::shock::shock::shock:
http://www.danasoft.com/sig/gjsmo.jpg i luv linux.
There are 10 types of people in this world - those who understand binary and those who don't.
oh yeah: "I didn't really say everything I said."      -Yogi Berra

Offline Xaviou

  • Regular
  • ***
  • Posts: 401
    • X@v's wxStuff
Re: The 24 April 2007 build is out.
« Reply #22 on: April 25, 2007, 06:54:28 pm »
No such problem for me (Ubuntu 6.10 amd64) self compiled

Did you tried to redo a bootstrap ? And to get a clean svn dir ?


Ooooops !

Revision 3888 gave me the same errors.

I was too fast for posting
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline Xaviou

  • Regular
  • ***
  • Posts: 401
    • X@v's wxStuff
Re: The 24 April 2007 build is out.
« Reply #23 on: April 25, 2007, 07:36:33 pm »
The same problem appears with a clean svn dir.
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 24 April 2007 build is out.
« Reply #24 on: April 25, 2007, 11:29:24 pm »
Ok, I'll check this, just wait few more minutes, I need about 0,5 h to finish clean compilation ;)

But to be honest I really don't have any idea what's wrong. GDB will show  8)

BYO

Offline Xaviou

  • Regular
  • ***
  • Posts: 401
    • X@v's wxStuff
Re: The 24 April 2007 build is out.
« Reply #25 on: April 25, 2007, 11:46:49 pm »
Good luck  :)
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline cstudent

  • Almost regular
  • **
  • Posts: 159
    • Cstudent's Help Desk
Re: The 24 April 2007 build is out.
« Reply #26 on: April 26, 2007, 12:53:13 am »
As an experiment I built Codeblocks from source on Ubuntu 7.04 32bit and I still get the manifest file errors.

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 24 April 2007 build is out.
« Reply #27 on: April 26, 2007, 01:09:46 am »
Something strange is going on there... I've found out that when C::B tries to load wxSmith and wxSmithMime plugins, it uses manifest of wxSmithContribItems  :shock:, The reason that invalid manifest file is used is that there's invalid plgin file name passed into manifest loading function, but what's the reason of that mismatched plugin filename... I don't know yet :(

BYO

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 24 April 2007 build is out.
« Reply #28 on: April 26, 2007, 01:36:46 am »
Ok, should be fixed now (rev 3389)

Offline cstudent

  • Almost regular
  • **
  • Posts: 159
    • Cstudent's Help Desk
Re: The 24 April 2007 build is out.
« Reply #29 on: April 26, 2007, 03:45:12 am »
Ok, should be fixed now (rev 3389)

Confirmed.


diilbert

  • Guest
Re: The 24 April 2007 build is out.
« Reply #30 on: April 26, 2007, 04:27:52 am »
Still build problems with wxGTK 2.8.0.

Code
wx_gtk2u-2.8
gtk 2.10.6
Debian 4.0
Code:Blocks SVN 3887

Here is the new batch of errors from codesnippets.cpp

Code
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I../../../../src/include -I../../../../src/include/wxscintilla/include -I../../../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT codesnippets.lo -MD -MP -MF .deps/codesnippets.Tpo -c codesnippets.cpp  -fPIC -DPIC -o .libs/codesnippets.o
codesnippets.cpp: In member function 'void CodeSnippets::OnTreeCtrlEvent(wxTreeEvent&)':
codesnippets.cpp:854: error: 'GDK_WINDOW_XDISPLAY' was not declared in this scope
codesnippets.cpp:855: error: 'None' was not declared in this scope
codesnippets.cpp:856: error: 'GDK_WINDOW_XID' was not declared in this scope
codesnippets.cpp:858: error: 'XWarpPointer' was not declared in this scope
make[5]: *** [codesnippets.lo] Error 1
make[5]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib/codesnippets'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib/codesnippets'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hillsro/svn/codeblocks/src'
make: *** [all-recursive] Error 1



This might help:
http://forums.codeblocks.org/index.php/topic,5754.msg44104.html#msg44104

Fixed one problem.

Still have another:
 
Code
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -I../../../../../../src/include -I../../../../../../src/include/wxFlatNotebook/include -I../../../../../../src/include/wxscintilla/include -I../../../../../../src/include/wxFlatNotebook -I../../../../../../src/include/propgrid/include -DWXMAKINGLIB_PROPGRID -DwxPG_COMPATIBILITY_1_0_0 -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT wxsnotebook.lo -MD -MP -MF .deps/wxsnotebook.Tpo -c ./wxsnotebook.cpp  -fPIC -DPIC -o .libs/wxsnotebook.o ./wxsnotebook.cpp: In function 'const wxsStyleSet*<unnamed>::GetwxsNotebookStyle sStyleSet()': 
./wxsnotebook.cpp:166: error: 'wxNB_DEFAULT' was not declared in this scope
./wxsnotebook.cpp:167: error: 'wxNB_LEFT' was not declared in this scope
./wxsnotebook.cpp:168: error: 'wxNB_RIGHT' was not declared in this scope
./wxsnotebook.cpp:169: error: 'wxNB_TOP' was not declared in this scope
./wxsnotebook.cpp:170: error: 'wxNB_BOTTOM' was not declared in this scope
./wxsnotebook.cpp:171: error: 'wxNB_FIXEDWIDTH' was not declared in this scope
./wxsnotebook.cpp:172: error: 'wxNB_MULTILINE' was not declared in this scope
./wxsnotebook.cpp:173: error: 'wxNB_NOPAGETHEME' was not declared in this scope
./wxsnotebook.cpp:175: error: 'wxNB_FLAT' was not declared in this scope
./wxsnotebook.cpp: In member function 'virtual wxObject* wxsNotebook::OnBuildPreview(wxWindow*, long int)':
./wxsnotebook.cpp:236: error: 'wxNotebook' was not declared in this scope
./wxsnotebook.cpp:236: error: 'Notebook' was not declared in this scope
./wxsnotebook.cpp:236: error: expected type-specifier before 'wxNotebook'
./wxsnotebook.cpp:236: error: expected `;' before 'wxNotebook'
./wxsnotebook.cpp: In member function 'virtual bool wxsNotebook::OnMouseClick(wxWindow*, int, int)':
./wxsnotebook.cpp:304: error: 'wxNotebook' was not declared in this scope
./wxsnotebook.cpp:304: error: 'Notebook' was not declared in this scope
./wxsnotebook.cpp:304: error: expected primary-expression before ')' token
./wxsnotebook.cpp:304: error: expected `;' before 'Preview'
make[6]: *** [wxsnotebook.lo] Error 1
make[6]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib/wxSmith/wxwidgets/defitems'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib/wxSmith/wxwidgets'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib/wxSmith'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hillsro/svn/codeblocks/src'
make: *** [all-recursive] Error 1

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7576
    • My Best Post
Re: The 24 April 2007 build is out.
« Reply #31 on: April 26, 2007, 10:22:07 pm »
diilbert: Is your wxWidgets complied with 2.6 mode enabled? If not, then try it with 2.6 mode enabled.

Do not use --disable-compat26, try using --enable-compat26 if removing --disable-compat26 is not enough.

This should result in the setup.h having WXWIN_COMPATIBILITY_2_6=1 in Windows, might not use the same method in Linux or Mac.

Tim S

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

diilbert

  • Guest
Re: The 24 April 2007 build is out.
« Reply #32 on: April 27, 2007, 04:54:39 am »
diilbert: Is your wxWidgets complied with 2.6 mode enabled? If not, then try it with 2.6 mode enabled.

Do not use --disable-compat26, try using --enable-compat26 if removing --disable-compat26 is not enough.

This should result in the setup.h having WXWIN_COMPATIBILITY_2_6=1 in Windows, might not use the same method in Linux or Mac.

Tim S


Well I tried --enable-compat26 and rebuilding wxGTK & C::B w/o success.

Any other thoughts ?

Offline kurapix

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: The 24 April 2007 build is out.
« Reply #33 on: April 27, 2007, 06:06:14 am »
Hi,

I still have the same problem, I just can't build Code::Blocks from svn.
I do :
Code
./bootstrap
./configure
make
Then I have the same log as before.
Code
Making all in src
make[1]: entrant dans le répertoire « /home/kurapix/devel/CodeBlocks/trunk/src »
Making all in base
make[2]: entrant dans le répertoire « /home/kurapix/devel/CodeBlocks/trunk/src/base »
Making all in tinyxml
make[3]: entrant dans le répertoire « /home/kurapix/devel/CodeBlocks/trunk/src/base/tinyxml »
/bin/bash ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA   -I../../../src/include/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml  -Ulinux -Uunix  -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinystr.lo -MD -MP -MF .deps/tinystr.Tpo -c -o tinystr.lo tinystr.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../src/include/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinystr.lo -MD -MP -MF .deps/tinystr.Tpo -c tinystr.cpp  -fPIC -DPIC -o .libs/tinystr.o
tinystr.cpp:51: error: 'ake' does not name a type
make[3]: *** [tinystr.lo] Erreur 1
make[3]: quittant le répertoire « /home/kurapix/devel/CodeBlocks/trunk/src/base/tinyxml »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/kurapix/devel/CodeBlocks/trunk/src/base »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/kurapix/devel/CodeBlocks/trunk/src »
make: *** [all-recursive] Erreur 1

Under Code::Blocks, when I try to compile with the project file : "Code::Blocks-unix.cbp", it just doesn't work, I have those errors :
Code
tinystr.cpp line 39 : attention : messing braces around initializer for 'char[1]'
tinystr.cpp line 51 : error : 'ake' does not name a type

My config :
Code
Ubuntu 7.04 : "Feisty Fawn"
wx2.6 and wx2.8 (runtime and dev, ubuntu packages)
GCC 4.1.2
Code::Blocks 3895 sources

Thanks in advance for your answers.

Kurapix
Code::Blocks package building script

Offline cstudent

  • Almost regular
  • **
  • Posts: 159
    • Cstudent's Help Desk
Re: The 24 April 2007 build is out.
« Reply #34 on: April 27, 2007, 12:36:23 pm »
Kurapix, do you have the following packages installed?

autotools-dev, libc6-dev, libstdc++6-4.1-dev, libwxgtk2.6-dev, wx-common, libgtk2.0-dev, zip, pkg-config, subversion

diilbert

  • Guest
Re: The 24 April 2007 build is out.
« Reply #35 on: April 27, 2007, 02:11:53 pm »
I am thinking that if the make is failing on tinyXML, you are definitely missing some standard package of some kind ;)

Offline kurapix

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: The 24 April 2007 build is out.
« Reply #36 on: April 28, 2007, 03:35:20 am »
Thanks for your answers.

Yes I have all those packages installed cstudent.
I'm probably missing something like dillbert said but don't know what.

Kurapix
Code::Blocks package building script