This is how you set up an OGRE project in Code :: Blocks (Windows). If you made a nice installation (following the OGRE setup guide in http://www.ogre3d.org/wiki/index.php/Installing_An_SDK), this should come up without problems. NOTE: This tutorial only works with Code::Blocks; NOT Microsoft Visual C++. There are other tutorials around for VC++. I don't use VC++ so stop asking. I am running a Windows XP Service pack 3. I didn't install DirectX9; instead I just included d3dx9_30.dll in OgreSDK\bin\release. I plan to install it later tough, but what I did here is just ok for total beginners like me. These are the parameters I used: *** Compiler settings Tab *** Other options Sub-Tab -mthreads -fmessage-length=0 -fexceptions -fident #defines Sub-Tab NDEBUG _STLP_NO_CUSTOM_IO _STLP_USE_DYNAMIC_LIB *** Linker settings Tab *** Link libraries List OgreMain OIS Other linker options List -Wl,--enable-auto-image-base -Wl,--add-stdcall-alias *** Search directories Tab *** Compiler Sub-Tab $(OGRE_HOME)\stlport\stlport $(OGRE_HOME)\include $(OGRE_HOME)\include\OIS Linker Sub-Tab $(OGRE_HOME)\bin\$(TARGET_NAME) enjoy. code pour embarquer la vidéo : >>> http://www.youtube.com/embed/eJ5J2JLKxwg <<< |