This is a fork of https://github.com/CzarekTomczak/cef2go/.
@CzarekTomczak has done a ton of amazing work in wrapping Chromium Embedded Framework in Go and making it cross platform. If you're interested in cross platform CEF please visit the main repo.
@paperlesspost has made the Specifically:
- Are only running in Linux
- Want/need to use cef2go as a pkg from another project
- Use offscreen rendering and render handlers
- Want callbacks from JS into Go
- This fork has also only been tested on Windows.
- Want callbacks from JS into Go
- Want JS calls go method
- Make sure you have installed windows-386 version of Go (for example: 1.3.3)
- Install mingw and add C:\MinGW\bin to PATH. You can install mingw using mingw-get-setup.exe. Select packages to install: "mingw-developer-toolkit", "mingw32-base", "msys-base". CEF2go was tested and works fine with GCC 4.8.1. You can check gcc version with "gcc --version".
- Download CEF 3 branch 1750 revision 1590 binaries: cef_binary_3.1750.1590_windows32.7z Copy Release/* to cef2go/Release Copy Resources/* to cef2go/Release
- Download gtk+ gtk+-bundle_2.24.10-20120208_win32.zip and extract to C;\gtk+-bundle_2.24.10-20120208_win32 Adding C:\gtk+-bundle_2.24.10-20120208_win32\lib\pkgconfig\bin to PATH environment variable Adding PKG_CONFIG_PATH environment variable (C:\gtk+-bundle_2.24.10-20120208_win32\lib\pkgconfig)
- Install Go package [github.com/op/go-logging] go get github.com/op/go-logging
- Run build.bat (With no console window run [build.bat noconsole])
Author email: 529808348@qq.com