History: NetBeans 6.9.1
Source of version: 11 (current)
Copy to clipboard
We are taking for granted that your NetBeans has MinGW configured and compiling .c normally. Firstly, create a new Project as C++ Application, then open the project rroperties. We are going to configure the debug settings next. !!DEBUG __In C++ Compiler > Include Directories:__ Path_to_Ogre/include Path_to_Ogre/include/OIS Path_to_Ogre/include/OGRE Path_to_Ogre/Samples/Common/include Path_to_Ogre/boost {IMG(src="http://img.photobucket.com/albums/v493/gev/Ogre/imagem_1.jpg")}{IMG} __Pre-Processor Definition:__ WIN32 _DEBUG _WINDOWS __In Linker > Libraries:__ libOgreMain_d.dll.a libOIS_d.dll.a __Note:__ You can select these libraries by clicking the button ".." on the right of the field and clicking "Add Library". {IMG(src="http://img.photobucket.com/albums/v493/gev/Ogre/imagem_2.jpg")}{IMG} __Additional Directories Libraries:__ Path_to_Ogre/lib/debug Path_to_Ogre/boost/lib __In Execute > Execute Directory:__ Path_to_Ogre\bin\Debug {IMG(src="http://img.photobucket.com/albums/v493/gev/Ogre/imagem_3.jpg")}{IMG} %%% !!RELEASE __In C++ Compiler__ ''Same as in the debug settings'' __Pre-Processor Definition:__ WIN32 _NDEBUG _WINDOWS __In Linker > Libraries:__ ''Netbeans is going to automatically set the libraries based on those found in debug configurations'' __Additional Directories Libraries:__ Path_to_Ogre/lib/release Path_to_Ogre/boost/lib __In Execute > Execute Directory:__ Path_to_Ogre\bin\Release