Using the latest version of irrlicht (0.7)
Code: Select all
In file included from S2DVertex.h:8,
from IK3DTriangleRenderer.h:10,
from CTRTextureGouraud.h:8,
from CTRFlat.cpp:5:
include/vector2d.h: In member function `irr::f64 irr::core::vector2d<T>::getDistanceFrom(const irr::core::vector2d<T>&) const':
include/vector2d.h:71: error: there are no arguments to `sqrt' that depend on a template parameter, so a declaration of `sqrt' must be available
include/vector2d.h:71: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
include/vector2d.h: In member function `void irr::core::vector2d<T>::rotateBy(irr::f64, const irr::core::vector2d<T>&)':
include/vector2d.h:77: error: `GRAD_PI2' undeclared (first use this function)
include/vector2d.h:77: error: (Each undeclared identifier is reported only once for each function it appears in.)
include/vector2d.h:78: error: there are no arguments to `cos' that depend on a template parameter, so a declaration of `cos' must be available
include/vector2d.h:79: error: there are no arguments to `sin' that depend on a template parameter, so a declaration of `sin' must be available
include/vector2d.h: In member function `irr::f64 irr::core::vector2d<T>::getAngle() const':
include/vector2d.h:113: error: there are no arguments to `sqrt' that depend on a template parameter, so a declaration of `sqrt' must be available
include/vector2d.h:113: error: `GRAD_PI' undeclared (first use this function)
include/vector2d.h: In member function `irr::f64 irr::core::vector2d<T>::getAngleWith(const irr::core::vector2d<T>&) const':
include/vector2d.h:142: error: there are no arguments to `sqrt' that depend on a template parameter, so a declaration of `sqrt' must be available
include/vector2d.h:142: error: `GRAD_PI' undeclared (first use this function)
make: *** [CTRFlat.o] Error 1
glibc version: glibc-2.3.3-2
gcc version: gcc-3.4.3-1
Yeah.... any help would be nice :S