Skip to content

pinke/cef2go-mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2021-03-02: fixed: cef_binary_88.2.9+g5c8711a+chromium-88.0.4324.182_windows64_minimal

	   step 1 :
	     download and unpack : https://cef-builds.spotifycdn.com/cef_binary_88.2.9%2Bg5c8711a%2Bchromium-88.0.4324.182_windows64.tar.bz2
	   step 2 :
	     copy src dir to  cef_binary_88.2.9+g5c8711a+chromium-88.0.4324.182_windows64_minimal/src
	   step 3 :	   
	     copy cef_binary_88.2.9+g5c8711a+chromium-88.0.4324.182_windows64_minimal/Resources/* to  cef_binary_88.2.9+g5c8711a+chromium-88.0.4324.182_windows64_minimal/Release/
	   step 4 :
	     run  src/build.cmd
	   end.

2021-03-01: fixed: go1.15.7 windows 386 (src/build32.cmd )

cef2go - HTML 5 based GUI toolkit for the Go language

cef2go is an open source project founded by [Czarek Tomczak] (http://www.linkedin.com/in/czarektomczak) in 2014 to provide Go bindings for the [Chromium Embedded Framework] (https://code.google.com/p/chromiumembedded/) (CEF). cef2go can act as a GUI toolkit, allowing you to create an HTML 5 based GUI in your application. Or you can just provide browser capabilities to your application.

Supported platforms: Windows (Linux should appear soon). For OS X see the go-cef project.

Currently the cef2go example creates just a simple window with the Chromium browser embedded. More advanced bindings are in plans, and that includes javascript bindings and callbacks, so that you can have bidirectional communication between Go and Javascript.

cef2go on Windows uses the CEF C API. There is also available the CEF C++ api and gccgo can link with C++ programs, but unfortunately gccgo is not available for Windows, see [Issue 12 - Go compiler frontend]. On Linux it would be a good idea to bind to the CEF C++ API using gccgo. There is also the gomingw project that could be used on Windows to bind to the C++ api. But it is marked as "experimental" and seems like it's not actively developed, the last release was two years ago.

cef2go is licensed under the BSD 3-clause license, see the LICENSE file.

Binary example

See the cef2go binary example for Windows, works out of the box: [cef2go-0.10-example.zip] (https://github.com/CzarekTomczak/cef2go/releases/download/v0.10/cef2go-0.10-example.zip)

Getting started on Windows

  1. Install mingw and add C:\MinGW\bin to PATH. You can install mingw using [mingw-get-setup.exe] (http://sourceforge.net/projects/mingw/files/Installer/). Select packages to install: "mingw-developer-toolkit", "mingw32-base", "msys-base". cef2go was tested and works fine with GCC 4.8.2. You can check gcc version with "gcc --version".

  2. Download CEF 3 branch 1750 revision 1590 binaries: [cef_binary_3.1750.1590_windows32.7z] (https://github.com/CzarekTomczak/cef2go/releases/download/cef3-b1750-r1590/cef_binary_3.1750.1590_windows32.7z)
    Copy Release/* to cef2go/Release
    Copy Resources/* to cef2go/Release

  3. Run build_win.bat

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published