开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜