在我的Ubuntu15.04上要学习下C++图形,安装FLTK库,下载了fltk-1.3.3文件,编译中报:Configure could not find required X11 libraries
网上查到以下办法:出处Ubuntu Forums
FLTK is in the ubuntu repositories, unless you have reasons not to, you can install it (I assume you mean the development libraries) with:
sudo apt-get install libfltk1.3-dev
If you do have a reason (i.e. you're a FLTK developer), you probably want one of the X libraries, I think libx11-dev:
sudo apt-get install libx11-dev
相关文章:
Linux命令make报错总结:http://www.linuxdiyf.com/linux/5191.html