CxImage类是一个优秀的图像操作类库。它可以快捷地存取、显示、转换各种图像。相比于OpenIL,FreeImage,PaintLib等其他图像处理库,CxImage类库是完全免费、开源的。另外这是一个典型的MFC风格C++类库,估计最早就是在MFC上开发的吧,后续才移植到Linux上。
最近项目需要,以前在Windows客户端上用Cximage进行的图片处理,要移植到Linux服务端,因此尝试在Linux上编译和使用Cximage。中间遇到不少问题,特记录如下。
1、 下载Linux的cximage tar包
cximage 主页
http://www.xdp.it/cximage.htm
Linux 包下载地址
http://www.xdp.it/cgi-bin/dl.pl?cximage/cximage599c_tar
2、下载后得到cximage599c_tar.zip,然后将其解压
unzip cximage599c_tar.zip
tar xzvf cximage599c.tar.gz
cd cximage599c/
3、
./configure; make
其中make时报错:
cd . && /home/zhl/cximage599c/admin/missing aclocal-1.4
WARNING: `aclocal-1.4' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for furthe