User Tools

Site Tools



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]
cs501r_f2016:lab1 [2017/09/08 09:08] (current)
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://​​pygobject/​pycairo.git +git clone https://​​pygobject/​pycairo.git 
-3. cd pycairo/ +cd pycairo/ 
-4. python build +python build 
-5. python install+python install 
 +Here is a setup for cairo in mac. 
 +brew install cairo --use-clang  
 +brew install py2cairo
 </​code>​ </​code>​
cs501r_f2016/lab1.txt · Last modified: 2017/09/08 09:08 by humphrey