Embedded browser in openframeworks Windows VS

Hi all,

I am working on embedding a browser into an OF app, which seems a smart way of integrating the layout possibilities of HTML in an OF-powered app. I searched for quite long, and like to share my experience. I hope you people do share yours:
(All is windows VS, which is a requirement for me I am afraid)

  • ofxAwesomiumPlus was quite easy to include. It works rather well and seems stable. Big drawback of using Awesomium is that the webpage of Awesomium is gone for quite a while. Wiki still exists, but I do not know if Awesomium is still maintained. Some people say it’s dead? Anyone knows hard facts?
    Also, as far as I know there is no 64 bit version.
  • ofxCef. I found some quite up to date forks namely [rjx-ray/ofxCef] (https://github.com/rjx-ray/ofxCef) and Echolaitoc/ofxCef. I was able to compile the latter in windows with 64 bit. For explanation look into addons\ofxCef\libs\CEF\ofxCEF-README.txt or see this post (Thanks Echolaitoc!). Still have issues with crahes when using text fields. Does not sem reday for production.
  • There seems to be a WinCairo port of webKit. Did not manage to get it to work it yet. I’ll report back, if I proceed.
  • There also seems to be a possibility of including a (windows specific? possible for windows >8?) XAML web view in C++. Did not manage to get it to work it yet. I’ll report back, if I proceed.

Do I miss something? Does anyone have some own experience? Please share!
Any hints would be most appreciated.

Thanks all & have a great day


Can’t edit the post itself, don’t know why. Anyway:
It seems like Ultralight , the successor of Awesomium is out. I try it out, try to implement it in an OF App and in case all goes well I might come back for help in developing an add-on…


1 Like

Hi dasoe

What is the current status/findings getting Ultralight up and running?
Is there a git available that we can contribute to?


Hi, with git repo do you mean https://github.com/ultralight-ux/ultralight ?

I’m dreaming about a ofxUltralight repo :wink:


Hi all,

status is: successfully included ultralight in an OF App and compiled for windows. Very basic, though, only in the background, included directly (no Addon) and most of all no drawing of the browser yet!
Why?: At the moment I am waiting for next ultralight release, which is said to make getting the pixels much easier. The next release is announced quite a while and is obviously taking longer than expected, still I don’t like to put effort in something that will be completely unnecessary soon and probably be solved much better than I can do it.

As soon as I get an example running (drawing included), I’ll post the repo of my project. OK for you?
From this it will be still a long way to ofxUltralight. But of course this is what we are looking for!

have a great day


Hi @dasoe!

Sounds really interesting! Do you note the ETA with the new Ultralight version? Would love to see the repo as well!


Hi all,

Don’t get excited please, as it does not work at all, but:
I opened a repo so that we maybe can work together:

I included a Readme describing what’s happening (actually: where I am stuck). But please feel free to ask (maybe best here?) at any time. I can not make this highest priority but I try to answer regularly.

have a great day!

P.S.: Hi faaip, probably a silly question, but what it is ETA?

1 Like

Hey @dasoe, ETA means “Estimated Time of Arrival” – @faaip is asking if the Ultralight team has announced approximately when the new version will be released.

I am also very interested in making ultralight work with oF. Specifically, I am trying to make a GPUDriver called GPUDriverOF that takes advantage of all of the oF stuff.

Do you know specifically what the new release will offer?

Hi jefftimesten!

first to your question (asked long time ago, sorry!): I am not really able to follow the releases and features. Problem is: people there are working with slack, which is hell for everybody but the bleeding edge crowd.

I have to admit that I am constantly failing to get it to work. The Driver/Platform/Renderer/View-Connections are actually a bit over my head. It’s very easy to use ultralight out of the box, it does everything for you. I don’t want it to do everything for me (as OF does a lot for us), hence it’s getting complicated. There is a nice example of including ultralight in a GL Window:

… but it is using glad, which is good for ultralight but interferes with OFs glew.

So at the moment I need new input from outside. Did your GPUDriverOF by any chance progess?

have a good day!

Unfortunately I also got stuck and moved onto another solution. It’s a shame - this would be nice to have. Maybe someday, someone will crack the code.

looks promising

1 Like

Hi all,

I just updated the Repo to actual Ultralight (which changed quite a bit):

I posted it on Ultralight Slack channel and hope the pros there tune in to help get it working (which unfortunately seems to be over my head). Everybody interested in this addon please got to Slack channel and support my post.

have a great day!


hey @dasoe, nice news!
I generated the example project with project generator, macOS here, an I am getting this errors:

sorry i forget to compile de lib. I compiled like the info:

mkdir build
cd build
cmake ..
cmake --build . --config Release

I double click but nothing happens, can’t open the app: /openFrameworks/addons/ofxultralight/libs/ultralight/build/samples/Browser/Browser.app

some weeks ago it happened the same when tried the original repo… I reported the issue here:

Not sure if could be something related to this requeriments:

  • CMake 2.8.12 or later
  • Compiler with C++11 or later
    I have this detected version:
$ llvm-gcc -v
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
$ xcodebuild -version
Xcode 9.2
Build version 9C40b
$cmake --version
cmake version 3.14.0

MacOS Sierra 10.12.6

Nevermind, no worries. I’ll stay here looking how is evolving :slight_smile: good luck

Hi moebiussurfing,

yeeees, I’ve seen your post there!
I did not try Mac yet. As soon as I feel my feet on safe ground, I will try - but for now, I try to reduce as much additional complications as I can. If projects keeps on stalling and I find some time I’ll try on my machine, but I can’t promise.

Anyway seems we have 2 Problems here. Getting Utralight to run on Mac (what you posted) and the Inclusion in OF. For the first, I fear we’ll have to wait for some help from their side and we should maybe not try to solve it here in OF forum.
For the second: any reaction to my post on their slack channel might be helpful to push them…

Crossing fingers:

Finally some news on this topic.

Please check this awesome work of IanByun who provided an addon with basic functionalities that actually just works: https://github.com/IanByun/ofxUltralight-byun
I just managed to get ultralight running with it. (Beginners please check my pull request for some additional remarks in README).

I think we now have a basis we can work with. I hope people will join in to maybe extend it and make it cross platform.


1 Like

Good News.

With the release of the most inspiring Ultralight 1.2 a few days ago, implementation of Ultralight in other Apps has become much easier. So I wrote this addon from scratch

Idea is to embed a browser into an OF app, which seems a smart way of integrating the layout possibilities of HTML in an OF-powered app. Be it for content or a heavily layouted GUI.
The addon is only a first start, but this time it feels stable and I am confident to use it soon in a production project.

Have a great day!