User Tools

Site Tools


cs501r_f2016:lab1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cs501r_f2016:lab1 [2017/09/07 11:46]
humphrey
cs501r_f2016:lab1 [2017/09/08 09:08] (current)
humphrey
Line 140: Line 140:
 </​code>​ </​code>​
  
-Here is a full setup for cairo in linux, which should be sufficiently similar to mac:+Here is a full setup for cairo in linux.
 <​code>​ <​code>​
-1. sudo apt-get install libcairo2-dev +sudo apt-get install libcairo2-dev 
-2. git clone https://​github.com/​pygobject/​pycairo.git +git clone https://​github.com/​pygobject/​pycairo.git 
-3. cd pycairo/ +cd pycairo/ 
-4. python setup.py build +python setup.py build 
-5. python setup.py install+python setup.py install 
 +</​code>​ 
 + 
 +Here is a setup for cairo in mac. 
 +<​code>​ 
 +brew install cairo --use-clang  
 +brew install py2cairo
 </​code>​ </​code>​
  
cs501r_f2016/lab1.txt · Last modified: 2017/09/08 09:08 by humphrey