orocos / orocos-bayesian-filtering

The orocos Bayesian Filtering Library
148 stars 59 forks source link

compile error in ltilib header with recent gcc #21

Closed toeklk closed 6 years ago

toeklk commented 6 years ago

migrated from Bugzilla #603 status NEW severity normal in component packages for --- Reported in version trunk on platform All Assigned to: BFL mailinglist

On 2008-12-09 09:15:09 +0100, Klaas Gadeyne wrote:

  [ 1%] Building CXX object src/CMakeFiles/orocos-bfl.dir/wrappers/matrix/matrix_LTI.o cd /home/kgad/SVN/orocos/bfl-trunk/build-lti/src ampersandampersand /usr/bin/c++ -Dorocos_bfl_EXPORTS -g -fPIC -I/home/kgad/SVN/orocos/bfl-trunk/src/wrappers/matrix -I/home/kgad/SVN/orocos/bfl-trunk/build-lti/src/wrappers/matrix -I/home/kgad/SVN/orocos/bfl-trunk/src/wrappers/rng -I/home/kgad/SVN/orocos/bfl-trunk/build-lti/src/wrappers/rng -I/home/kgad/SVN/orocos/bfl-trunk/src/sample -I/home/kgad/SVN/orocos/bfl-trunk/src/pdf -I/home/kgad/SVN/orocos/bfl-trunk/src/model -I/home/kgad/SVN/orocos/bfl-trunk/src/filter -I/home/kgad/SVN/orocos/bfl-trunk/src/smoother -o CMakeFiles/orocos-bfl.dir/wrappers/matrix/matrix_LTI.o -c /home/kgad/SVN/orocos/bfl-trunk/src/wrappers/matrix/matrix_LTI.cpp /usr/include/ltilib/ltiGenericVector_template.h: In member function 'lti::genericVector(T)ampersand lti::genericVector(T)::copy(const lti::genericVector(T)ampersand) [with T = double]': /usr/include/ltilib/ltiGenericMatrix_inline.h:377: instantiated from 'void lti::genericMatrix(T)::getRowCopy(int, lti::genericVector(T)ampersand) const [with T = double]' /usr/include/ltilib/ltiMatrix_inline.h:102: instantiated from 'void lti::matrix(T)::getRowCopy(int, lti::vector(T)ampersand) const [with T = double]' /usr/include/ltilib/ltiMatrix_inline.h:95: instantiated from 'lti::vector(T) lti::matrix(T)::getRowCopy(int) const [with T = double]' /home/kgad/SVN/orocos/bfl-trunk/src/wrappers/matrix/matrix_LTI.cpp:57: instantiated from here :505: error: 'memcpy' was not declared in this scope [kgad@watt ~/SVN/orocos/bfl-trunk/build-lti]$ gcc --version gcc (Debian 4.3.2-1) 4.3.2 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [kgad@watt ~/SVN/orocos/bfl-trunk/build-lti]$ apt-cache show liblti Package: liblti Version: 1.9.15-6 Architecture: i386 Depends: libc6 Replaces: libltilib Conflicts: libltilib Installed-Size: 40000 Maintainer: Wim Meeussen Priority: optional Section: libs Filename: pool/main/libl/liblti/liblti_1.9.15-6_i386.deb Size: 9096966 MD5sum: ff97dd5bf2694369c9a7c3bead16e6c1 Description: LTI matrix library It's a missing #include string.h in the header, but it seems that ltilib is somewhat unmaintained (we've got the most recent version, which dates back from 2005)?
toeklk commented 6 years ago

LTILib is no longer maintained upstream, so removed it from BFL and wontfix this one