Author Topic: The 22 October 2007 build (4551) is out.  (Read 35392 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
The 22 October 2007 build (4551) is out.
« 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.

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:

  • wxSmith: Fixed bug for wxStdDialogButtonSizer when using XRC file
  • Added: OpenMP compiler flag to Intel compiler
  • Fixed: OpenMP remark is detected as an error (affecting Intel compiler)
  • Improved: Unicode support in C::B

Regressions/Confirmed/Annoying/Common bugs:

  • toolbar-images-not-changing-state (is a wx problem/Win XP problem)

« Last Edit: October 22, 2007, 09:30:27 pm by killerbot »

Offline Grom

  • Almost regular
  • **
  • Posts: 206
Re: The 22 October 2007 build (4551) is out.
« Reply #1 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.
gcc+winXP+suse.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 22 October 2007 build (4551) is out.
« Reply #2 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 -

Offline pasgui

  • Almost regular
  • **
  • Posts: 165
    • LGP
Re: The 22 October 2007 build (4551) is out.
« Reply #3 on: October 22, 2007, 09:03:06 pm »
Build for Ubuntu i386/amd64 can be found here

New repository:
Code
deb http://lgp203.free.fr/ubuntu/ distname universe
instead of
Code
deb http://lgp203.free.fr/ubuntu/ distname main
« Last Edit: October 28, 2007, 02:00:21 am by pasgui »


Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 22 October 2007 build (4551) is out.
« Reply #5 on: October 22, 2007, 09:30:47 pm »
thanks for pointing this out, link has been fixed.

Offline Xaviou

  • Regular
  • ***
  • Posts: 403
    • X@v's wxStuff
Re: The 22 October 2007 build (4551) is out.
« Reply #6 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.
The french wxWidgets site : http://www.wxdev.fr
My wxWidgets's stuff : https://wxstuff.xaviou.fr/

Offline Grom

  • Almost regular
  • **
  • Posts: 206
Re: The 22 October 2007 build (4551) is out.
« Reply #7 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...
gcc+winXP+suse.

Offline h8or

  • Multiple posting newcomer
  • *
  • Posts: 13
    • My personal webpage
Re: The 22 October 2007 build (4551) is out.
« Reply #8 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!

Offline frithjofh

  • Regular
  • ***
  • Posts: 376
Re: The 22 October 2007 build (4551) is out.
« Reply #9 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
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 22 October 2007 build (4551) is out.
« Reply #10 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline frithjofh

  • Regular
  • ***
  • Posts: 376
Re: The 22 October 2007 build (4551) is out.
« Reply #11 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>
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #12 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.
Be a part of the solution, not a part of the problem.

Offline frithjofh

  • Regular
  • ***
  • Posts: 376
Re: The 22 October 2007 build (4551) is out.
« Reply #13 on: October 23, 2007, 09:25:23 am »
ok, but don't laugh at my horrible beginners code  :mrgreen:

[attachment deleted by admin]
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #14 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. :)
Be a part of the solution, not a part of the problem.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 22 October 2007 build (4551) is out.
« Reply #15 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...?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #16 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. ;)
« Last Edit: October 23, 2007, 10:47:53 am by Biplab »
Be a part of the solution, not a part of the problem.

Offline frithjofh

  • Regular
  • ***
  • Posts: 376
Re: The 22 October 2007 build (4551) is out.
« Reply #17 on: October 23, 2007, 11:16:31 am »
well, do I have to change anything in my code then ...?  :D
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #18 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. :)
Be a part of the solution, not a part of the problem.

Offline morgan

  • Single posting newcomer
  • *
  • Posts: 9
Character encoding problem ?
« Reply #19 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$

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Character encoding problem ?
« Reply #20 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.
Be a part of the solution, not a part of the problem.

Offline darthdespotism

  • Almost regular
  • **
  • Posts: 163
    • Coder's Nemesis
Re: The 22 October 2007 build (4551) is out.
« Reply #21 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
« Last Edit: October 23, 2007, 06:18:48 pm by darthdespotism »

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #22 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. :)
Be a part of the solution, not a part of the problem.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 22 October 2007 build (4551) is out.
« Reply #23 on: October 23, 2007, 07:47:50 pm »
Still does not compile in svn 4555.
Same error (selfreferencing "PWD") . Now it's line 409.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #24 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?? :(
Be a part of the solution, not a part of the problem.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 22 October 2007 build (4551) is out.
« Reply #25 on: October 23, 2007, 08:37:17 pm »
confirmed.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 22 October 2007 build (4551) is out.
« Reply #26 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.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #27 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:
Be a part of the solution, not a part of the problem.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 22 October 2007 build (4551) is out.
« Reply #28 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
« Last Edit: October 24, 2007, 09:09:43 am by killerbot »

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #29 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
« Last Edit: October 24, 2007, 08:52:04 am by Biplab »
Be a part of the solution, not a part of the problem.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: The 22 October 2007 build (4551) is out.
« Reply #30 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

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 22 October 2007 build (4551) is out.
« Reply #31 on: October 25, 2007, 05:39:46 am »
Be a part of the solution, not a part of the problem.

Offline sque

  • Multiple posting newcomer
  • *
  • Posts: 65
Re: The 22 October 2007 build (4551) is out.
« Reply #32 on: October 25, 2007, 12:30:51 pm »
Build for Ubuntu i386/amd64 can be found here

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
Tell me a bug and I 'll tell you two  :twisted: