[Fluxus] Compile problem: convertTransformationMatrixToOpenGLStyle

gcr gcr at sneakygcr.net
Fri May 11 09:39:04 PDT 2012


Hey all!

(Sorry for the duplicate. I keep sending from the wrong address.
Please ignore the earlier message from "Michael W")

Compiling against git master 4cb8ec... leads to this big cascade
of error messages. Does anyone else get this?

The fix is a one-line change to
addons/artkp/ARToolKitPlus/src/TrackerSingleMarkerImpl.cxx, patch
attached. 

g++ -o addons/artkp/src/ARTracker.os -c -ggdb -pipe -Wall -O3 -ffast-math -Wno-unused -fPIC -pthread -DFLUXUS_MAJOR_VERSION=0 -DFLUXUS_MINOR_VERSION=18 -DRACKET_COLLECTS_LOCATION="\"/usr/lib/racket/collects/"\" -DFLUXUS_COLLECTS_LOCATION="\"/usr/local/lib"\" -DDATA_LOCATION="\"/usr/local/share/fluxus-018"\" -DGLSL -DMZ_PRECISE_GC -D__LINUX_ALSASEQ__ -fPIC -DdSINGLE -I/usr/local/include -I/usr/include -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I/usr/include/racket -Ilibfluxus/src -Iaddons/artkp/ARToolKitPlus/include addons/artkp/src/ARTracker.cpp
In file included from addons/artkp/ARToolKitPlus/include/ARToolKitPlus/TrackerSingleMarkerImpl.h:181:0,
                 from addons/artkp/src/ARTracker.cpp:20:
addons/artkp/ARToolKitPlus/include/../src/TrackerSingleMarkerImpl.cxx: In instantiation of 'int ARToolKitPlus::TrackerSingleMarkerImpl<__PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS>::calc(const unsigned char*, int, bool, ARToolKitPlus::ARMarkerInfo**, int*) [with int __PATTERN_SIZE_X = 12; int __PATTERN_SIZE_Y = 12; int __PATTERN_SAMPLE_NUM = 12; int __MAX_LOAD_PATTERNS = 32; int __MAX_IMAGE_PATTERNS = 32]':
addons/artkp/src/ARTracker.cpp:136:1:   required from here
addons/artkp/ARToolKitPlus/include/../src/TrackerSingleMarkerImpl.cxx:188:3: error: 'convertTransformationMatrixToOpenGLStyle' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
addons/artkp/ARToolKitPlus/include/../src/TrackerSingleMarkerImpl.cxx:188:3: note: declarations in dependent base 'ARToolKitPlus::TrackerImpl<12, 12, 12, 32, 32>' are not found by unqualified lookup
addons/artkp/ARToolKitPlus/include/../src/TrackerSingleMarkerImpl.cxx:188:3: note: use 'this->convertTransformationMatrixToOpenGLStyle' instead
addons/artkp/ARToolKitPlus/include/../src/TrackerSingleMarkerImpl.cxx: In instantiation of 'int ARToolKitPlus::TrackerSingleMarkerImpl<__PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS>::calc(const unsigned char*, int, bool, ARToolKitPlus::ARMarkerInfo**, int*) [with int __PATTERN_SIZE_X = 16; int __PATTERN_SIZE_Y = 16; int __PATTERN_SAMPLE_NUM = 16; int __MAX_LOAD_PATTERNS = 32; int __MAX_IMAGE_PATTERNS = 32]':
addons/artkp/src/ARTracker.cpp:136:1:   required from here
addons/artkp/ARToolKitPlus/include/../src/TrackerSingleMarkerImpl.cxx:188:3: error: 'convertTransformationMatrixToOpenGLStyle' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
addons/artkp/ARToolKitPlus/include/../src/TrackerSingleMarkerImpl.cxx:188:3: note: declarations in dependent base 'ARToolKitPlus::TrackerImpl<16, 16, 16, 32, 32>' are not found by unqualified lookup
addons/artkp/ARToolKitPlus/include/../src/TrackerSingleMarkerImpl.cxx:188:3: note: use 'this->convertTransformationMatrixToOpenGLStyle' instead
scons: *** [addons/artkp/src/ARTracker.os] Error 1
scons: building terminated because of errors.

(I hereby assign the copyright of this patch and its contents to
the fluxus developers)

-- 
Take care,
    _mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Small-compile-fix-convertTransformationMatrixToOpenG.patch
Type: application/octet-stream
Size: 1080 bytes
Desc: not available
URL: <http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20120511/c3c9a805/attachment-0002.obj>


More information about the Fluxus mailing list