Print

Image

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.

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.

Image

Select Mode dialogue

Image

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.
Image
Be sure to set the project for the executable
Image

Success

Image

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.


Contributors to this page: jacmoe133512 points  .
Page last modified on Saturday 01 of January, 2011 17:52:19 UTC by jacmoe133512 points .


The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.