在 Debian 下,CxImage 并不是通过 apt 官方仓库直接提供的常见库(Debian 官方源里通常没有 cximage 这个包),所以一般需要从源码获取。
CxImage 最早的官方站点已经不太稳定,但常用的获取方式有:
SourceForge(较常用)
https://sourceforge.net/projects/cximage/
GitHub 镜像(推荐)
很多开发者把 CxImage 移植到了 GitHub,例如:
你可以直接:
git clone https://github.com/oscarbenito/cximage.git
在 Debian 上编译通常需要:
sudo apt update
sudo apt install build-essential
如果是 C++ 项目:
sudo apt install g++ make
windows.h 相关代码)。如果你愿意,我可以:
你打算用 CxImage 做什么?(读图 / 写图 / 格式转换)