Ive been looking through options for collision detection in my game.
I wanted something pretty high-level, so that narrowed me down to a wrapper.
then i looked through a couple of wrappers and saw that only IrrNewt had joints. so i choosed that.
i got the last version from svn and tried to compile the hello world project with visual studio 2005 express.
and got a couple of warnings and errors
Code: Select all
------ Build started: Project: hello world, Configuration: Debug Win32 ------
Compiling...
hello world.cpp
f:\c++\irrnewt\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
f:\c++\irrnewt\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
f:\c++\irrnewt\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
f:\c++\irrnewt\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
f:\c++\irrnewt\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
f:\c++\irrnewt\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
f:\c++\irrnewt\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
e:\program files\microsoft visual studio 8\vc\include\math.h(575): could be 'long double pow(long double,int)'
e:\program files\microsoft visual studio 8\vc\include\math.h(573): or 'long double pow(long double,long double)'
e:\program files\microsoft visual studio 8\vc\include\math.h(527): or 'float pow(float,int)'
e:\program files\microsoft visual studio 8\vc\include\math.h(525): or 'float pow(float,float)'
e:\program files\microsoft visual studio 8\vc\include\math.h(489): or 'double pow(double,int)'
e:\program files\microsoft visual studio 8\vc\include\math.h(123): or 'double pow(double,double)'
while trying to match the argument list '(int, irr::u32)'
f:\c++\irrnewt\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
f:\c++\irrnewt\examples\hello world\hello world.cpp(58) : error C2259: 'MyeventReceiver' : cannot instantiate abstract class
due to following members:
'bool irr::IEventReceiver::OnEvent(const irr::SEvent &)' : is abstract
f:\c++\irrlicht-1.4.1\include\ieventreceiver.h(262) : see declaration of 'irr::IEventReceiver::OnEvent'
Build log was saved at "file://f:\c++\IrrNewt\examples\IDE\visual studio\Debug\BuildLog.htm"
hello world - 2 error(s), 7 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========