首页 > 解决方案 > fltk 在代码块中找不到 -lXcursor

问题描述

我昨天在我的代码块 IDE 上安装了 fltk,它工作正常,我能够在其上运行“Hello world”程序,但后来我删除了以前的项目并创建了一个新项目,但我收到了这个错误

/usr/bin/ld: cannot find -lXcursor
/usr/bin/ld: cannot find -lXfixes
collect2: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 4 second(s))
3 error(s), 0 warning(s) (0 minute(s), 4 second(s))

我正在使用带有 GNU GCC 编译器的 linux 操作系统

标签: c++

解决方案


推荐阅读