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
Post a Comment