Netbeans IDE 7.2.1: How to Add a C ++ Acceleration Library

For my next assignment, I need C ++ streaming processing and read that the boost library for streaming processing works quite well. I never added a custom library to Netbeans and was hoping someone could provide me with a few steps so that I could # enable it and use it in my class.

So far I have downloaded the following: Download the library from here: http://sourceforge.net/projects/boost/files/boost/1.52.0/ (Not sure if it matters where I also extract this. I assume that I need to install NetBeans to point to it somewhere in the properties of my package?)

NetBeans 7.2.1 C / C ++ Installer for Windows from here: http://netbeans.org/downloads/start.html?platform=windows&lang=en&option=cpp

Compile with: MinGW

Any help would be great. Thanks!

+6
source share
1 answer

Library Binding:

Project → properties → Linker → Libraries → Add Option → Other → -l% Library_name%

Library path:

Project → properties → Linker → Additional Library Directories

Includes:

Project -> Properties -> C ++ Compiler -> Include Directories ->% Paths_to_boost%

+7
source

All Articles