Setting Up An Application With NetBeans - Linux |
Introduction
This set of instructions will walk you through setting up a NetBeans C++ project from scratch.
When you have finished this tutorial you will be able to compile a working Ogre Application and you will be ready to start the Basic Tutorials.
Table of contents
Prerequisites
You need to make sure you've installed the C++ extensions before continuing.
Also make sure that you've create a CMake project as outlined in Building Your Projects With CMake
Setting up a NetBeans Ogre project
New C++ project with existing sources.
Select Mode dialogue
Make and Make Install
Do a make && make install in a console in the build/source directory before attempting to run your project.
Run configuration
Select the executable in the project tree, right-click and setup it's run properties.
Be sure to set the project for the executable
Success
Conclusion
While NetBeans is a great programming environment, it seems to pollute the source directory completely as there doesn't seem to be a way to specify a separate build directory.
So make sure that you have a copy (or make one) of your source before letting it loose.