Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for OS X. #2

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Fixes for OS X. #2

wants to merge 6 commits into from

Conversation

VENTDEV
Copy link

@VENTDEV VENTDEV commented Jan 5, 2019

Luckily most of the code for OSX works out of the box. My issue was with the xcode project setup files. In my case, the helper program was set up in xcode as an "app bundle". Newer versions of xcode will apply code signing. My main program was not code signed. This resulted in the system rejecting and denying the sub-process helper program from running. My fix was to make the helper a command line program in xcode (same as my main program). And poof, magically it worked.

Since there is some additional stuff needed for the main and helper. I went ahead with this pull request for the code. I did not use the cmake as this went in a preexisting project. So I didn't do any editing to it. I am sure the cmake will need to be altered. Both projects are linked to the wrapper.a and sandbox.a files. Files are laid out in the predefined method as recommended by CEF.

CEF headers require the include folder in the names. So I went ahead and used them in the example, thus requiring one less header search path. I also replaced all the individual headers for Ogre with the main one, you may want to revert that and figure out which ones are missing with the recent changes in 1.10+.

I have had to make some changes to get CEF working with OSX. However, OSX does not call OnPaint().
Was used to show folks over at CEF forums the layout of the .app.
@qwertzui11
Copy link
Owner

awesome thx. I'll look into the cmake support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants