FLTK(fulltick)安装中make报错

  在我的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:

Code:

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:

Code:

sudo apt-get install libx11-dev


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章