且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

C ++:eclipse CDT中的外部库

更新时间:2023-09-15 16:55:52

我通常配置


  1. 图书馆

  2. 库搜索路径(需要编译)

  3. 运行时搜索路径(-rpath链接器选项)

(请参见下面的图片,并将链接器标记中的路径与您在库搜索路径中使用的路径进行交换)

(see images below and exchange the path in the Linker flags to that one you used in the library search path)