#3 Error compiling with g++-4.3

closed-fixed
nobody
None
5
2008-12-22
2008-12-17
BeLioN
No

There is a problem compiling with a newer version of g++ (tested with 4.3).
There is a compilation error:

Math/LinearAlgebra.cpp: In function ‘void LinearAlgebra::SelfProduct(const CFloatMatrix*, CFloatMatrix*, bool)’:
Math/LinearAlgebra.cpp:117: error: ‘memcpy’ was not declared in this scope
Math/LinearAlgebra.cpp: In function ‘void LinearAlgebra::SelfProduct(const CDoubleMatrix*, CDoubleMatrix*, bool)’:
Math/LinearAlgebra.cpp:904: error: ‘memcpy’ was not declared in this scope
make: *** [build/linear_algebra.o] Error 1

Solution:

add #include <string.h> in LinearAlgebra.cpp

Best regards

Discussion

  • Pedram Azad
    Pedram Azad
    2008-12-22

    Hi,

    thank you for pointing to this problem. In the new version 1.3.2 of the IVT this problem has been fixed. Please post any other compilation problems that occur.

    Best,
    Pedram

     
  • Pedram Azad
    Pedram Azad
    2008-12-22

    • status: open --> closed-fixed