Skip to main content

History: Setting Up An Application - NetBeans - Linux

Preview of version: 7

QtCreator Logo
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.

NetBeans_cmake_1

Select Mode dialogue

NetBeans_cmake_2

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

Success

NetBeans_cmake_5

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.

History

Information Version
Sat 01 of Jan, 2011 17:52 GMT-0000 jacmoe 8
Sat 01 of Jan, 2011 17:46 GMT-0000 jacmoe 7
Sat 01 of Jan, 2011 17:43 GMT-0000 jacmoe 6
Sat 01 of Jan, 2011 17:41 GMT-0000 jacmoe 5
Sat 01 of Jan, 2011 17:34 GMT-0000 jacmoe 4
Sat 01 of Jan, 2011 17:11 GMT-0000 jacmoe 3
Sat 01 of Jan, 2011 16:23 GMT-0000 jacmoe 2
Sat 01 of Jan, 2011 16:16 GMT-0000 jacmoe 1