[SOLVED]Problem with Demos

seniorspoon

24-04-2007 19:04:02

Ok I installed the OgreNewt and the OgreSDK and the first demo compiles fine, but when i run it i cant throw the little cylinders. When i click on debug->start new instance and run it that way it works fine. im using visual studio 2003 pro, and einhort. If any has any idea about what could be causing this or if this is how its supposed to behave please let me know

Thanks

slinky

25-04-2007 17:01:18

Sounds odd. If you post the contents of the ogre.text file it may shed some light.

CagedFury

26-04-2007 03:37:53

Heres a shot in the dark but im wondering if it could be something to do with wher ethe cylinder.mesh is located?

(debug mode taking its resource.cfg file from a different location from the release version in relation to the project file and or the exe)

running the exe from the folder and running the exe through visual studio gets resource, ogre maina nd a couple of other files from different places (mainly the folder the project file is in and also the bin/debug/ folder)

dunno not really sure if thats the same problem but its work checking :S i have had the same sorta problem with release and debug, it would work in debug but not in release due to teh different locations it looks for resource.cfg etc.

seniorspoon

26-04-2007 04:59:00

Fixed it well sort of it fixed itself dont know how or why it was happening but it seems to work fine and i havent changed anything, thanks for the help though