IrrNewt irrlicht\newton framework >> SVN access

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
stefbuet
Competition winner
Posts: 495
Joined: Sun Dec 09, 2007 4:13 pm
Location: france

Post by stefbuet »

Does anyone managed to compile it for Irrlicht 1.4.2 ? :(
Trying to do it for 3 mounts now, I just can't :(

Changed some stuffs in the code

Code: Select all

//old : virtual bool OnEvent(irr::SEvent event);
virtual bool OnEvent(const irr::SEvent& event);

//old : bool irr::newton::ICameraBodyFPS::OnEvent(irr::SEvent event) {
bool irr::newton::ICameraBodyFPS::OnEvent(const irr::SEvent& event) {

//old : material.Textures[0]=0;
material.setTexture(0,0);
I also uncommented the "#define COMPILE_WITH_1_3" preprocessor query.

It removed all errors, but I got a last few error with linking :
[Linker error] undefined reference to `vtable for irr::IEventReceiver'

more precisely :
IrrNewt_src/camera_fps.o(.text$_ZN3irr14IEventReceiverC2Ev[irr::IEventReceiver::IEventReceiver()]+0x8):camera_fps.cpp: undefined reference to `vtable for irr::IEventReceiver'

I really don't understand.
I really can't change wrapper, I used it a lot in my project, however I deleted the dll & lib files and can't recompile them (It was with the older version of Irrnewt, not this one)[/code]

Please help me :oops:

Stef.
stefbuet
Competition winner
Posts: 495
Joined: Sun Dec 09, 2007 4:13 pm
Location: france

Post by stefbuet »

Oh, I've found what was wrong.
It wasn't the wrapper code, but the irrlicht code : I modified without attention and saved the IEventReceiver header file, I don't know how, but I did. That why gcc told me I didn't had a good implementation of this class in the irrNewt wrapper. So I downloaded again irr 1.4.2 and I can now compile IrrNewt ! I'm confused :P

:D I can know search why my physic is so slow
nero24
Posts: 3
Joined: Wed Nov 18, 2009 7:33 pm

Post by nero24 »

hello everybody i've got a problem with compiling irrnewt under 1.6

i've just included the irrnewt.hpp like this

Code: Select all

#include <irrnewt.hpp>
and then i've got a lot of errors i dunno why :

Code: Select all

c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\hidden.hpp(108) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\hidden.hpp(108) : error C2143: Syntaxfehler: Es fehlt ',' vor '*'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\hidden.hpp(131) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\hidden.hpp(131) : error C2143: Syntaxfehler: Es fehlt ',' vor '*'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\hidden.hpp(196) : warning C4244: 'Argument': Konvertierung von 'irr::f64' in 'irr::f32', möglicher Datenverlust
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\hidden.hpp(196) : warning C4244: 'Argument': Konvertierung von 'irr::f64' in 'irr::f32', möglicher Datenverlust
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\hidden.hpp(196) : warning C4244: 'Argument': Konvertierung von 'irr::f64' in 'irr::f32', möglicher Datenverlust
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\utils.hpp(93) : warning C4244: 'Argument': Konvertierung von 'irr::s32' in 'irr::f32', möglicher Datenverlust
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\utils.hpp(93) : warning C4244: 'Argument': Konvertierung von 'irr::s32' in 'irr::f32', möglicher Datenverlust
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\utils.hpp(93) : warning C4244: 'Argument': Konvertierung von 'irr::s32' in 'irr::f32', möglicher Datenverlust
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\utils.hpp(195) : error C2668: 'pow': Mehrdeutiger Aufruf einer überladenen Funktion
        c:\programme\microsoft visual studio 9.0\vc\include\math.h(575): kann 'long double pow(long double,int)' sein
        c:\programme\microsoft visual studio 9.0\vc\include\math.h(573): oder "long double pow(long double,long double)"
        c:\programme\microsoft visual studio 9.0\vc\include\math.h(527): oder "float pow(float,int)"
        c:\programme\microsoft visual studio 9.0\vc\include\math.h(525): oder "float pow(float,float)"
        c:\programme\microsoft visual studio 9.0\vc\include\math.h(489): oder "double pow(double,int)"
        c:\programme\microsoft visual studio 9.0\vc\include\math.h(123): oder "double pow(double,double)"
        bei Anpassung der Argumentliste '(int, irr::u32)'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\world.hpp(284) : warning C4244: '=': Konvertierung von 'irr::u32' in 'irr::f32', möglicher Datenverlust
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(18) : error C2143: Syntaxfehler: Es fehlt ';' vor '*'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(18) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(18) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(21) : error C2061: Syntaxfehler: Bezeichner 'NewtonContact'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(21) : error C2535: 'irr::newton::IMaterialContact::IMaterialContact(void)': Memberfunktion bereits definiert oder deklariert
        c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(20): Siehe Deklaration von 'irr::newton::IMaterialContact::IMaterialContact'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(24) : error C2143: Syntaxfehler: Es fehlt ';' vor '*'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(24) : error C2433: 'irr::newton::IMaterialContact::NewtonContact': 'inline' bei der Deklaration von Daten nicht zulässig
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(24) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(24) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(24) : warning C4183: 'getNewtonMaterialContact': Rückgabetyp fehlt; Memberfunktion, die 'int' zurückgibt wird angenommen
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(20) : error C2614: 'irr::newton::IMaterialContact': Unzulässige Elementinitialisierung: 'newton_contact' ist weder Basis noch Element
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(21) : error C2065: 'contact_to_set': nichtdeklarierter Bezeichner
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(21) : error C2614: 'irr::newton::IMaterialContact': Unzulässige Elementinitialisierung: 'newton_contact' ist weder Basis noch Element
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(24) : error C2039: 'newton_contact': Ist kein Element von 'irr::newton::IMaterialContact'
        c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\contact.hpp(17): Siehe Deklaration von 'irr::newton::IMaterialContact'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\material_pair_and_contact.hpp(25) : error C2061: Syntaxfehler: Bezeichner 'NewtonContact'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\material_pair_and_contact.hpp(28) : error C2065: 'contact_to_set': nichtdeklarierter Bezeichner
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(32) : error C2143: Syntaxfehler: Es fehlt ';' vor '*'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(32) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(32) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(37) : error C2061: Syntaxfehler: Bezeichner 'NewtonRagDoll'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(53) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(53) : error C2143: Syntaxfehler: Es fehlt ';' vor '*'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(53) : error C2433: 'irr::newton::IRagDoll::NewtonRagDoll': 'inline' bei der Deklaration von Daten nicht zulässig
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(53) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(53) : warning C4183: 'getNewtonRagDoll': Rückgabetyp fehlt; Memberfunktion, die 'int' zurückgibt wird angenommen
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(53) : error C2065: 'n_ragdoll': nichtdeklarierter Bezeichner
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(89) : error C2143: Syntaxfehler: Es fehlt ';' vor '*'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(89) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(89) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(90) : error C2143: Syntaxfehler: Es fehlt ';' vor '*'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(90) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(90) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(98) : error C2061: Syntaxfehler: Bezeichner 'NewtonRagDollBone'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(99) : error C2535: 'irr::newton::IRagDollBone::IRagDollBone(void)': Memberfunktion bereits definiert oder deklariert
        c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(98): Siehe Deklaration von 'irr::newton::IRagDollBone::IRagDollBone'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(103) : error C2143: Syntaxfehler: Es fehlt ';' vor '*'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(103) : error C2433: 'irr::newton::IRagDollBone::NewtonRagDoll': 'inline' bei der Deklaration von Daten nicht zulässig
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(103) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(103) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(103) : warning C4183: 'getNewtonRagDoll': Rückgabetyp fehlt; Memberfunktion, die 'int' zurückgibt wird angenommen
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(106) : error C2143: Syntaxfehler: Es fehlt ';' vor '*'
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(106) : error C2433: 'irr::newton::IRagDollBone::NewtonRagDollBone': 'inline' bei der Deklaration von Daten nicht zulässig
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(106) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(106) : error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(106) : warning C4183: 'getNewtonRagDollBone': Rückgabetyp fehlt; Memberfunktion, die 'int' zurückgibt wird angenommen
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(98) : error C2065: 'this_bone': nichtdeklarierter Bezeichner
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(98) : error C2614: 'irr::newton::IRagDollBone': Unzulässige Elementinitialisierung: 'n_bone' ist weder Basis noch Element
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(99) : error C2614: 'irr::newton::IRagDollBone': Unzulässige Elementinitialisierung: 'n_bone' ist weder Basis noch Element
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(103) : error C2065: 'n_ragdoll': nichtdeklarierter Bezeichner
c:\dokumente und einstellungen\infomaniac\desktop\irrnewt_sdk_0_4\include\ragdoll.hpp(106) : error C2065: 'n_bone': nichtdeklarierter Bezeichner
Das Buildprotokoll wurde unter "file://c:\Dokumente und Einstellungen\InfoManiac\Desktop\test\irrlicht-1.6\irrlicht-1.6\examples\07.Collision\Debug\BuildLog.htm" gespeichert.
07.Collision_vc9 - 50 Fehler, 11 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========
m3ltd0wn
Posts: 107
Joined: Wed Dec 12, 2007 8:32 am
Location: Romania

reply

Post by m3ltd0wn »

bringing this thread up

i want to use some physics into my application, and i find irrnewt quite ok for my needs, so i've downloaded the irrnewt_sdk from the svn, and newton 1.53 sdk, and i have latest irrlicht sdk from 1.7 branch of the svn, tried to compile and i get the same error over and over again

Code: Select all

1>------ Build started: Project: IrrNewt, Configuration: Debug Win32 ------
1>Compiling...
1>body.cpp
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>body_controller.cpp
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>camera_fps.cpp
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\camera_fps.cpp(77) : warning C4018: '<' : signed/unsigned mismatch
1>collision.cpp
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\collision.cpp(60) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\collision.cpp(537) : warning C4018: '<' : signed/unsigned mismatch
1>collision_manager.cpp
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\collision_manager.cpp(354) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\collision_manager.cpp(489) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\collision_manager.cpp(509) : warning C4018: '<' : signed/unsigned mismatch
1>hidden.cpp
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>joint.cpp
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>joint_custom.cpp
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>joint_custom_gear.cpp
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>physics.cpp
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>ragdoll.cpp
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\ragdoll.cpp(224) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\ragdoll.cpp(229) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\ragdoll.cpp(234) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\ragdoll.cpp(239) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\ragdoll.cpp(244) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\ragdoll.cpp(249) : warning C4018: '<' : signed/unsigned mismatch
1>tree_body.cpp
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>utils.cpp
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\utils.cpp(327) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\utils.cpp(338) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\utils.cpp(480) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\utils.cpp(494) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\utils.cpp(511) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\utils.cpp(524) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\utils.cpp(579) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\utils.cpp(597) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\utils.cpp(654) : warning C4018: '<' : signed/unsigned mismatch
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\utils.cpp(711) : warning C4018: '<' : signed/unsigned mismatch
1>vehicle_car.cpp
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>vehicle_simple.cpp
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>vehicle_tire.cpp
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>world.cpp
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\utils.hpp(195) : error C2668: 'pow' : ambiguous call to overloaded function
1>        d:\visualstudio2008\vc\include\math.h(575): could be 'long double pow(long double,int)'
1>        d:\visualstudio2008\vc\include\math.h(573): or       'long double pow(long double,long double)'
1>        d:\visualstudio2008\vc\include\math.h(527): or       'float pow(float,int)'
1>        d:\visualstudio2008\vc\include\math.h(525): or       'float pow(float,float)'
1>        d:\visualstudio2008\vc\include\math.h(489): or       'double pow(double,int)'
1>        d:\visualstudio2008\vc\include\math.h(123): or       'double pow(double,double)'
1>        while trying to match the argument list '(int, irr::u32)'
1>d:\project\irrnewtsdk  svn\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\include\hidden.hpp(194) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\world.cpp(128) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>d:\project\irrnewtsdk  svn\source\irrnewt_src\world.cpp(157) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>Generating Code...
1>Creating browse information file...
1>Microsoft Browse Information Maintenance Utility Version 9.00.21022
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Build log was saved at "file://d:\Project\IrrNewtSDK  svn\source\Debug\BuildLog.htm"
1>IrrNewt - 17 error(s), 140 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Seven
Posts: 1030
Joined: Mon Nov 14, 2005 2:03 pm

Post by Seven »

those errors are discussed (with countermeasure) in this same posting. look through the previous pages....
m3ltd0wn
Posts: 107
Joined: Wed Dec 12, 2007 8:32 am
Location: Romania

reply

Post by m3ltd0wn »

10x seven found a "cure" for it but one error still remains

1>IrrBox.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class irr::video::SMaterial irr::video::IdentityMaterial" (__imp_?IdentityMaterial@video@irr@@3VSMaterial@12@A)


later edit:

fixed with :

#pragma comment(lib, "irrlicht.lib")

10x again
m3ltd0wn
Posts: 107
Joined: Wed Dec 12, 2007 8:32 am
Location: Romania

reply

Post by m3ltd0wn »

played a little with this library, and found some "bugs":

here it goes in case someone still develops it :)

here is may physics world, a terrain made with addTerrainSceneNode and a flat heightmap

Code: Select all

//physics world
	veedub_world = newton::createPhysicsWorld(device);
	terrain_physics_data.Node = terrain;
	terrain_physics_data.Mesh = terrain->getMesh();
	terrain_physics_data.Type = newton::EBT_TREE_TERRAIN;
	terrain_body = veedub_world->createBody(terrain_physics_data);
and a carbody:

Code: Select all

//load the carBody 3d model: path to 3d model, parent node, position, rotation
		void loadCarBody(path filenameModel, ISceneNode* parent = vw_node, vector3df pos = vector3df(0,0,0), vector3df rot = vector3df(0,0,0))
		{
			car_body = smgr->getMesh(filenameModel);
			car_body_node = smgr->addAnimatedMeshSceneNode( car_body, parent, -1, pos, rot);
			car_body_physics_data.Node = car_body_node;
			car_body_physics_data.Type = newton::EBT_AUTODETECT;
			car_body_body = veedub_world->createBody(car_body_physics_data);
			//car_body_body->setMass(1400);
			car_body_body->addForceContinuous(vector3df(0,-3,0));
		}
then for debug i've added an action to fire some cubes when i press space.

if the cube hits the body from above, the body will fall through the terrain, and will stop below it somewhere...

Image

then if i add force continous to the body shell of the car:
Image

any suggestions? :)
stefbuet
Competition winner
Posts: 495
Joined: Sun Dec 09, 2007 4:13 pm
Location: france

Post by stefbuet »

Also I found a problem with nodes which have a parent.
If your node is at the position (0,0,0) and it's parent is at the position(100,100,100), physic calculations will occure as if the node was at (0,0,0) instead of (100,100,100) despite the fast that graphicaly it's at (100,100,100). You can check that by using the function drawDebugInfos. DebugsInfo are drawed at (0,0,0), and the node at (100,100,100)....
I'm searching into the code where I could change this...

[edit]
I found a pseudo solution to solve this problem:

I don't put anymore the second node as a child of the first one.
Instead I calculate myself its position with the first node matrix and the second node matrix:

Code: Select all

IMatrix parentMatrix, childMatrix;
parentMatrix.setPosition(parentNode->getPosition());
parentMatrix.setRotationDegrees(parentNode->getRotation());
childMatrix.setPosition(yourCurstomChildPos);
childMatrix.setRotation(yourCustoumChildRot);
IMatrix nodeTransformedMatrix=parentMatrix*childMatrix;
node->setPosition(nodeTransformedMatrix.getPosition());
node->setRotation(nodeTransformedMatrix.getRotationDegrees());
digoxy
Posts: 51
Joined: Wed Feb 17, 2010 3:55 pm
Location: Currently Germany.

Post by digoxy »

I am currently using IrrLicht 1.7.1, IrrNewt0.4(2008 re-release with matgaw patches), walked completely through this thread and made adjustments as needed - however, I am stuck at one point here that I cant seem to get past and could really use some expert advice.

Currently, when compiling the IrrNewt Hello World app, I get the following>

Code: Select all

1>------ Rebuild All started: Project: hello world, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'hello world', configuration 'Debug|Win32'
1>Compiling...
1>hello world.cpp
1>c:\users\valued customer\documents\visual studio 2008\irrnewt\include\hidden.hpp(186) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>c:\users\valued customer\documents\visual studio 2008\irrnewt\include\hidden.hpp(186) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>c:\users\valued customer\documents\visual studio 2008\irrnewt\include\hidden.hpp(186) : warning C4244: 'argument' : conversion from 'irr::f64' to 'irr::f32', possible loss of data
1>c:\users\valued customer\documents\visual studio 2008\irrnewt\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>c:\users\valued customer\documents\visual studio 2008\irrnewt\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>c:\users\valued customer\documents\visual studio 2008\irrnewt\include\utils.hpp(93) : warning C4244: 'argument' : conversion from 'irr::s32' to 'irr::f32', possible loss of data
1>c:\users\valued customer\documents\visual studio 2008\irrnewt\include\world.hpp(284) : warning C4244: '=' : conversion from 'irr::u32' to 'irr::f32', possible loss of data
1>c:\users\valued customer\documents\visual studio 2008\irrnewt\examples\hello world\hello world.cpp(113) : warning C4996: 'irr::scene::ISceneManager::addOctTreeSceneNode': was declared deprecated
1>        c:\users\valued customer\documents\visual studio 2008\irrlicht\include\iscenemanager.h(514) : see declaration of 'irr::scene::ISceneManager::addOctTreeSceneNode'
1>Compiling manifest to resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>Linking...
1>LINK : ../../../bin_debug/visual_studio/hello world.exe not found or not built by the last incremental link; performing full link
1>Embedding manifest...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>Build log was saved at "file://c:\Users\Valued Customer\Documents\Visual Studio 2008\irrNewt\examples\IDE\visual studio\Debug\BuildLog.htm"
1>hello world - 0 error(s), 8 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
This of course compiles fine, when the app is then run, I break on>

Code: Select all

p_world = irr::newton::createPhysicsWorld(device);
The console window shows me the last bit that its loaded
wheel_texture.jpg
Reading through the information and gaining an understanding of the DLL, LIB, .H need for compatability, I have come to the conclusion that the library files I am using may not worl with IrrLicht 1.7.1 and IrrNewt04 (2008 Release).

I cannot however test this as I am using Visual C++ Express 2008 and cannot figure out how to produce these files. It may be that MSV is capable, but I am not! :)

Does anyone have compiled DLL's, LIB's, .H's for IrrLicht 1.7.1 and IrrNewt 04(2008)?

Or

Can you explain in detail how to compile these files in MSVS?

It seems to me that the many f64/f32 - s32/f32 Errors may also cause this problem with the execution, however, I cannot locate anything else within this thread that explains how to explain away these warnings.

@@Seven, - You mentioned creating a wrapper for Newton2, is this still on the table? I would be very interested in not only using but also testing and working with you on that project.
Grandma-- / Grandpa --
Seven
Posts: 1030
Joined: Mon Nov 14, 2005 2:03 pm

Post by Seven »

I actually wound up creating a DLL which houses multiple physics engines so that I can test betweeen them. none of them have advanced methods yet, but are usable for deciding which physics engine I will settle on. Right now, Physx283 has the lead by a long shot. I recommend it over Newton2 if for no other reason that the speed increase that I have seen. IrrPhysx is an excellent place to start with Physx.
freetimecoder
Posts: 226
Joined: Fri Aug 22, 2008 8:50 pm
Contact:

Post by freetimecoder »

Heyho,
found this SDK a few days ago. As I have seen so far: Great work! :)
Just a question, is it possible to implement springs (or spring-slider joints)? I searched the doku for it and only found the word spring mentioned with the ICar class?

greetings
stefbuet
Competition winner
Posts: 495
Joined: Sun Dec 09, 2007 4:13 pm
Location: france

Post by stefbuet »

Maybe you could just make your own springs. Calculate the length of the spring, then calculate the force exerced : F=-k.x (x=currentLenght-idleLenght), then apply this forces to each body attached to the spring, on the spring attachment specific points.
freetimecoder
Posts: 226
Joined: Fri Aug 22, 2008 8:50 pm
Contact:

Post by freetimecoder »

Then I guess I'll just do that :)

Image

~edit~ new version look below
Atm, it works for one side only and is crappy code, but the results look ok, and when I have the time, I will implement it in a class to generalize it.

greetings
Last edited by freetimecoder on Tue Mar 30, 2010 5:14 pm, edited 1 time in total.
katze555
Posts: 28
Joined: Tue Mar 23, 2010 7:13 pm

Post by katze555 »

best Homepage ever :D
________
Marijuana
Last edited by katze555 on Thu Feb 24, 2011 7:42 am, edited 1 time in total.
freetimecoder
Posts: 226
Joined: Fri Aug 22, 2008 8:50 pm
Contact:

Post by freetimecoder »

Thanks :)

Here is an update:
Image

~edit~ new version look below

Now I only have to add damping, but I don't really know how. I tried to multiply the force by a damping factor, but that does not work: Same effect as modifing strength. Is there a formlua or something?

greetings
Post Reply