Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on January 18, 2007, 09:20:35 pm

Title: The 18 January 2007 build is out.
Post by: killerbot on January 18, 2007, 09:20:35 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.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 18 January 2007 build is out.
  - Windows : http://prdownload.berlios.de/codeblocks/CB_20070118_rev3504_win32.7z
  - Linux :
         http://prdownload.berlios.de/codeblocks/CB_20070118_rev3504_Ubuntu6.xx.deb
         http://prdownload.berlios.de/codeblocks/CB_20070118_rev3504_suse100+101.i586.rpm (not yet)
         http://prdownload.berlios.de/codeblocks/CB_20070118_rev3504_fc4+5.i586.rpm (not yet)


Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 18 January 2007 build is out.
Post by: Marenz on January 18, 2007, 09:29:45 pm
Codeblocks rev 3505 self compiled, on amd64, debian.

found a Bug: It displays a file as an empty file if it got this letter:



i think it originally was the (c) . after deleting that char it was fine.

--Ano
Title: Re: The 18 January 2007 build is out.
Post by: killerbot on January 18, 2007, 09:32:00 pm
use the correct encoding in CB.
Title: Re: The 18 January 2007 build is out.
Post by: Grom on January 18, 2007, 09:42:56 pm
Which one is correct one!? And can we have a simple functionality for that particular case... That something was opened and was not presented it will give a dialog with list of codings to choose. :idea:
Title: Re: The 18 January 2007 build is out.
Post by: Marenz on January 18, 2007, 10:08:39 pm
well i have no idea which is the correct one. i got this file and wanted to open it and bam.. empty.

later i found out that it was just in codeblocks empty.
vim e.g. displayed it. (well all but the � char).

it really can't be on my side to do s.th. that the file is openable..other more simple editors can do it, i am sure you can do it also :)

Great IDE btw :)


--Ano
Title: Re: The 18 January 2007 build is out.
Post by: Darck on January 19, 2007, 12:09:54 am
-------------- Build: Release in fff ---------------
Compiling: newtona.c
Execution of 'mingw32-gcc.exe -Wall -O2 -ansi  -ID:\CodeBlocks\DevPacks\include  -c D:\projekt\kartka\fff\newtona.c -o obj\Release\newtona.o' in 'D:\projekt\kartka\fff' failed.
Nothing to be done.

Nothing to be done.

What's wrong with my C::B, i have that error with every file i try to compile "failed." ?
Title: Little Bugs
Post by: basurapr on January 19, 2007, 12:13:38 am
Hi Code::Blocks developers and fans,

This is the best OS C++ IDE in the world :D. I discovered an error (bug) while trying to compile a program with a resource file (rc). This is the message I got.

======================================
::warning: `-x c' after last input file has no effect
:: no resources
======================================

I'm proud of these IDE, keep the Great Job. 8)
Title: Re: The 18 January 2007 build is out.
Post by: Pecan on January 19, 2007, 12:56:27 am
-------------- Build: Release in fff ---------------
Compiling: newtona.c
Execution of 'mingw32-gcc.exe -Wall -O2 -ansi  -ID:\CodeBlocks\DevPacks\include  -c D:\projekt\kartka\fff\newtona.c -o obj\Release\newtona.o' in 'D:\projekt\kartka\fff' failed.
Nothing to be done.

Nothing to be done.

What's wrong with my C::B, i have that error with every file i try to compile "failed." ?

CB cannot find your compiler. Check the paths set in Settings->compiler&Debugger=>Programs
Title: Re: The 18 January 2007 build is out.
Post by: gd_on on January 19, 2007, 08:47:47 am
Hi,
Same problem here than basurapr, with windows 2000.
Here is the log (in french):
****************************************************
-------------- Génère: default dans Application 1 - V3 ---------------
Exécution des étapes de pré-construction de la cible
cmd /C mktclapp -f kontex.mta >tcl_kontex.c
Compilation : double.c
Compilation : tcl_kontex.c
Compilation : Application1_CB.rc
gcc: D:\users\Gerard\Programmes: No such file or directory
gcc: en: No such file or directory
gcc: C\CodeBlocks\Appli_partiel_GD_PC\Application1_CB.rc: No such file or directory
gcc: warning: `-x c' after last input file has no effect
gcc: no input files
windres.exe: no resources
Le processus s'est terminé avec le statut 1 (0 minutes, 7 secondes)
1 erreurs, 1 avertissements
****************************************************

Obviously a (the !) problem with blank characters in the path name.
Normally should be in my case :  "D:\users\Gerard\Programmes en C\CodeBlocks\Appli_partiel_GD_PC\Application1_CB.rc"

Gd_on
Title: Re: The 18 January 2007 build is out.
Post by: killerbot on January 19, 2007, 09:03:43 am
another person mentioned that yesterday also : it seems rc files don't get quoted correctly.
Can you check with last nights nightly ? Oh, you did, otherwise the post won't be here. Duh.
Title: Re: The 18 January 2007 build is out.
Post by: gd_on on January 19, 2007, 09:30:41 am
Sorry, but I don't try each nightly and have not seen the yesterday post. My apologises!
But, to help, I have downloaded and tried this morning a few nightlies to see when the bug was introduced.
10 january, rev 3474 : OK
17 january, rev 3500 : bug
18 january, rev 3504 : bug
So, it was introduced between 3474 and 3500. No more precision because no published executable nightlies between those 2 dates.

gd_on
Title: Re: The 18 January 2007 build is out.
Post by: bigbug on January 19, 2007, 12:40:19 pm
Hello,
the "whitespace issue" is also present, if you've chosen to explicitely add the directory of the currently compiling file to the search dirs (in Settings->Compiler and debugger->Other) and the directory has spaces.
Title: Most important bugs
Post by: basurapr on January 19, 2007, 01:39:40 pm
Sorry, but I don't try each nightly and have not seen the yesterday post. My apologises!
But, to help, I have downloaded and tried this morning a few nightlies to see when the bug was introduced.
10 january, rev 3474 : OK
17 january, rev 3500 : bug
18 january, rev 3504 : bug
So, it was introduced between 3474 and 3500. No more precision because no published executable nightlies between those 2 dates.

gd_on

Like gd_on says,

the 10 january, rev 3474 works perfectly! But after that, bugs on debugger and rc files compiling where introduced. I'm actually using rev 3474, it works like a charm.
Title: Re: The 18 January 2007 build is out.
Post by: Darck on January 19, 2007, 01:49:23 pm
now C::B says "syntax error before '/' token". i cannont use // comments. Why? I haven't been changing anything.

another wired error:
D:\projekt\kartka\nevilea.c:35: error: 'for' loop initial declaration used outside C99 mode
:: === Build finished: 1 errors, 0 warnings ===

i want to compile just 1 .c file, not project. When i do that at windows desktop it works. After changing location of file to D:\projekt\kartka\ it shows that error.

code is simple:
"int main(){
    double x[]={-3,-2,0,3,4,8};
    double f[]={10,6,-2,-5,2,11};
    for(int i=-3;i<9;i++) printf("%d %f\n",i,neville(x,f,i));
}"
-----
I checked more. It's really wired. Code doesn't compile anywhere else than at desktop od subfolder of desktop.
Title: Re: The 18 January 2007 build is out.
Post by: ASJ on January 19, 2007, 01:59:08 pm
Hello,
due to a new system (SuSE 10.2, 64 bit) I decided to switch to a recent codeblocks version. But I couldn't find any 64bit nightlies and I don't know how to install the 32bit rpm (this gives huge problems between the 64bit and the 32bit versions of wx). Therefore I downloaded the svn version and built it (rev 3505). This went fine, but when I start codeblocks I just get the splash screen and nothing more. I tried several revisions but with no different results.
Does anyone have an idea what's going wrong?

Thanks!
Title: Re: The 18 January 2007 build is out.
Post by: artoj on January 19, 2007, 02:40:27 pm
Hello,
due to a new system (SuSE 10.2, 64 bit) I decided to switch to a recent codeblocks version. But I couldn't find any 64bit nightlies and I don't know how to install the 32bit rpm (this gives huge problems between the 64bit and the 32bit versions of wx). Therefore I downloaded the svn version and built it (rev 3505). This went fine, but when I start codeblocks I just get the splash screen and nothing more. I tried several revisions but with no different results.
Does anyone have an idea what's going wrong?

Run Code::Blocks from terminal:

Code
$ codeblocks

see what it outputs.
Title: Re: The 18 January 2007 build is out.
Post by: ASJ on January 19, 2007, 03:50:19 pm
It doesn't output anything in the terminal: a cursor on the next line while the splash screen is shown....that's all..


Title: Re: The 18 January 2007 build is out.
Post by: lapique on January 19, 2007, 04:17:17 pm
When I start C::B, I get an error in C::B log window. Here is the complete startup log :

Manager initialized
Scanning for lexers in C:\Documents and Settings\picard\Application Data\codeblocks/share/codeblocks/lexers/...
Found 0 lexers
Scanning for lexers in C:\Program Files\CodeBlocks/share/codeblocks/lexers/...
Found 27 lexers
Configured 3 tools
Scanning for plugins in C:\Documents and Settings\picard\Application Data\codeblocks/share/codeblocks/plugins...
Found 0 plugins
Scanning for plugins in C:\Program Files\CodeBlocks/share/codeblocks/plugins...
ERROR: SDK version mismatch for ClearCase (1.11.6). Expecting 1.11.7  <<<<< HERE IT IS <<<<<
Found 27 plugins
Loading: AStylePlugin Autosave BYOGames CB_Koders ClassWizard CodeCompletion CodeSnippets CodeStat Compiler copystrings Debugger FilesExtensionHandler DevPakUpdater cbDragScroll EnvVars Exporter HelpPlugin cbKeyBinder lib_finder Profiler RegExTestbed ScriptedWizard SymTab ToDoList wxSmith wxSmithMime wxSmithWizard WindowsXPLookNFeel
Opening E:\prog\projets\VhProcess\VhProcess.cbp: done
Opening E:\prog\projets\VhProParam\VhProParam\VhProParam.cbp: done
Running startup script
Script/function 'edit_startup_script.script' registered under menu 'Settings/-Edit startup script'
Title: Re: The 18 January 2007 build is out.
Post by: killerbot on January 19, 2007, 04:44:19 pm
damn, my clearcase plug-in got into a nightly, I am building already for 2 weeks on a different machine and have been very careful so it would not be in the nightly, and damn it got in. Go into the share directory of your CB and get rid of ClearCase zip and dll (dll is 1 level more down (plugins dir))
Title: Re: The 18 January 2007 build is out.
Post by: AmR EiSa on January 19, 2007, 04:44:58 pm
i think i find bug in ide Editor when i try zoom in and out the number side don't zoom as will , and i can't upload the pic to forums !
i get that ( You already submitted this post! You might have accidently double clicked, or tried to refresh. )
Title: Re: The 18 January 2007 build is out.
Post by: TDragon on January 19, 2007, 05:01:20 pm
my clearcase plug-in got into a nightly, I am building already for 2 weeks on a different machine and have been very careful so it would not be in the nightly
Been there for quite some time; 2007-01-08 nightly has it. (No errors, and I didn't know what it was so I disabled it.)
Title: Re: The 18 January 2007 build is out.
Post by: ASJ on January 19, 2007, 05:33:26 pm
does someone know whether a 64bits build will work on Suse 10.2 or whether the nightly 32bit version can be installed on suse 10.2 ? and if it can, is it possible to produce 64bit executables with the 32 bit version?

sorry to put the question here...didn't know where to put it elsewhere....
Title: Re: The 18 January 2007 build is out.
Post by: Grom on January 19, 2007, 05:48:03 pm
Install manually wxGTK 32 bit on to SUSE 10.2 64 bit. it may ask to install some packages, I was lucky and it asked only one package, don't remember which one. After that you can install CB i586 for SUSE 10.
Title: Re: The 18 January 2007 build is out.
Post by: ASJ on January 19, 2007, 09:45:28 pm
Thanks Grom, at least CB runs now (in 32bits).
Do you know whether it is possible to compile 64bit programs with this version? whenever I try to compile I get the error:
g++: no input files
while it seems the input file is there in the command prompt. This problem I do not have on my 32bit machine. Any idea?

thanks!
Title: Re: The 18 January 2007 build is out.
Post by: Grom on January 20, 2007, 01:14:51 am
On my SUSE 10.2 CB for 32 bit compiles 64 bit projects. It interacts with gcc only throw scripts. Here should be stupid bug, probably you didn't configure your project well or your CB was not tuned well to interact with gcc. Check compiler options.
Title: Re: The 18 January 2007 build is out.
Post by: kurapix on January 25, 2007, 09:07:45 am
How come the Ubuntu build isn't specific anymore? That's really great.
Everyday i come to see how Code::Blocks is going and everyday i see that you make it better and better ;) .
Thanks for all the good work you have made until there. I'll continue to learn to program ny my side ;) .
BTW continue the good works guys.

Kurapix