Giter VIP home page Giter VIP logo

ofxcef's Introduction

ofxCEF

an attempt to get CEF working in openframeworks as an alternative to awesomium, berkelium, etc. More info on CEF wiki

oddities:

OSX and Xcode

we have some issues closing the app because of some awkwardness with autorelease pool (more info). Thus we do some tomfoolery in ofMain to init CEF before OF, and pass things around.

Also, because of how CEF works, you will need to compile the helper app first

image

then compile the demo app itself

image

Windows and Visual Studio

  • Copy the content of the Chromium Embedded Framework 3 Build package in the folder libs/CEF/win32. For details, see the ofxCEF-README.txt included in the folder libs/CEF/win32.
  • Add libcef_dll_wrapper.vcxproj and the ZERO_CHECK.vcxproj to your existing Visaul Studio solution.
  • Link against libcef.lib.
  • Make sure the addon files in src/, libs/CEF/win32/include and libs/CEF/win32 are in your include path.
  • Ensure libcef_dll_wrapper is a dependency of your own project (Project Name > Project Dependencies).
  • Ensure libcef_dll_wrapper is referenced by your project (Project Name > References > Add New Reference).
  • You may have to change the Runtime Library of the libcef_dll_wrapper.vcxproj (see screenshot below).

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.