cbegg50
Posts: 15
Joined: Sat Jun 16, 2012 10:32 pm

X-11 Libraries and Headers on Pi?

Thu Jun 21, 2012 12:17 pm

Does anyone know how to access the X11 libraries the Pi plainly uses? I'm trying to build wxWidgets but need either GTK+ or X-11 libraries / headers.

Any help appreciated,
Colin Begg

malcolmf
Posts: 11
Joined: Tue Jun 19, 2012 2:20 pm

Re: X-11 Libraries and Headers on Pi?

Thu Jun 21, 2012 8:04 pm

cbegg50 wrote:Does anyone know how to access the X11 libraries the Pi plainly uses? I'm trying to build wxWidgets but need either GTK+ or X-11 libraries / headers.

Is libgtk2.0-dev what you're looking for? The software manager on my Linux mint PC says:

Code: Select all

This package contains the header files and static libraries which is needed for developing the GTK+ applications.
On my Pi, running Debian Squeeze,
"apt-get install libgtk2.0-dev " shows a lot of messages, including

Code: Select all

The following extra packages will be installed:
  autopoint ca-certificates debhelper gettext git html2text intltool-debian
  libatk1.0-dev libcairo2-dev libcurl3-gnutls liberror-perl libexpat1-dev
  libfontconfig1-dev libfreetype6-dev libglib2.0-dev libice-dev
  libmail-sendmail-perl libpango1.0-dev libpixman-1-dev libpng12-dev
  libpthread-stubs0 libpthread-stubs0-dev libsm-dev libsys-hostname-long-perl
  libunistring0 libx11-dev libxau-dev libxcb-render-util0-dev
  libxcb-render0-dev libxcb1-dev libxcomposite-dev libxcursor-dev
  libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev
  libxinerama-dev libxml2-utils libxrandr-dev libxrender-dev openssl
  pkg-config po-debconf rsync x11proto-composite-dev x11proto-core-dev
  x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev
  x11proto-randr-dev x11proto-render-dev x11proto-xext-dev
  x11proto-xinerama-dev xtrans-dev zlib1g-dev
Suggested packages:
  dh-make gettext-doc git-doc git-arch git-cvs git-svn git-email
  git-daemon-run git-gui gitk gitweb libcairo2-doc libglib2.0-doc
  libgtk2.0-doc libpango1.0-doc imagemagick libmail-box-perl
The following NEW packages will be installed:
  autopoint ca-certificates debhelper gettext git html2text intltool-debian
  libatk1.0-dev libcairo2-dev libcurl3-gnutls liberror-perl libexpat1-dev
  libfontconfig1-dev libfreetype6-dev libglib2.0-dev libgtk2.0-dev libice-dev
  libmail-sendmail-perl libpango1.0-dev libpixman-1-dev libpng12-dev
  libpthread-stubs0 libpthread-stubs0-dev libsm-dev libsys-hostname-long-perl
  libunistring0 libx11-dev libxau-dev libxcb-render-util0-dev
  libxcb-render0-dev libxcb1-dev libxcomposite-dev libxcursor-dev
  libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev
  libxinerama-dev libxml2-utils libxrandr-dev libxrender-dev openssl
  pkg-config po-debconf rsync x11proto-composite-dev x11proto-core-dev
  x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev
  x11proto-randr-dev x11proto-render-dev x11proto-xext-dev
  x11proto-xinerama-dev xtrans-dev zlib1g-dev
Lots of header files!

Return to “Other languages”

Who is online

Users browsing this forum: No registered users and 6 guests