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

Configure fails - gtk2 not found (Ubuntu 12.04 with gtk3)

<< < (2/2)

stahta01:
From http://docs.wxwidgets.org/trunk/page_port.html


--- Quote ---Support for GTK+ 3 is available starting with wxWidgets 2.9.4, use configure option –with-gtk=3 to enable it. It is still under development and may have significant bugs or missing features, and should be considered experimental.

--- End quote ---

Last I know CB was not stable with wxWidgets 2.9; but, that was about 6 months ago.

Tim S.

oBFusCATed:

--- Quote from: philcal on April 13, 2013, 06:37:37 am ---Obviously this is a gtk2-gtk3  compatibility issue  so perhaps I should not even raise it here.  Further somebody has already resolved it given the  existence of the ubuntu 12.10 codeblocks deb package. However If somebody could give me a hint I would be grateful and may also be useful for users of the popular ubuntu os.

--- End quote ---
As far as I know gtk2 and gtk3 are meant to be installed together. One is not a replacement for the other.


--- Quote from: philcal on April 13, 2013, 06:37:37 am ---Why am I trying to compile when I already have it installed? Simply the package I used to install did not have the extended plugins for which I understand need to be compiled in. On the
face of it this appears to be  not a very flexible arrangement. Much better to have a compiled API in which a non compiled plugin can access -or am I missing something??

--- End quote ---
Have you tried to install the codeblocks-contrib package?


--- Quote from: philcal on April 13, 2013, 06:37:37 am ---Using the deb package version I have noticed that the path selection dialog box for selecting include/tool locations is broken for me.  A directory can be searched OK but the selection is not returned in the dialog properly, only part of a path "/home/x" in my case. I suspect its a system interface issue and not a codeblocks one but given my troubles above may be related. My work around was simply pasting in the paths either in the dialog or directly editing the cbp file.

--- End quote ---
This is a wxgtk bug. Report this to your distro maintainers, so they can patch it.

Jenna:
I just installed a plain xubuntu 12,10 on a virtual machine.
Buiding and installing C::B from sources was straight-forward as on almost all linux distros.
No nuild- or runtime-error.

And it's of course build against gtk2.
Neither wxWidgets 2.8 nor C::B can be build against gtk3 at the moment.
And even wxWidgets trunk does not fully support gtk3.

philcal:

Thanks Guys

--- Quote from: oBFusCATed on April 13, 2013, 03:22:39 pm ---As far as I know gtk2 and gtk3 are meant to be installed together. One is not a replacement for the other.

--- End quote ---
Understood now, but it did my head in. 

--- Quote from: oBFusCATed on April 13, 2013, 03:22:39 pm ---
Have you tried to install the codeblocks-contrib package?

--- End quote ---
My mistake  sorry- must of missed installing the contrib deb   of those ~21 debs  I manually installed (since discovered dpkg -i *.deb rather than double clicking)     and yes I didn't realise the significance, since every thing else other than plugins was  working OK


Now onto my real aim to get embedded arm compiling going.... to another CB forum...

Navigation

[0] Message Index

[*] Previous page

Go to full version