User forums > General (but related to Code::Blocks)

Questions about installing on Ubuntu

(1/1)

maldorel:
I'm about to switch to Ubuntu 12.10 and I was just wondering what the equivalent of the Window's "codeblocks-12.11mingw-setup.exe" file was for Ubuntu 64 bit?

oBFusCATed:
apt-get install codeblocks

If it is not available then talk to ubuntu maintainers. Here we don't maintain distros, just codeblocks.

anyzis:
Not to create another thread...

I've used CB for quite some time now on Ubuntu 12.10 (the repository version which is v10) but after I ticked the contrib package in software center, CB stopped working. I tried everything - ticking and unticking all the packages, installing, uninstalling, adding a different source (which doesn't seem to affect software center, it still installs v10 for some reason), when I click the CB icon it just flashes for a few seconds and nothing happens. There is no lingering process in the background, no error, nothing. I am a Linux newbie which prevents me from doing more thorough wiping or whatever, so I'm out of ideas.

Any help appreciated!

Jenna:
Try to start C::B from a terminal (gnome-terminal or konsole or whatever your window manager offers) and look at the output.

anyzis:
Thanks, that was helpful:

--- Code: ---(codeblocks:4452): Gtk-WARNING **: Unable to locate theme engine in module_path: "oxygen-gtk",
Exception: An exception has been raised!

The application encountered an error at configmanager.cpp, on line 239.
The error message is:

TinyXML error: Error document empty.
In file: /home/<>/.codeblocks/default.conf
At row 0, column: 0.

--- End code ---
So I deleted default.conf and it launched. Now, is there a way to force the package manager to update CB to v12? As I mentioned in the previous post, simply adding a software source does nothing

Navigation

[0] Message Index

Go to full version