Netbeans IDE 7.2.1: How to add the c++ boost library

后端 未结 1 1053
孤独总比滥情好
孤独总比滥情好 2020-12-17 02:04

For my next assignment I require threading in C++ and have read that the boost library for threading works fairly well. I\'ve never added a custom library to Netbeans and w

相关标签:
1条回答
  • 2020-12-17 02:11

    Linking library:

    Project -> properties -> Linker ->Libraries -> Add option -> Other -> -l%libname%

    Path to libraries:

    Project -> properties -> Linker -> Additional Library Directories

    Includes:

    Project -> properties -> C++ Compiler -> Include Directories -> %paths_to_boost%

    0 讨论(0)
提交回复
热议问题