vain/pdfPres — Issue #29: cannot comple on a 64bit ubuntu
Author: nfa019
Created: 2012-02-23 16:25:25+00:00
State: open

Hi, I'm using a 64 bit ubuntu 10.04, so the precompiled package does'nt work.

When I complie manually, I get the following:

scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o notes.o -c -Wall -Wextra -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/libxml2 notes.c
gcc -o pdfpres.o -c -Wall -Wextra -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/libxml2 pdfpres.c
pdfpres.c: In function 'printCurrentTime':
pdfpres.c:697: error: 'GDateTime' undeclared (first use in this function)
pdfpres.c:697: error: (Each undeclared identifier is reported only once
pdfpres.c:697: error: for each function it appears in.)
pdfpres.c:697: error: 'now' undeclared (first use in this function)
pdfpres.c:697: warning: implicit declaration of function 'g_date_time_new_now_local'
pdfpres.c:698: warning: implicit declaration of function 'g_date_time_format'
pdfpres.c:701: warning: implicit declaration of function 'g_date_time_unref'
scons: *** [pdfpres.o] Error 1
scons: building terminated because of errors.

Any hints ?