[Gridflow-dev] ltilib in gridflow cvs

olsen wolf sesselastronaut at googlemail.com
Sun Sep 23 17:58:58 EDT 2007


hi
tried another service to get the rbtli running - but after a cvs
update my commandline make'd the following error:
...
strict-aliasing rules
basedata_wrap.cxx: In function 'VALUE
_wrap_fsepKernel_apply__SWIG_0(int, VALUE*, VALUE)':
basedata_wrap.cxx:194140: warning: dereferencing type-punned pointer
will break strict-aliasing rules
basedata_wrap.cxx: In function 'VALUE
_wrap_fsepKernel_apply__SWIG_1(int, VALUE*, VALUE)':
basedata_wrap.cxx:194174: warning: dereferencing type-punned pointer
will break strict-aliasing rules
basedata_wrap.cxx: In function 'VALUE
_wrap_fsepKernel_apply__SWIG_2(int, VALUE*, VALUE)':
basedata_wrap.cxx:194219: warning: dereferencing type-punned pointer
will break strict-aliasing rules
basedata_wrap.cxx: In function 'VALUE
_wrap_fsepKernel_apply__SWIG_3(int, VALUE*, VALUE)':
basedata_wrap.cxx:194264: warning: dereferencing type-punned pointer
will break strict-aliasing rules
basedata_wrap.cxx: In function 'VALUE
_wrap_dsepKernel_apply__SWIG_0(int, VALUE*, VALUE)':
basedata_wrap.cxx:195625: warning: dereferencing type-punned pointer
will break strict-aliasing rules
basedata_wrap.cxx: In function 'VALUE
_wrap_dsepKernel_apply__SWIG_1(int, VALUE*, VALUE)':
basedata_wrap.cxx:195659: warning: dereferencing type-punned pointer
will break strict-aliasing rules
basedata_wrap.cxx: In function 'VALUE
_wrap_dsepKernel_apply__SWIG_2(int, VALUE*, VALUE)':
basedata_wrap.cxx:195704: warning: dereferencing type-punned pointer
will break strict-aliasing rules
basedata_wrap.cxx: In function 'VALUE
_wrap_dsepKernel_apply__SWIG_3(int, VALUE*, VALUE)':
basedata_wrap.cxx:195749: warning: dereferencing type-punned pointer
will break strict-aliasing rules
basedata_wrap.cxx: In function 'VALUE
_wrap_usepKernel_apply__SWIG_0(int, VALUE*, VALUE)':
basedata_wrap.cxx:197110: warning: dereferencing type-punned pointer
will break strict-aliasing rules
basedata_wrap.cxx: In function 'VALUE
_wrap_usepKernel_apply__SWIG_1(int, VALUE*, VALUE)':
basedata_wrap.cxx:197144: warning: dereferencing type-punned pointer
will break strict-aliasing rules
basedata_wrap.cxx: In function 'VALUE
_wrap_usepKernel_apply__SWIG_2(int, VALUE*, VALUE)':
basedata_wrap.cxx:197189: warning: dereferencing type-punned pointer
will break strict-aliasing rules
basedata_wrap.cxx: In function 'VALUE
_wrap_usepKernel_apply__SWIG_3(int, VALUE*, VALUE)':
basedata_wrap.cxx:197234: warning: dereferencing type-punned pointer
will break strict-aliasing rules
patched/ltiGenericVector.h: In member function 'lti::genericVector<T>&
lti::genericVector<T>::castFrom(const lti::genericVector<U>&) [with U
= float, T = lti::rgbPixel]':
basedata_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
thanks for help
olsen



On 8/30/07, olsen <sesselastronaut at googlemail.com> wrote:
> ei matju
> as you suggested for detecting color from a video source & get the
> coordinates i'm trying to use #moment & i'll have to get back onto this
> ltilib issue - as it is part of the #moment class.
> so i updated my gridflow cvs & did the make thing giving me the
> following output:
>
> olsen at ll-928:~/pd/extra/gridflow/optional/rblti$ make
> cp /usr/local/include/ltilib/config.h ./patched/ltiLinConfig.h
> FOO=$(echo colors_wrap.cxx | sed 's/_wrap\.cxx$//') ;\
>          echo FOO is $FOO ;\
>          swig -v -c++ -ruby -I./generated -I./patched \
>                  -I/usr/local/include/ltilib
> -w509,-312,-362,-389,-801,-314 -o ./${FOO}_wrap.shoo ./swig/$FOO.i ;\
>          ./munge.rb < ${FOO}_wrap.shoo > ${FOO}_wrap.cxx ;\
>          sed -i "s/Init_rblti/Init_$FOO/" colors_wrap.cxx
> FOO is colors
> LangSubDir: ruby
> Search paths:
>     ./
>     ./generated/
>     ./patched/
>     /usr/local/include/ltilib/
>     ./swig_lib/ruby/
>     /usr/share/swig1.3/ruby/
>     ./swig_lib/
>     /usr/share/swig1.3/
> Preprocessing...
> ./swig/colors.i:22: Error: Extraneous #endif.
> /bin/sh: cannot open colors_wrap.shoo: No such file
> sed: can't read colors_wrap.cxx: No such file or directory
> make: *** [colors_wrap.cxx] Error 2
>
> thanks&salutis
> olsen
>
>
>
>
>
> --
> Planet Pluto bleibt!
>
>
>


-- 
Planet Pluto bleibt!



More information about the Gridflow-dev mailing list