sudo apt-get install libfreeimage-dev
sudo apt-get install libfreeimage
编译安装地址
https://github.com/Kanma/FreeImage
This distribution use zlib and XMake as GIT submodules. To download them,do: $ git submodule init $ git submodule update It is recommended to compile the library in a separate folder. Here's how I do it: $ mkdir build $ cd build $ cmake .. $ make原文链接:https://www.f2er.com/ubuntu/353800.html