Skip to content

bombless/cef2go

 
 

Repository files navigation

nvsoft/cef2go

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

  • This fork has also only been tested on Windows.
  • Want callbacks from JS into Go
  • Want JS calls go method

How to build on Windows platform (Win7 32/64-bit).

  1. Make sure you have installed windows-386 version of Go (for example: 1.3.3)
  2. 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".
  3. 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
  4. 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)
  5. Install Go package [github.com/op/go-logging] go get github.com/op/go-logging
  6. Run build.bat (With no console window run [build.bat noconsole])

About:

Author email: 529808348@qq.com

About

CEF2go is an HTML 5 based GUI toolkit for the Go language.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors