Include C++ library source in Netbeans project?
Is there a "good" way to directly include a library's source in a Netbeans project? When I try to do it, I add the include directory in the Linker options and src in the source directories but I get a ton of "undefined reference" errors unless I add the folder into the project using right click>add existin开发者_如何学Pythong items from folder.
Is there a better way to do this without having all the the code in the project ?
Thanks a lot in advance for your answers
Try doing this:
Select Tools->Libraries from the menu, create a new library there, then on right side click "add Jar/folder" to insert your folder.
精彩评论