Discover Packages
github.com/turutcrane/gencefingo
command
module
Version:
v0.0.9
Opens a new window with list of versions in this module.
Published: Oct 18, 2022
License: MIT
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
cefingo
This is experimental go binding generator for CEF.
Supported Environment
Windows 10 64bit (msys2 environment is recomended)
Supported Environment
Windows 10 64bit
msys2/mingw64
How to Generate Cefingo package
Download Spotify's Autobuild Image (windos 64bit)
https://cef-builds.spotifycdn.com/index.html#windows64
Expand it.
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
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
go install this (in msys2 mingw64 environment)
$ go install github.com/turutcrane/gencefingo@latest
make cefingo dir and go mod init (in msys2 mingw64 environment)
$ cd cefingo
$ go mod init gtihub.com/turutcrane/cefingo
generate cefingo package (in msys2 mingw64 environment)
$ cd cefingo-dir
$ gencefingo -pkgdir .
Example
https://github.com/turutcrane/cefingo-sample
Caution
Some functions and methods of cef has thread constraint. Any functions and methods generated by this package are not disable goroutine preemption. So thread error may be produced.
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 .
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
embed
internal
Click to show internal directories.
Click to hide internal directories.