I tried to compile all2pov(livred with irrnewt), it uses irrlicht.
but when compiling, i get the following errors(all in irrXML.h):
Code: Select all
../../irrlicht-1.4.2/include/irrString.h||In constructor ‘irr::core::string<T, TAlloc>::string(double)’:|
../../irrlicht-1.4.2/include/irrString.h|59|error: there are no arguments to ‘_snprintf’ that depend on a template parameter, so a declaration of ‘_snprintf’ must be available|
../../irrlicht-1.4.2/include/irrString.h|59|error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)|
../../irrlicht-1.4.2/include/irrXML.h|425|error: expected constructor, destructor, or type conversion before ‘(’ token|
../../irrlicht-1.4.2/include/irrXML.h|438|error: expected constructor, destructor, or type conversion before ‘(’ token|
../../irrlicht-1.4.2/include/irrXML.h|450|error: expected constructor, destructor, or type conversion before ‘(’ token|
../../irrlicht-1.4.2/include/irrXML.h|462|error: expected constructor, destructor, or type conversion before ‘(’ token|
../../irrlicht-1.4.2/include/irrXML.h|475|error: expected constructor, destructor, or type conversion before ‘(’ token|
../../irrlicht-1.4.2/include/irrXML.h|487|error: expected constructor, destructor, or type conversion before ‘(’ token|
../../irrlicht-1.4.2/include/irrXML.h|499|error: expected constructor, destructor, or type conversion before ‘(’ token|
../../irrlicht-1.4.2/include/irrXML.h|513|error: expected constructor, destructor, or type conversion before ‘(’ token|
../../irrlicht-1.4.2/include/irrlicht.h|278|error: expected constructor, destructor, or type conversion before ‘(’ token|
../../irrlicht-1.4.2/include/irrlicht.h|297|error: expected constructor, destructor, or type conversion before ‘(’ token|
/home/bachir/lib/aresfps/all2pov/all2pov.cpp||In function ‘std::string storeMeshbuffer(SingleMeshBuffer)’:|
/home/bachir/lib/aresfps/all2pov/all2pov.cpp|415|warning: comparison between signed and unsigned integer expressions|
/home/bachir/lib/aresfps/all2pov/all2pov.cpp||In function ‘int main(int, char**)’:|
/home/bachir/lib/aresfps/all2pov/all2pov.cpp|452|error: ‘createDevice’ is not a member of ‘irr’|
/home/bachir/lib/aresfps/all2pov/all2pov.cpp|543|warning: comparison between signed and unsigned integer expressions|
||=== Build finished: 13 errors, 2 warnings ===|