- UID
- 2
- 积分
- 8682
- 帖子
- 2905
- 主题
- 199
- 论坛币
- 11740
- 威望
- 16
- EP值
- 2349
- MP值
- 15
- 阅读权限
- 200
- 注册时间
- 2011-8-3
- 在线时间
- 2597 小时
- 最后登录
- 2024-8-28
|
To compile PythonMagick, you need
Python
Boost Python
ImageMagick
then you can make a win32 dll project, include all the PythonMagick source code. or simply use bjam.
build ImageMagick
http://www.imagemagick.org/scrip ... ws-installation.php- // Visual C++ does not define ssize_t by default.
- #if !defined(__MINGW32__)
- #if defined(_WIN64)
- typedef __int64 ssize_t;
- #else
- typedef long ssize_t;
- // change to
- typedef __w64 int ssize_t;
- // for compatible with pyconfig.h
- #endif
- #endif
复制代码 in Image.h modify the "= borderGeometryDefault" to the explicit const char *value. etc. (Note, for the latest ImageMagick, we needn't do this)
build Boost Python
http://www.boost.org/doc/libs/1_ ... n/doc/building.html
build PythonMagick
use bjam
|
|