You are not logged in.
Pages: 1
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.
Offline
up
Offline
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
I simply prefer codeblocks
Is possible to have a mainteiner for this great C/C++ IDE?
Offline
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:
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
So no way to start codeblocks at the moment...
Offline
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
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
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
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
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
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
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
It seems to be a 64bit issue : http://forums.codeblocks.org/index.php? … 1.msg55756
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.
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
Thanks for the hint, if codeblocks starts to fail on me, I'll will go back to eclipse and try those settings.
Offline
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
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 .
Last edited by STiAT (2007-12-02 14:20:59)
Ability is nothing without opportunity.
Offline
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
Yours,
STi
Last edited by STiAT (2007-12-02 15:43:36)
Ability is nothing without opportunity.
Offline
Pages: 1