[PATCH 1/2] winemac: Use CVDisplayLink to limit window redrawing to the display refresh rate.

Ken Thomases ken at codeweavers.com
Fri Nov 6 05:11:15 CST 2015


Hi,

On Nov 6, 2015, at 3:20 AM, Huw Davies <huw at codeweavers.com> wrote:
> 
> This doesn't build for me on 10.7:
> 
> gcc -m32 -c -o cocoa_window.o cocoa_window.m -I. -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe \
>  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes \
>  -Wwrite-strings -Wpointer-arith -gdwarf-2 -fno-omit-frame-pointer -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
> cocoa_window.m:161: error: expected specifier-qualifier-list before ‘CVDisplayLinkRef’
>

Hmm.  Does it work if you add #import <CoreVideo/CoreVideo.h> to the imports at the top of cocoa_window.m or, there are still issues, to cocoa_window.h?

Thanks for checking!

-Ken




More information about the wine-devel mailing list