c++ - How to compile with FLTK under Ubuntu -


i using code:blocks under ubuntu 12.04 lts. attempting compile first program using fltk , following errors.

linking console executable: bin/debug/<project name removed security reasons> /usr/bin/ld: cannot find -lxft /usr/bin/ld: cannot find -lfontconfig /usr/bin/ld: cannot find -lfontconfig /usr/bin/ld: cannot find -lxinerama collect2: ld returned 1 exit status process terminated status 1 (0 minutes, 0 seconds) 4 errors, 0 warnings 

is there else need install, or path need add?

the dev version of libraries used fltk might missing http://packages.ubuntu.com/precise/libfltk1.3 .

you can use apt-get install them : libxft-dev, libfontconfig1-dev , libxinerama-dev.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -

jquery - Keeping Kendo Datepicker in min/max range -