caifie
09-05-2010 11:09:02
hi, everyone!
there is a strange thing with ogrenewt2.0+ogre1.7.
situation1. create a new ogre1.7 app with the wizard, add the ogrenewt headfiles and link to the ogrenewt lib, then add the ogrenewt code from the demo, but the app can combile but can not run. it will die in the code line below,
situation2. in the ogrenewt.sln, i moved the current code of the demo, and import the same code in situation1, it can combile and can run also.
so i think that, the code may not have problems.
i then checked the property of the new ogre app and the ogrenewt demo in ogrenewt.sln, i make sure the property are the same, and try the two situation above again. the problem is the same.
ps: the demos in ogrenewt.sln include minimalogrenewtapplication can combile and run well.
anyone have the idea?
there is a strange thing with ogrenewt2.0+ogre1.7.
situation1. create a new ogre1.7 app with the wizard, add the ogrenewt headfiles and link to the ogrenewt lib, then add the ogrenewt code from the demo, but the app can combile but can not run. it will die in the code line below,
OgreNewt::ConvexCollisionPtr col = OgreNewt::ConvexCollisionPtr(new OgreNewt::CollisionPrimitives::Box( m_World, size, 0 ));situation2. in the ogrenewt.sln, i moved the current code of the demo, and import the same code in situation1, it can combile and can run also.
so i think that, the code may not have problems.
i then checked the property of the new ogre app and the ogrenewt demo in ogrenewt.sln, i make sure the property are the same, and try the two situation above again. the problem is the same.
ps: the demos in ogrenewt.sln include minimalogrenewtapplication can combile and run well.
anyone have the idea?