Cairo Solution for Visual Studio 2015 - README
----------------------------------------------
Please read COPYING for license information. This readme file is for
describing the purpose and use of this solution. Solution is just a fancy
name for "a bunch of projects that might depend on each other" in VS.
What is cairo:
---------------------------------------
"Cairo is a 2D graphics library with support for multiple output devices."
http://cairographics.org/
What is pixman:
---------------------------------------
It is a library that cairo uses, but you can find out more about it on the
cairo website. It is included in the download section of cairo as a
separate package file.
Purpose of this solution:
---------------------------------------
This solution is for building 32bit/64bit pixman and cairo with Visual Studio
2015 without having to install scripting languages and shell environments
that emulate linux, that the original makefiles of cairo need even when
building cairo with Visual Studio under Windows.
How to compile:
---------------------------------------
Download the latest cairo and pixman sources from
http://cairographics.org/releases/
*Please note that this solution does not compile cairomm nor use it
for anything.
1. Unpack the cairo source files to the subfolder cairo and the
pixman sources to pixman
* The packages for cairo/pixman might contain the files inside a folder. If
you only see a folder at the root of the packages, and no makefiles, no
readmes no nothing, only extract the files from that folder and not the
folder itself.
2. Open projects\cairo.sln with visual studio. You can skip to the last
step if you don't need SVG or PNG etc. support, but need to work with
Win32 GDI "surfaces" (HDC) and the basic drawing functionality of cairo.
3.a Edit projects\cairo\src\cairo-features.h to change what
additional features you need, or comment out what you don't want. For
example if you don't need to work with win32 GDI "surfaces" (HDC) you can
comment out the define for CAIRO_HAS_WIN32_SURFACE.
*Please note that if you want some features you might have to supply zlib
and/or libpng and/or freetype beside pixman/cairo, just unzip it to the folders.
You will also need to compile static libs of those.
3.b The files for the unused features are included in the solution, but
disabled. Enable what you need in the Solution Explorer in VS by selecting
the files and right-click/properties and erase the "Yes" string from
"Excluded From Build".
4. If you want to create a DLL instead of the static libraries this solution
creates, you can change that in the project settings with the VS interface.
You might have to edit the cairo project properties and add additional
libraries and their paths if you use features that require it. If you need
help with that, please learn to use the user interface of Visual Studio.
* This solution creates static libraries with the platform toolset for
vs2015.
5. Compile and link the resulting static libraries (both cairo and pixman)
with your project. *
* When using cairo as a static library you will have to specify the
CAIRO_WIN32_STATIC_BUILD preprocessor directive in YOUR OWN PROJECT THAT
USES cairo, or define it before including the cairo header files.
Original project's sourceforge page at:
https://sourceforge.net/projects/cairosolutionvs2012

QQVQQ...
- 粉丝: 2078
最新资源
- 大模型(LLMs)算法工程师面试题及我的答案记录仓库
- 从零开始学大模型Transformer、GPT2、BERT pre-training and fine-tuning from scratch
- 开源智能体项目:支持 6 大聊天平台、Onebotv11 一对多连接、流式信息 agent、对话键盘气泡生成,支持 10 + 大模型接口且持续更新,可转换多模型接口为带上下文通用格式
- 该仓库主要记录 大模型(LLMs) 算法工程师相关的面试题与我写的答案
- 大数据平台架构下的模型管理与权限控制体系
- 开源的智能体项目 支持6种聊天平台 Onebotv11一对多连接 流式信息 agent 对话keyboard气泡生成 支持10+大模型接口(持续更新) 具有将多种大模型接口转化为带有上下文的通用格式的
- 针对复杂业务逻辑的Java实现系统,抽象出一套编程框架,借鉴领域模型的设计方法,使得开发体验更加环保、更加友好,大大提高代码的后期可维护性
- 大数据平台下模型管理与权限控制平台
- 《大语言模型》综述全书学习笔记
- 《大语言模型》综述全书的学习笔记整理
- log4j日志的监控系统,采用web形式展现各模块的运行状态,支持邮件短信报警,适用于一般企业大中型业务生成系统的监控;业务模块定时30秒采用json格式输出到文件
- log4j日志的监控系统,采用web形式展现各模块的运行状态,支持邮件短信报警,适用于一般企业大中型业务生成系统的监控;业务模块定时30秒采用json格式输出到文件
- 从 0 到 1 学用模块化等技术打造大型 Android 项目架构模式
- 基于 模块化+Kotlin+协程+Retrofit+Jetpack+MVVM 架构.能提供大家学习如何从0到1打造一个符合[大型Android项目的架构模式]
- txs0104e数据表(官方资料)
- 基于 模块化+Kotlin+协程+Retrofit+Jetpack+MVVM 架构.能提供大家学习如何从0到1打造一个符合[大型Android项目的架构模式]
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈


