cefingo

module
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2020 License: BSD-3-Clause, MIT

README

cefingo

This is experimental go binding for CEF.

Supported Environment

  • Windows 10 64bit (msys2 environment is recomended)

How to Start

  1. Download Spotify's Autobuild Image http://opensource.spotify.com/cefbuilds/cef_binary_73.1.11%2Bge6986dc%2Bchromium-73.0.3683.75_windows64.tar.bz2

    (CEF version scheme has been changed from CEF 73. So, latest code can not use with old cef library)

  2. Expand it.

  3. Copy library files and Resouce files to a Directory in PATH Envrironment Variable (eg. $GOPATH/bin).

    C:\> xcopy /e \path\to\expand_dir\Release \path\to\gopath\bin
    C:\> xcopy /e \path\to\expand_dir\Resources \path\to\gopath\bin
    
  4. create cefingo.pc file on PKG_CONFIG_PATH

    target=C:\\path\\to\\gopath\\bin
    libdir=${target}
    includedir=C:\\path\\to\\expand_dir
    
    Name: cefingo
    Version: 0.1
    Description: cefingo
    Cflags: -I${includedir}
    Libs: -L${libdir} -lcef
    
  5. go get this packages.

    C:\> go get github.com/turutcrane/cefingo/...
    

Example

https://github.com/turutcrane/cefingo-sample

License

This project is licensed under the MIT License.

This project quotes header files of the following third party libraries:

Thanks to https://github.com/cztomczak/cefcapi .

Directories

Path Synopsis
Code generated by "gen-cefingo.go" DO NOT EDIT.
Code generated by "gen-cefingo.go" DO NOT EDIT.
tools
gen-cefingo
cefingo go type generator for cef type with cef_base_ref_counted_t base member
cefingo go type generator for cef type with cef_base_ref_counted_t base member

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL