I\'m trying the use this library (RollPlay) in my project but I don\'t know how to include it in my C++ project in Netbeans. Would I just add the .dll and .h files into the
In Netbeans 8.2, to include a header file (.h) folder in your IDE, you would do something like this:
But this will not be enough, code will not compile. Because some how this option will only remove the error in IDE.
To remove the error during compilation you need to pass the include folder as parameter to MinGw toolset.
Now on running you should see the folder added as argument in the following command:
g++ -c -g -I../../../../../dev/vcpkg/installed/x64-windows/include -MMD .....
I am using MinGw from: nuwen and adding header files from vcpkg. But any MinGw you are using it should not matter, also you can include any libraries/header files' folder this way.
A library would normally reside in its own installation directory so you would need to point NB to where that is. If you right-click the project name in the "Projects" window, you'll have a Properties option.