Code::Blocks

User forums => Nightly builds => Topic started by: killerbot on December 03, 2006, 06:38:12 pm

Title: The 03 december 2006 build is out.
Post by: killerbot on December 03, 2006, 06:38:12 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

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 03 December 2006 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20061203_rev3327_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20061203_rev3327_Ubuntu6.06.deb
         http://prdownload.berlios.de/codeblocks/CB_20061203_rev3327_suse100+101.rpm (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20061203_rev3327_fc4+5.rpm (not yet)


Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 03 december 2006 build is out.
Post by: Szabadember on December 03, 2006, 11:53:19 pm
TODO plugin bug:
  TODO-s below #warning won't appear in the list:

// TODO someone#1# this will appear in the list
#warning TODO someone#1# some warning --> warning type TODO-s won't appear in te list
// TODO someone#1# this won't appear in the list
Title: Re: The 03 december 2006 build is out.
Post by: oz on December 04, 2006, 04:19:42 am
Every time got a crash, start from 29-Nov, actually I did nothing, only open codeblocks then close it, and it crashes. I attached the rpt file with this thread. :shock:

Windows xp sp2

[attachment deleted by admin]
Title: Re: The 03 december 2006 build is out.
Post by: stahta01 on December 04, 2006, 04:49:55 am
Every time got a crash, start from 29-Nov, actually I did nothing, only open codeblocks then close it, and it crashes. I attached the rpt file with this thread. :shock:

Windows xp sp2

Disable Code Completion Plugin.

Tim S
Title: Re: The 03 december 2006 build is out.
Post by: skirby on December 04, 2006, 04:19:57 pm
Same problem here but under Windows 2000 sp4 (First time I saw the problem: build 11/29/2006)
I can confirm that disable Code Completion plugin resolve the crash when exiting C::B.

I hope this problem will be corrected in next build.

Have a nice day.
Title: Re: The 03 december 2006 build is out.
Post by: stahta01 on December 04, 2006, 06:28:56 pm
SVN 3332-3334 Build Issue changes to file tinywxuni.cpp causing project "C::B Share Config" to fail to build.

Tim S

-------------- Build: default in C::B Share Config ---------------
Precompiling header: wx_pch.h
Compiling: mainframe.cpp
Compiling: app.cpp
Compiling: ..\..\sdk\tinyxml\tinywxuni.cpp
..\..\sdk\tinyxml\tinywxuni.cpp: In function `bool TinyXML::LoadDocument(const wxString&, TiXmlDocument*)':
..\..\sdk\tinyxml\tinywxuni.cpp:10: error: `wxFile' has not been declared
..\..\sdk\tinyxml\tinywxuni.cpp:10: error: `wxFile' has not been declared
..\..\sdk\tinyxml\tinywxuni.cpp:10: error: `Access' undeclared (first use this function)
..\..\sdk\tinyxml\tinywxuni.cpp:10: error: (Each undeclared identifier is reported only once for each function it appears in.)
..\..\sdk\tinyxml\tinywxuni.cpp:13: error: `wxFile' undeclared (first use this function)
..\..\sdk\tinyxml\tinywxuni.cpp:13: error: expected `;' before "file"
..\..\sdk\tinyxml\tinywxuni.cpp:14: error: `file' undeclared (first use this function)
..\..\sdk\tinyxml\tinywxuni.cpp: In function `bool TinyXML::SaveDocument(const wxString&, TiXmlDocument*)':
..\..\sdk\tinyxml\tinywxuni.cpp:49: error: `Manager' has not been declared
..\..\sdk\tinyxml\tinywxuni.cpp:49: error: `Get' undeclared (first use this function)
Process terminated with status 1 (0 minutes, 20 seconds)
9 errors, 0 warnings
 
Title: Re: The 03 december 2006 build is out.
Post by: bnilsson on December 04, 2006, 06:58:03 pm
(I guess) similar errors here for rev 3334 "make" version in MacOSX:

Quote
Making all in tinyxml
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/sdk -I/opt/local/lib/wx/include/mac-unicode-release-2.6 -I/opt/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA      -O2 -ffast-math -I/opt/local/include -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT tinywxuni.lo -MD -MP -MF ".deps/tinywxuni.Tpo" -c -o tinywxuni.lo tinywxuni.cpp; \
then mv -f ".deps/tinywxuni.Tpo" ".deps/tinywxuni.Plo"; else rm -f ".deps/tinywxuni.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/sdk -I/opt/local/lib/wx/include/mac-unicode-release-2.6 -I/opt/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -O2 -ffast-math -I/opt/local/include -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT tinywxuni.lo -MD -MP -MF .deps/tinywxuni.Tpo -c tinywxuni.cpp  -fno-common -DPIC -o .libs/tinywxuni.o
In file included from ../sdk_precomp.h:8,
                 from tinywxuni.cpp:4:
../sdk_common.h:89:32: error: wx/wxscintilla.h: No such file or directory
../cbeditor.h:23: error: expected class-name before '{' token
../cbeditor.h:313: error: 'wxScintillaEvent' has not been declared
../cbeditor.h:314: error: 'wxScintillaEvent' has not been declared
Title: Re: The 03 december 2006 build is out.
Post by: afb on December 04, 2006, 07:54:15 pm
Code: Text
  1. Index: src/sdk/tinyxml/Makefile.am
  2. ===================================================================
  3. --- src/sdk/tinyxml/Makefile.am (revision 3334)
  4. +++ src/sdk/tinyxml/Makefile.am (arbetskopia)
  5. @@ -1,4 +1,5 @@
  6. -INCLUDES = $(WX_CXXFLAGS)
  7. +INCLUDES = $(WX_CXXFLAGS) \
  8. +                       -I$(top_srcdir)/src/sdk/wxscintilla/include
  9.  
  10.  sdkdir=$(includedir)/codeblocks/tinyxml
  11.  

Old code also had:
Code: [Select]
#include <wx/string.h>
#include <wx/file.h>

Sure it'll be fixed soon.
Title: Re: The 03 december 2006 build is out.
Post by: MortenMacFly on December 04, 2006, 08:17:33 pm
Includes have been fixed in SVN. Autobuild I can't do (no linux access ATM).
Thomas: In case you read this: I told you... ;-)
With regards, Morten.
Title: Re: The 03 december 2006 build is out.
Post by: afb on December 04, 2006, 08:18:47 pm
Includes have been fixed in SVN. Autobuild I can't do (no linux access ATM).

Can't you use MinGW for Autotools ? Haven't tried, but I do use it for Mac (which is not Linux either)
Title: Re: The 03 december 2006 build is out.
Post by: MortenMacFly on December 04, 2006, 08:30:14 pm
Can't you use MinGW for Autotools ? Haven't tried, but I do use it for Mac (which is not Linux either)
I could but I won't. I can do this tomorrow on a linux box - because I assume some PCH compatibility issues have to be fixed, too. I think this can wait about 12 hours saving me a couple of handbangs due to autotools issues on Win32... ;-)
With regards, Morten.

BTW: Did I mention that I don't like autotools...?! *lol*
Title: Re: The 03 december 2006 build is out.
Post by: sethjackson on December 04, 2006, 08:30:59 pm
Autotools on Windows? Where?
Title: Re: The 03 december 2006 build is out.
Post by: MortenMacFly on December 04, 2006, 08:36:15 pm
Autotools on Windows? Where?
For example on Cygwin/MinGW...
With regards, Morten.
Title: Re: The 03 december 2006 build is out.
Post by: sethjackson on December 04, 2006, 08:40:50 pm
Autotools on Windows? Where?
For example on Cygwin/MinGW...
With regards, Morten.

Oh ok. Do you have to have Cygwin to run autotools on Windows? Or can you run the tools w/o it?
Title: Re: The 03 december 2006 build is out.
Post by: afb on December 04, 2006, 08:42:29 pm
Can't you use MinGW for Autotools ? Haven't tried, but I do use it for Mac (which is not Linux either)
I could but I won't. I can do this tomorrow on a linux box - because I assume some PCH compatibility issues have to be fixed, too. I think this can wait about 12 hours saving me a couple of handbangs due to autotools issues on Win32... ;-)

Sure it can, just mentioned it as an alternative way of just checking syntax etc.

Autotools on Windows? Where?

We need to add some build-with-MinGW instructions to the Wiki, it sounds like...
Title: Re: The 03 december 2006 build is out.
Post by: afb on December 04, 2006, 08:43:22 pm
Oh ok. Do you have to have Cygwin to run autotools on Windows? Or can you run the tools w/o it?

Check out "MSYS": http://mingw.org/msys.shtml. It is compatible with Windows-sans-Cygwin.

Quote from: http://mingw.org/
MSYS: A Minimal SYStem to provide
POSIX/Bourne configure scripts the ability to
execute and create a Makefile used by make.
Title: Re: The 03 december 2006 build is out.
Post by: reptils on December 06, 2006, 03:07:47 pm
General question, When I run my consol program in code blocks, at the end I have my execution time (on MS-DOS), how can I have same result without using code blocks? (a specific command line?)
Title: Re: The 03 december 2006 build is out.
Post by: mandrav on December 06, 2006, 03:39:59 pm
General question, When I run my consol program in code blocks, at the end I have my execution time (on MS-DOS), how can I have same result without using code blocks? (a specific command line?)

Use cb_console_runner.exe to run your program, e.g. cb_console_runner.exe your.exe args_to_your_exe.
Title: Re: The 03 december 2006 build is out.
Post by: z.e.k on December 06, 2006, 06:03:50 pm
General question, When I run my consol program in code blocks, at the end I have my execution time (on MS-DOS), how can I have same result without using code blocks? (a specific command line?)

Add
Code: [Select]
system("PAUSE"); at the end of your main.
Title: Re: The 03 december 2006 build is out.
Post by: bnilsson on December 07, 2006, 05:28:13 pm
This problem still remains:
Quote
../sdk_common.h:89:32: error: wx/wxscintilla.h: No such file or directory
I have introduced afb's "quick-hack" but there was no change.
svn update, make clean, new trunk, etc. I tried, without success.
Title: Re: The 03 december 2006 build is out.
Post by: dje on December 07, 2006, 05:32:13 pm
General question, When I run my consol program in code blocks, at the end I have my execution time (on MS-DOS), how can I have same result without using code blocks? (a specific command line?)

Add
Code: [Select]
system("PAUSE"); at the end of your main.

And it gives you execution time ??  :wink: