Quote Originally Posted by Snille View Post
Hi all,
I've been playing with the WII mote a bit, but I can't seam to be able to compile the whiteboard (Ubuntu 8.10, 64bit system). Has anyone got it to work?

I can download the source from SVN, but the it is not possible to run the ./autogen.sh in the "linux-whiteboard-read-only".
How ever, there is a folder called build and in there there is a "make-deb.sh", that one is possible to run but ends with an error...

Here is the full "log". I think I may have forgotten something, but I don't know what...
Let me know if anyone have any ideas...

snille@edge:~/linux-whiteboard-read-only/build$ sudo ./make-deb.sh 
[sudo] password for snille: 
Merging translations into ../src/whiteboard.desktop.
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package whiteboard
dpkg-buildpackage: source version
dpkg-buildpackage: source changed by VAnhTu1987 <VAnhTu1987@gmail.com>
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
rm -f build-stamp 
# Add here commands to clean up after the build process.
#/usr/bin/make clean
 debian/rules build
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- checking for module 'gtkmm-2.4'
--   found gtkmm-2.4, version 2.14.1
-- checking for module 'libglademm-2.4'
--   found libglademm-2.4, version 2.6.6
-- Configuring done
-- Generating done
-- Build files have been written to: /home/snille/linux-whiteboard-read-only/build
# Add here commands to compile the package.
/usr/bin/make -j2
make[1]: Entering directory `/home/snille/linux-whiteboard-read-only/build'
make[2]: Entering directory `/home/snille/linux-whiteboard-read-only/build'
make[3]: Entering directory `/home/snille/linux-whiteboard-read-only/build'
make[3]: Entering directory `/home/snille/linux-whiteboard-read-only/build'
Scanning dependencies of target translations
make[3]: Leaving directory `/home/snille/linux-whiteboard-read-only/build'
Scanning dependencies of target whiteboard
make[3]: Entering directory `/home/snille/linux-whiteboard-read-only/build'
make[3]: *** No rule to make target `../ALL', needed by `ALL.gmo'.  Stop.
make[3]: Leaving directory `/home/snille/linux-whiteboard-read-only/build'
make[2]: *** [CMakeFiles/translations.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/snille/linux-whiteboard-read-only/build'
make[3]: Entering directory `/home/snille/linux-whiteboard-read-only/build'
[ 10%] [ 10%] Building CXX object src/CMakeFiles/whiteboard.dir/common.cpp.o
Building CXX object src/CMakeFiles/whiteboard.dir/main.cpp.o
[ 15%] Building CXX object src/CMakeFiles/whiteboard.dir/auxiliary.cpp.o
[ 21%] Building CXX object src/CMakeFiles/whiteboard.dir/events.cpp.o
[ 26%] Building CXX object src/CMakeFiles/whiteboard.dir/ConfigFileParser.cpp.o
[ 31%] Building CXX object src/CMakeFiles/whiteboard.dir/configurator.cpp.o
[ 36%] Building CXX object src/CMakeFiles/whiteboard.dir/irfilter.cpp.o
[ 42%] Building CXX object src/CMakeFiles/whiteboard.dir/calibration.cpp.o
[ 47%] Building CXX object src/CMakeFiles/whiteboard.dir/wiicontrol.cpp.o
/home/snille/linux-whiteboard-read-only/src/wiicontrol.cpp: In function ‘cwiid_wiimote_t* wii_connect(char*)’:
/home/snille/linux-whiteboard-read-only/src/wiicontrol.cpp:45: warning: taking address of temporary
[ 52%] Building CXX object src/CMakeFiles/whiteboard.dir/wiicursor.cpp.o
[ 57%] Building CXX object src/CMakeFiles/whiteboard.dir/gtk-gui.cpp.o
[ 63%] Building CXX object src/CMakeFiles/whiteboard.dir/wiicursormanager.cpp.o
Linking CXX executable ../bin/whiteboard
make[3]: Leaving directory `/home/snille/linux-whiteboard-read-only/build'
[ 63%] Built target whiteboard
make[2]: Leaving directory `/home/snille/linux-whiteboard-read-only/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/snille/linux-whiteboard-read-only/build'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Any ideas?
As I stated before, I'm not familiar with the whiteboard, but looking at your log.....Have you installed the package called: build-essential ?...

sudo apt-get install build-essential
I'm really not sure if the whiteboard is working on Intrepid 64...I'm sorry. But you might want to check if you have that package installed. Report back if it worked !