objective c - Can't seem to compile chromium embedded framework on Mac -


trying compile chromium embedded framework on yosemite developer preview gives me few errors involving [nsapp setdelegate:self]; cefsimple_mac.mm error:

cefsimple_mac.mm:93:22: incompatible pointer types sending 'simpleappdelegate *' parameter of type 'id'

obviously not solution, commenting out provides more of these errors in code well.

i looked nsapp setdelegate in mac developer pre-release library, , seems no longer works intended in 10.10 (i don't want deprecated because going off of memory, , know crossed out).

does know of way fix this?

i haven't tried cef on 10.10, looks it's api change of nsapp in 10.10,

here similar issue in qt:

https://bugreports.qt-project.org/browse/qtbug-39644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

so fix maybe replacing

[nsapp setdelegate:self]

with

[[nsapplication sharedapplication] setdelegate:self];


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -