CGContextCopyPath function missing in Leopard

Riccardo Mottola riccardo.mottola at
Sun Feb 17 21:33:26 UTC 2019


I am trying to port ArcticFox to 10.5 Leopard.

I get this error:

52:30.98 /Users/multix/code/Arctic-Fox/gfx/2d/PathCG.cpp:313:21: 
error: use of undeclared identifier 'CGContextCopyPath'; did you mean 
52:30.98   CGPathRef sPath = CGContextCopyPath(cg);

However, according to documentation, this function should exist since 
10.2, it is very old!:

I tried to look, I find it inside the libary:

Binary file 

but not in the headers!

Any of you has seen something like that? Could this be an error in my 
headers, the library being missing?

I tried some googling, but didn't find anything.


More information about the macports-users mailing list