Friday, October 25, 2013

How to install the SBVBLib?

[this process was accomplished on Ubuntu 12.04 LTS using Netbeans IDE 7.3.1 C/C++]

Download the VBLib:
[link]

Extract it wherever you want.

Then, on your Eclipse IDE:
right click on your project > properties > Build > C++ Compiler > Include Directories.

Add the path to the library. Mine was:
../sbvblibs-h/include

Ok, we're finished!

Now you can include the lib to your project, like this:
#include "VBLib/VBLib.h"

And namespacing:
using namespace br::com::sbVB::VBLib;

More information about header only libraries:
http://stackoverflow.com/questions/14287817/how-do-you-add-libraries-to-eclipse-cdt-no-such-file-or-directory

No comments:

Post a Comment