[Gridflow-dev] gridflow rblti

olsen wolf sesselastronaut at googlemail.com
Thu Sep 27 08:03:35 EDT 2007


hi
i'm still wrestling to get this rblti lib goin with gridflow.
i installed ltilib-1.9.15 & swig 1.3.31-1ubuntu3
make in the optional/rbtli folder gives me:
...
asedata_wrap.cxx:48828:   instantiated from here
patched/ltiGenericVector.h:1200: warning: passing 'const float' for
argument 1 to 'lti::rgbPixel::rgbPixel(lti::uint32)'
patched/ltiGenericVector.h: In member function 'lti::genericVector<T>&
lti::genericVector<T>::castFrom(const lti::genericVector<U>&) [with U
= double, T = lti::rgbPixel]':
basedata_wrap.cxx:48866:   instantiated from here
patched/ltiGenericVector.h:1200: warning: passing 'const double' for
argument 1 to 'lti::rgbPixel::rgbPixel(lti::uint32)'
/usr/local/include/ltilib/ltiHTypes.h: At global scope:
/usr/local/include/ltilib/ltiHTypes.h:1203: warning: inline function
'const lti::point& lti::hMatrix<T, P>::size() const [with T = float, P
= lti::hPoint3D<float>]' used but never defined
/usr/local/include/ltilib/ltiHTypes.h:1203: warning: inline function
'const lti::point& lti::hMatrix<T, P>::size() const [with T = double,
P = lti::hPoint3D<double>]' used but never defined
/usr/local/include/ltilib/ltiHTypes.h:1203: warning: inline function
'const lti::point& lti::hMatrix<T, P>::size() const [with T = float, P
= lti::hPoint2D<float>]' used but never defined
/usr/local/include/ltilib/ltiHTypes.h:1203: warning: inline function
'const lti::point& lti::hMatrix<T, P>::size() const [with T = double,
P = lti::hPoint2D<double>]' used but never defined
make: *** [basedata_wrap.o] Error 1

the README refers to use  gcc 3.x:
...
NOTE: This file (the text below the dotted line)  is slightly
out of date. This folder is a version of pylti that supports
ruby (rblti) and compiles with gcc. Make sure that gcc 3.x
is being used because LTIlib still can't be compiled using
gcc 4.x and because C++ libraries can only be linked together
if they use the same major version of gcc. If you want to use
LTIlib with GridFlow then GridFlow must also be compiled using
gcc 3.x.
...
sorry for this silly question but if this causing the error how could
i get it to use gcc 3.x for making it?!
thanks for any help
olsen



-- 
Planet Pluto bleibt!



More information about the Gridflow-dev mailing list