You are not logged in.

#1 2007-07-19 23:02:16

Bola
Member
From: Italia
Registered: 2007-02-16
Posts: 118

Codeblocks

Someone can maintein this C/C++ IDE?

There is an error in pkgbuild so when i lunch the program it crash and starts bug buddy with an xml report.

Thanks. big_smile

Offline

#2 2007-07-20 10:12:45

Bola
Member
From: Italia
Registered: 2007-02-16
Posts: 118

Re: Codeblocks

up

Offline

#3 2007-07-20 11:00:59

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: Codeblocks

Ain't Eclipse the defacto standard for all your linux coding needs?
(according to linux developers, if you need an IDE)

What's better in that, than in eclipse?

Offline

#4 2007-07-20 11:07:10

Bola
Member
From: Italia
Registered: 2007-02-16
Posts: 118

Re: Codeblocks

I simply prefer codeblocks tongue

Is possible to have a mainteiner for this great C/C++ IDE? neutral

Offline

#5 2007-07-20 11:12:25

[vEX]
Member
From: Sweden
Registered: 2006-11-23
Posts: 450

Re: Codeblocks

I just checked codeblocks at AUR and not only is a there already a maintainer for codeblocks, it's in community as well. And if you scroll to the bottom you'll see that they are working on finding a solution:

STiAT wrote:

No, it isn't a pkgbuild problem. Though, codeblocks crashes on start, so maybe a problem due to system updates. The rebuilt package doesn't work as well, so i'm currently trying to figure out what exactly causes this crash. Maybe there's already a patch around.


PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM

Offline

#6 2007-07-20 12:56:32

Bola
Member
From: Italia
Registered: 2007-02-16
Posts: 118

Re: Codeblocks

So no way to start codeblocks at the moment... sad

Offline

#7 2007-08-29 07:32:02

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: Codeblocks

That bug happens to me to, but If I dont click on anything until codeblocks starts, everything works just fine. Just dont click on the codeblocks logo when starting it..

Anyone knows how to use the colour themes for codeblocks? I downloaded some but cant find how to apply them..


The ultimate Archlinux release name: "I am your father"

Offline

#8 2007-08-29 14:51:06

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: Codeblocks

I have made a discovery.. Codeblocks sucks.. atleast its manual or information on how to get stuff working..


The ultimate Archlinux release name: "I am your father"

Offline

#9 2007-11-20 17:10:26

starthis
Member
Registered: 2004-12-25
Posts: 46

Re: Codeblocks

Code::Blocks built from SVN seems to work fine here. I haven't tested yet with a large project though.
The developers from codeblocks recommend the nightly builds over the 1.0RC2 stable, I used this PKGBUILD to create the package :

pkgrel=1.0_svn
pkgver=1
pkgname=codeblocks
pkgdesc="C/C++ IDE multiplateform : Linux, Win"
arch=(i686)
url="http://www.codeblocks.org/"
license=('GPL2')
depends=('wxgtk>=2.6.1')
makedepends=('zip>=2.10' 'autoconf')
provides=()
conflicts=()
replaces=()
backup=()
install=
noextract=()

build() {
          cd $startdir/src/
            msg "Connecting to the SVN server...."
              svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/trunk codeblocks-svn
                cd codeblocks-svn
                msg "dependence test is running..."
                ./bootstrap
                msg "dependencies are OK"
                msg "configure is running..."
                ./configure   --prefix=/usr
                msg "configure is OK"
                sleep 2
                msg "make is running...."
                  make || return 1
                    make DESTDIR=$startdir/pkg install
                    msg "make is done OK"
            }

Ain't Eclipse the defacto standard for all your linux coding needs?
(according to linux developers, if you need an IDE)

What's better in that, than in eclipse?

I used Eclipse + cdt plugin for a while, in comparison the features are more or less equal, but code::blocks is a LOT faster.
Autocompletion in eclipse is a real pain, it took about 1 second to autocomplete class members in a small project. While in codeblocks it is instantly. So codeblocks is lightweight and has all the features (through plugins) I need.

Last edited by starthis (2007-11-21 13:18:18)

Offline

#10 2007-11-20 21:18:05

Salamander1978
Member
From: Aachen, DE
Registered: 2007-10-24
Posts: 30

Re: Codeblocks

Thanks for the PKGBUILD, it try it later.

I use eclipse every day for C++/LaTeX/python.  It's a Java app, so it won't compete a C(++) app at this point anyway.  But it becomes notable faster if you give it more and a fixed size of memory.  This is the content of my eclipse.ini file

-showsplash
org.eclipse.platform
-vmargs
-Xms768m
-Xmx768m

while this is the default

-showsplash
org.eclipse.platform
-vmargs
-Xms40m
-Xmx256m

The speedup is impressive, if you got enough memory.

Maik

Offline

#11 2007-11-20 21:27:35

Salamander1978
Member
From: Aachen, DE
Registered: 2007-10-24
Posts: 30

Re: Codeblocks

starthis wrote:

Code::Blocks built from SVN seems to work fine here. I haven't tested yet with a large project though.
The developers from codeblocks recommend the nightly builds over the 1.0RC2 stable, I used this PKGBUILD....

Beside from pkgrel=1.0-svn has to be pkgrel=1.0_svn it doesn't compile:

In file included from sqfuncstate.cpp:8:
../../../../src/include/scripting/squirrel/sqtable.h: In function 'SQHash HashObj(const SQObjectPtr&)':
../../../../src/include/scripting/squirrel/sqtable.h:21: error: cast from 'SQRefCounted*' to 'SQInteger' loses precision

on my x86_64 box.

Offline

#12 2007-11-20 23:57:12

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Codeblocks

jinn wrote:

I have made a discovery.. Codeblocks sucks.. atleast its manual or information on how to get stuff working..

Codeblocks is also the only C++ IDE that isn't written in standard compliant C++. *sigh*

Offline

#13 2007-11-21 13:18:04

starthis
Member
Registered: 2004-12-25
Posts: 46

Re: Codeblocks

Beside from pkgrel=1.0-svn has to be pkgrel=1.0_svn it doesn't compile:

It seems to be a 64bit issue : http://forums.codeblocks.org/index.php? … 1.msg55756

Sorry about the pkgrel mistake, I fixed it.

Giving eclipse 768mb of RAM might help indeed, but I fear with only 1gb of RAM like me, I would be losing to much performance caused by swapping.

Last edited by starthis (2007-11-21 13:20:40)

Offline

#14 2007-11-21 14:14:28

Salamander1978
Member
From: Aachen, DE
Registered: 2007-10-24
Posts: 30

Re: Codeblocks

starthis wrote:

Ah, ok.  Thanks for the pointer.  I had no look into the related headers, but it sounds like there a preprocessor branch for x86-64 which contains untested code.

starthis wrote:

Giving eclipse 768mb of RAM might help indeed, but I fear with only 1gb of RAM like me, I would be losing to much performance caused by swapping.

Yes, and if you're a C++ coder like me who likes using template libs like boost you have to have 1-2 GByte of free ram for g++ aside from what java wants.  Since Ram is so cheap (70€ for a 2 GByte) I switched to x86-64(I have 4GByte installed).

But the speed comes from fixing the memory size too. In you're case, which was mine until last month, I would consider something like

-showsplash
org.eclipse.platform
-vmargs
-Xms256m
-Xmx256m

This is OK as long as you don't want to run the indexer over same large Projects (i.e. CodeBlocks ;-) ).

Best,
-- Maik

Offline

#15 2007-11-21 17:03:27

starthis
Member
Registered: 2004-12-25
Posts: 46

Re: Codeblocks

Thanks for the hint, if codeblocks starts to fail on me, I'll will go back to eclipse and try  those settings. cool

Offline

#16 2007-12-02 11:26:50

Salamander1978
Member
From: Aachen, DE
Registered: 2007-10-24
Posts: 30

Re: Codeblocks

Salamander1978 wrote:
In file included from sqfuncstate.cpp:8:
../../../../src/include/scripting/squirrel/sqtable.h: In function 'SQHash HashObj(const SQObjectPtr&)':
../../../../src/include/scripting/squirrel/sqtable.h:21: error: cast from 'SQRefCounted*' to 'SQInteger' loses precision

on my x86_64 box.

This issue has been fixed
-- http://forums.codeblocks.org/index.php/ … l#msg55919

Best,
-- Maik

Offline

#17 2007-12-02 14:18:39

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Codeblocks

I couldn't find any appropriate patch to get the release version working, last time when i tried it. I would dislike providing a svn version in community. The tool is unstable enough in release, or candidate versions.

Maybe time to give it a shot again, tough, let's see what the next version will bring.

@Phrak: Maybe they one day become standard compilant wink.

Last edited by STiAT (2007-12-02 14:20:59)


Ability is nothing without opportunity.

Offline

#18 2007-12-02 15:41:47

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Codeblocks

Hello,

I've taken the time to step trough the CodeBlocks current development strategy. They dumped the RC2 completely as it seems, and changed to a ongoing nightly build process for a faster bug tracking.

The work towards 1.0 will be completely done in nightly builds, therefore i decided to bring the current nightly build (4681) into community, which seems to work quite properly.

Since it already was a broken package, it can't get worse wink

Yours,
STi

Last edited by STiAT (2007-12-02 15:43:36)


Ability is nothing without opportunity.

Offline

Board footer

Powered by FluxBB