Hi,
gabor papp wrote:
hi,
i committed an initial version of the fluxus-artkp module to git, which
is based on the artoolkitplus library
(http://studierstube.icg.tu-graz.ac.at/handheld_ar/artoolkitplus.php)
and provides simple ar marker detection.
[snip]
comments and suggestions are welcome.
It doesn't compile here; Ubuntu Karmic 9.10 with g++ (Ubuntu
4.4.1-4ubuntu8) 4.4.1
...
g++ -o addons/artkp/src/ARTracker.os -c -ggdb -pipe -Wall -O3
-ffast-math -Wno-unused -fPIC -DFLUXUS_MAJOR_VERSION=0
-DFLUXUS_MINOR_VERSION=16
-DPLT_COLLECTS_LOCATION="\"/usr/lib/plt/collects/"\"
-DFLUXUS_COLLECTS_LOCATION="\"/usr/lib"\"
-DDATA_LOCATION="\"/usr/share/fluxus-016"\" -DGLSL -DMZ_PRECISE_GC
-D__LINUX_ALSASEQ__ -pthread -fPIC -I/usr/local/include -I/usr/include
-I/usr/local/include/freetype2 -I/usr/include/freetype2
-I/usr/include/plt -Ilibfluxus/src -I/usr/include/gstreamer-0.10
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -I/usr/include/unicap
-Iaddons/artkp/ARToolKitPlus/include addons/artkp/src/ARTracker.cpp
In file included from
addons/artkp/ARToolKitPlus/include/ARToolKitPlus/TrackerImpl.h:693,
from
addons/artkp/ARToolKitPlus/include/ARToolKitPlus/TrackerSingleMarkerImpl.h:48,
from addons/artkp/src/ARTracker.cpp:20:
addons/artkp/ARToolKitPlus/include/ARToolKitPlus/TrackerImpl.h: In
static member function 'static bool
ARToolKitPlus::TrackerImpl<__PATTERN_SIZE_X, __PATTERN_SIZE_Y,
__PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS,
__MAX_IMAGE_PATTERNS>::calcCameraMatrix(const char*, int, int, ARFloat,
ARFloat, ARFloat*)':
addons/artkp/ARToolKitPlus/include/ARToolKitPlus/TrackerImpl.h:636:
error: invalid use of member
'ARToolKitPlus::TrackerImpl<__PATTERN_SIZE_X, __PATTERN_SIZE_Y,
__PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS,
__MAX_IMAGE_PATTERNS>::screenWidth' in static member function
addons/artkp/ARToolKitPlus/include/ARToolKitPlus/../../src/TrackerImpl.cxx:449:
error: from this location
addons/artkp/ARToolKitPlus/include/ARToolKitPlus/TrackerImpl.h:636:
error: invalid use of member
'ARToolKitPlus::TrackerImpl<__PATTERN_SIZE_X, __PATTERN_SIZE_Y,
__PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS,
__MAX_IMAGE_PATTERNS>::screenHeight' in static member function
addons/artkp/ARToolKitPlus/include/ARToolKitPlus/../../src/TrackerImpl.cxx:449:
error: from this location
scons: *** [addons/artkp/src/ARTracker.os] Error 1
scons: building terminated because of errors.
I'm also wondering if it's normal for scons to choose to compile addons
before the core stuff, as this breaks the whole build..
best,
gabor
Claude
--
http://claudiusmaximus.goto10.org