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