gencefingo

command module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

  1. Download Spotify's Autobuild Image (windos 64bit)

    https://cef-builds.spotifycdn.com/index.html#windows64

  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 install this (in msys2 mingw64 environment)

    $ go install github.com/turutcrane/gencefingo@latest
    
  6. make cefingo dir and go mod init (in msys2 mingw64 environment)

    $ cd cefingo
    $ go mod init gtihub.com/turutcrane/cefingo
    
  7. 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 .

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
embed
cef
internal
log

Jump to

Keyboard shortcuts

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