Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on October 22, 2007, 08:11:52 pm

Title: The 22 October 2007 build (4551) is out.
Post by: killerbot on October 22, 2007, 08:11:52 pm
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works (http://forums.codeblocks.org/index.php/topic,3232.0.html).

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx284.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

The 22 October 2007 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20071022_rev4551_win32.7z
  - Linux :
   none

Resolved Fixed:


Regressions/Confirmed/Annoying/Common bugs:


Title: Re: The 22 October 2007 build (4551) is out.
Post by: Grom on October 22, 2007, 08:27:04 pm
Would be gate to have OpenMP for gcc. I use MinGW gcc 4.2.2 and it supports the OpenMP.
Title: Re: The 22 October 2007 build (4551) is out.
Post by: Jenna on October 22, 2007, 08:49:05 pm
debian-repository with nightlies (slow because it's a home-server via dsl)

actually svn4551

add to /etc/apt/sources.list :

for etch aka stable
Code
deb http://jens.lody.name/debian/ etch main
deb-src http://jens.lody.name/debian/ etch main

for lenny aka testing
Code
deb http://jens.lody.name/debian/ lenny main
deb-src http://jens.lody.name/debian/ lenny main

for sid aka unstable
Code
deb http://jens.lody.name/debian/ unstable main
deb-src http://jens.lody.name/debian/ unstable main

add my public-key to apt's trustdb:
Code
wget -q http://jens.lody.name/debian/jens.asc -O-  | sudo apt-key add -

build against wxWidgets 2.84 from

Code
deb http://apt.tt-solutions.com/debian/ etch main
key-import to apt's trusted keys:
Code
wget -q http://www.tt-solutions.com/vz/key.asc -O-  | sudo apt-key add -
Title: Re: The 22 October 2007 build (4551) is out.
Post by: pasgui on October 22, 2007, 09:03:06 pm
Build for Ubuntu i386/amd64 can be found here (http://lgp203.free.fr/spip/spip.php?article1)

New repository: (http://lgp203.free.fr/spip/spip.php?article2)
Code
deb http://lgp203.free.fr/ubuntu/ distname universe
instead of
Code
deb http://lgp203.free.fr/ubuntu/ distname main
Title: Re: The 22 October 2007 build (4551) is out.
Post by: pasgui on October 22, 2007, 09:08:23 pm
http://prdownload.berlios.de/codeblocks/CB_20071022_rev4545_win32.7z

I think the correct link is http://prdownload.berlios.de/codeblocks/CB_20071022_rev4551_win32.7z

Best regards,

pasgui
Title: Re: The 22 October 2007 build (4551) is out.
Post by: killerbot on October 22, 2007, 09:30:47 pm
thanks for pointing this out, link has been fixed.
Title: Re: The 22 October 2007 build (4551) is out.
Post by: Xaviou on October 22, 2007, 09:48:22 pm
Ubuntu 6.10 & 7.04 Amd64 tar.gz archive (containing '.deb' installers builds with wx2.8.6) can be found here (http://www.esnips.com/web/CodeBlocks).
Title: Re: The 22 October 2007 build (4551) is out.
Post by: Grom on October 22, 2007, 11:13:59 pm
The popup menu don't show up in win32 version of C::B under wine emulator. Stupid problem. Probably that is the wine problem...
Title: Re: The 22 October 2007 build (4551) is out.
Post by: h8or on October 23, 2007, 01:17:03 am
Would be gate to have OpenMP for gcc. I use MinGW gcc 4.2.2 and it supports the OpenMP.
This would be very very nice!
Title: Re: The 22 October 2007 build (4551) is out.
Post by: frithjofh on October 23, 2007, 08:27:59 am
hi, everybody,

i've had problems with this nightly. changed jesterday from 4545 to 4551 and starting c::b is fine, the program opens up as normal. but when i tried to open a project wich worked and still works with 4545 ( i reverted to that nightly this morning) the program onlyshows a white surface and does not react at all. using the process information i found that c::b was at 98 % of cpu usage, 37.500 of memory, lecture E/S 30.500 and a page file of 812 MB.

under the tab of running apps i could not terminate c::b, i had to terminate it under process tab, which i did after waiting about 15 minutes. c::b terminated instantly then.

the project is a wxwidgets app, i'm running version 2.8.6...

did not mess up the project or anything, under nightly 45454 it works fine again now... :)

greetings

frithjofh
Title: Re: The 22 October 2007 build (4551) is out.
Post by: MortenMacFly on October 23, 2007, 08:32:07 am
the project is a wxwidgets app, i'm running version 2.8.6...
Could you post the project file here, please?! (Maybe even the whole projects if it's OS...?!)
With regards, Morten.
Title: Re: The 22 October 2007 build (4551) is out.
Post by: frithjofh on October 23, 2007, 09:02:04 am
here's the project-file for a start
Code
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="cte1" />
<Option pch_mode="0" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin\Debug\cte1" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Debug\" />
<Option type="0" />
<Option compiler="gcc" />
<Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-g" />
<Add option="-D__WXDEBUG__" />
<Add directory="$(#wx)\lib\gcc_dll\mswud" />
</Compiler>
<ResourceCompiler>
<Add directory="$(#wx)\lib\gcc_dll\mswud" />
</ResourceCompiler>
<Linker>
<Add library="libwxmsw28ud.a" />
<Add directory="$(#wx)\lib\gcc_dll" />
</Linker>
</Target>
<Target title="Release">
<Option output="bin\Release\cte1" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Release\" />
<Option type="0" />
<Option compiler="gcc" />
<Option projectLinkerOptionsRelation="2" />
<Compiler>
<Add option="-O2" />
<Add directory="$(#wx)\lib\gcc_dll\mswu" />
</Compiler>
<ResourceCompiler>
<Add directory="$(#wx)\lib\gcc_dll\mswu" />
</ResourceCompiler>
<Linker>
<Add option="-s" />
<Add library="libwxmsw28u.a" />
<Add directory="$(#wx)\lib\gcc_dll" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-pipe" />
<Add option="-mthreads" />
<Add option="-Winvalid-pch" />
<Add option="-include wx_pch.h" />
<Add option="-finput-charset=iso-8859-1" />
<Add option="-D__GNUWIN32__" />
<Add option="-D__WXMSW__" />
<Add option="-DWXUSINGDLL" />
<Add option="-DwxUSE_UNICODE" />
<Add option="-DWX_PRECOMP" />
<Add directory="$(#wx)\include" />
<Add directory="$(#wx)\contrib\include" />
</Compiler>
<ResourceCompiler>
<Add directory="$(#wx)\include" />
</ResourceCompiler>
<Unit filename="capital.cpp" />
<Unit filename="capital.h" />
<Unit filename="capitalData.cpp" />
<Unit filename="capitalData.h" />
<Unit filename="cte1App.cpp" />
<Unit filename="cte1App.h" />
<Unit filename="cte1Main.cpp" />
<Unit filename="cte1Main.h" />
<Unit filename="material.cpp" />
<Unit filename="material.h" />
<Unit filename="materialData.cpp" />
<Unit filename="materialData.h" />
<Unit filename="project.cpp">
<Option weight="49" />
</Unit>
<Unit filename="project.h">
<Option weight="49" />
</Unit>
<Unit filename="resource.rc">
<Option compilerVar="WINDRES" />
</Unit>
<Unit filename="wx_pch.h">
<Option compile="1" />
<Option weight="0" />
</Unit>
<Unit filename="wxsmith\cte1frame.wxs" />
<Extensions>
<code_completion />
<envvars />
<debugger />
<wxsmith version="1">
<gui name="wxWidgets" src="cte1App.cpp" main="cte1Frame" init_handlers="necessary" language="CPP" />
<resources>
<wxFrame wxs="wxsmith/cte1frame.wxs" src="cte1Main.cpp" hdr="cte1Main.h" name="cte1Frame" language="CPP" />
</resources>
</wxsmith>
</Extensions>
</Project>
</CodeBlocks_project_file>
Title: Re: The 22 October 2007 build (4551) is out.
Post by: Biplab on October 23, 2007, 09:11:01 am
here's the project-file for a start

It's CC which is hanging. So merely providing a project file may not help. If possible provide the full source as a zip file.
Title: Re: The 22 October 2007 build (4551) is out.
Post by: frithjofh on October 23, 2007, 09:25:23 am
ok, but don't laugh at my horrible beginners code  :mrgreen:

[attachment deleted by admin]
Title: Re: The 22 October 2007 build (4551) is out.
Post by: Biplab on October 23, 2007, 09:42:34 am
ok, but don't laugh at my horrible beginners code  :mrgreen:

No we won't. ;)

It hangs even when the CC is disabled. Let me dig this further. :)
Title: Re: The 22 October 2007 build (4551) is out.
Post by: MortenMacFly on October 23, 2007, 10:36:06 am
ok, but don't laugh at my horrible beginners code  :mrgreen:
Don't you worry... ;-)

Anyway: I'm sorry to say this, but for me the project opens just fine...?!
Title: Re: The 22 October 2007 build (4551) is out.
Post by: Biplab on October 23, 2007, 10:36:23 am
ok, but don't laugh at my horrible beginners code  :mrgreen:

Fixed in revision 4553. Thanks a lot for pointing this and providing the source. :)

PS: Sorry CC. You're not the culprit. ;)
Title: Re: The 22 October 2007 build (4551) is out.
Post by: frithjofh on October 23, 2007, 11:16:31 am
well, do I have to change anything in my code then ...?  :D
Title: Re: The 22 October 2007 build (4551) is out.
Post by: Biplab on October 23, 2007, 12:44:32 pm
well, do I have to change anything in my code then ...?  :D

No, you don't need to make any change to your code. :)
Title: Character encoding problem ?
Post by: morgan on October 23, 2007, 03:46:36 pm
Hello everyone,

Linux' CB-4551 seems to store files in UTF-8, though it is configured to use another codepage. Can anybody confirm this ?

(I work on debian Etch and i need CP1252 because of a XP/Vista/Linux development environment behind subversion)

When I edit a file, after saving, file tells me that it is UTF-8 :

   morgan@morgan-desktop:~/src/eventManager$ file tMessage.h
   tMessage.h: UTF-8 Unicode C program text
   morgan@morgan-desktop:~/src/eventManager$
Title: Re: Character encoding problem ?
Post by: Biplab on October 23, 2007, 04:27:06 pm
Linux' CB-4551 seems to store files in UTF-8, though it is configured to use another codepage. Can anybody confirm this ?

I made a change in rev 4553 which would fix such problem. But still one issue remains. The fallback code uses ISO-8859-1 encoding. So even if you set the code page to CP1252, C::B won't be able to detect it on Linux as the detection code is missing.
Title: Re: The 22 October 2007 build (4551) is out.
Post by: darthdespotism on October 23, 2007, 06:15:28 pm
rev4554 doesn't compile for me (Did svn cleanup + ./bootstrap + make clean + ./configure --with-contrib-plugins=all + make + make install)
Code
Making install in projectsimporter
make[4]: Betrete Verzeichnis '/home/darthdespotism/dev/CB/src/plugins/projectsimporter'
Making install in resources
make[5]: Betrete Verzeichnis '/home/darthdespotism/dev/CB/src/plugins/projectsimporter/resources'
Makefile:282: *** Rekursive Variable »PWD« referenziert sich (schließlich) selbst.  Schluss.
make[5]: Verlasse Verzeichnis '/home/darthdespotism/dev/CB/src/plugins/projectsimporter/resources'
make[4]: *** [install-recursive] Fehler 1
make[4]: Verlasse Verzeichnis '/home/darthdespotism/dev/CB/src/plugins/projectsimporter'
make[3]: *** [install-recursive] Fehler 1
make[3]: Verlasse Verzeichnis '/home/darthdespotism/dev/CB/src/plugins'
make[2]: *** [install-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/darthdespotism/dev/CB/src'
make[1]: *** [install-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/darthdespotism/dev/CB'
make: *** [install] Fehler 2
g++ 4.1.2-0ubuntu4
Ubuntu 7.04
wxWidget 2.8.4
Title: Re: The 22 October 2007 build (4551) is out.
Post by: Biplab on October 23, 2007, 06:37:32 pm
rev4554 doesn't compile for me (Did svn cleanup + ./bootstrap + make clean + ./configure --with-contrib-plugins=all + make + make install)

Should work now. Can you please confirm? My Linux box can't access svn atm. :)
Title: Re: The 22 October 2007 build (4551) is out.
Post by: Jenna on October 23, 2007, 07:47:50 pm
Still does not compile in svn 4555.
Same error (selfreferencing "PWD") . Now it's line 409.
Title: Re: The 22 October 2007 build (4551) is out.
Post by: Biplab on October 23, 2007, 08:02:36 pm
Still does not compile in svn 4555.
Same error (selfreferencing "PWD") . Now it's line 409.

Confirmed. But I don't understand why it fails whereas similar code works for other targets?? :(
Title: Re: The 22 October 2007 build (4551) is out.
Post by: killerbot on October 23, 2007, 08:37:17 pm
confirmed.
Title: Re: The 22 October 2007 build (4551) is out.
Post by: Jenna on October 24, 2007, 12:07:39 am
Hi Biplap,

I changed the "Makefile.am" in "src/plugins/projectsimporter/resources/" to:
Code
EXTRA_DIST = project_import_menu.xrc  manifest.xml

pkgdata_DATA = projectsimporter.zip
CLEANFILES = $(pkgdata_DATA)

projectsimporter.zip: $(EXTRA_DIST)
        PWD=`pwd` cd $(srcdir) && zip $(PWD)/projectsimporter.zip manifest.xml *.xrc > /dev/null

This solved the problem for me.
Title: Re: The 22 October 2007 build (4551) is out.
Post by: Biplab on October 24, 2007, 06:50:18 am
I changed the "Makefile.am" in "src/plugins/projectsimporter/resources/" to:
Code
EXTRA_DIST = project_import_menu.xrc  manifest.xml

pkgdata_DATA = projectsimporter.zip
CLEANFILES = $(pkgdata_DATA)

projectsimporter.zip: $(EXTRA_DIST)
        PWD=`pwd` cd $(srcdir) && zip $(PWD)/projectsimporter.zip manifest.xml *.xrc > /dev/null

This solved the problem for me.

Thanks for the info. It's now fixed in SVN. :)

I had made two stupid mistakes which caused this problems. :evil:
1) Unfortunately the "Tab" character in Makefile.am file was replaced by Space character which is not allowed.
2) The line ending got changed to CR-LF style as I edited that on Windows.

My apologies for the inconvenience caused. :oops:
Title: Re: The 22 October 2007 build (4551) is out.
Post by: killerbot on October 24, 2007, 08:03:45 am
where before it failed for me during make install, now it fails in make  :shock:

Should it do a make clean first ? [Can try this the earliest this evening, but can also check on my linuxbox at work, in 45 minutes ;-)]


EDIT : linuxbox at work : ok
Title: Re: The 22 October 2007 build (4551) is out.
Post by: Biplab on October 24, 2007, 08:38:35 am
where before it failed for me during make install, now it fails in make  :shock:

Should it do a make clean first ? [Can try this the earliest this evening, but can also check on my linuxbox at work, in 4 minutes ;-)]

Try deleting the Makefile.in and Makefile (of src/plugins/projectimporter/resource dir) and then doing a ./bootstrap and ./configure
Title: Re: The 22 October 2007 build (4551) is out.
Post by: killerbot on October 24, 2007, 08:56:21 pm
where before it failed for me during make install, now it fails in make  :shock:

Should it do a make clean first ? [Can try this the earliest this evening, but can also check on my linuxbox at work, in 4 minutes ;-)]

Try deleting the Makefile.in and Makefile (of src/plugins/projectimporter/resource dir) and then doing a ./bootstrap and ./configure

this fixed it
Title: Re: The 22 October 2007 build (4551) is out.
Post by: Biplab on October 25, 2007, 05:39:46 am
this fixed it

Nice to know this. :)
Title: Re: The 22 October 2007 build (4551) is out.
Post by: sque on October 25, 2007, 12:30:51 pm
Build for Ubuntu i386/amd64 can be found here (http://lgp203.free.fr/spip/spip.php?article1)

I don't know if you are responsible for the package building. But I came across a dependancy problem on previous installs of codeblocks. It doesn't depend on wxgtk2.8 (I am not on linux atm to remember the name exactly) and when you try to start codeblocks it complains for missing wxsomething.so library. I think it should be added as dependency