My favorites | Sign in
Project Logo
                
Search
for
Updated Jan 04, 2009 by pere.negre
BuildingWhiteboard  
Instructions for building WHITEBOARD from CPP branch

To check out the CPP branch of Linux Whiteboard -which the dependencies below mostly apply to- issue the following command:

svn checkout http://linux-whiteboard.googlecode.com/svn/branches/cpp/ linux-whiteboard-read-only

To build whiteboard, you'll need the usual toolchain (gcc, g++ and make - these are available in the build-essential package) and the following libraries. The names of the libraries are taken from Ubuntu's database. If you're using a different Linux distro, please change them according to yours:

  • libtool
  • libcwiid1-dev
  • libgtkmm-2.4-dev
  • libglademm-2.4-dev
  • libxtst-dev
  • libcairomm-1.0-dev
  • libsigc++-2.0-dev
  • libgnome2-dev
  • intltool
  • libbluetooth-dev

If you have checked out whiteboard from our SVN repository, you probably need those too:

  • autoconf
  • automake

Having gotten those installed, navigate to the program's root directory and issue the following commands:

./autogen.sh
make
sudo make install

For Ubuntu Gutsy Gibbon users, you need to add CXXFLAGS="-DCOMPATIBILITY_GUTSY" to autogen.sh like this:

./autogen.sh CXXFLAGS="-DCOMPATIBILITY_GUTSY"

To install to a different directory, so that you don't need root permission when installing, add --prefix=

<path-to-desired-install-dir>
like this:

./autogen --prefix=~/whiteboard

After 'make install', whiteboard will be installed to the directory 'whiteboard' in your home directory.


To build a Debian/Ubuntu package (for Ubuntu Hardy Heron only, one needs to modify the 'debian' directory to account for version differences in other distros):

  • Install fakeroot if you haven't got it already.
  • Issue these commands:
  • ./autogen.sh
    dpkg-buildpackage -us -uc -b -rfakeroot

Comment by antoni.ubieto, Apr 04, 2008

In addition to the previous 8 libraries I also need:

  • intltool
  • libbluetooth-dev
to build whiteboard.

Antoni Ubieto

Comment by vanhtu1987, Apr 08, 2008

Thanks for the report, I knew I'd have missed a dependency or two :-) . Updated.

Comment by zu...@sidux-ev.de, Apr 21, 2008

I followed this how-to and tried to build some debs for sidux/debian-unstable. I never packaged anything before, so please forgive me if I did something stupid or missed some important parts. I will get the hardware to test in the next days but so far it installs and starts fine.

http://sidux-underground.com/downloads/linux-whiteboard/

Thanks for your awesome work! I would love to help to test, make it better and getting it packaged properly for debian and sidux.

Greetings, zulu9

Comment by huitsix13, Dec 05, 2008

Hello. Each time I try to calibrate the whiteboard (with only one wiimote) I get this message : whiteboard: ../../src/xcb_lock.c :33 : XCBUnlockDisplay: L'assertion « xcb_get_request_sent(dpy->xcb->connection) == dpy->request » a échoué. (assertion ... failed) Even if I try to compile whiteboard by hand. Do tou know how to fix this? I use Ubuntu 8.04 Thank for your work!

huit_six


Sign in to add a comment
Hosted by Google Code