Comments (7)
@emead which example were you running? Or was it the example from the readme? (If from the readme, could you post your entire go source here?)
from gallium.
Using the example from the readme:
package main
import (
"os"
"runtime"
"github.com/alexflint/gallium"
)
func main() {
runtime.LockOSThread() // must be the first statement in main - see below
gallium.Loop(os.Args, onReady) // must be called from main function
}
func onReady(app *gallium.App) {
app.NewWindow("http://example.com/", "Window title!")
}
However, I have since pulled the latest changes to Gallium and now get this error:
app.NewWindow undefined (type *gallium.App has no field or method NewWindow)
Can the readme please be updated with a valid example?
from gallium.
I think that the error I had was probably the same as the one raised here: #23
from gallium.
So are these warnings critical?
I am also getting broken kqueue warnings on Mac Sierra but the application still appears to work fine as far as I can tell. I am using the latest version of Gallium and I have tried rebuilding libevent as was recommended on a few other Github projects yet I still see these warnings:
=== gallium.Loop ===
in GalliumLoop
calling content::ContentMain...
MainDelegate::BasicStartupComplete
MainDelegate::PreSandboxStartup
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
at GalliumOpenWindow
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
at GalliumOpenWindowImpl
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
2017/01/01 12:56:24 about clicked
from gallium.
@Virtual-Machine those warnings can be safely ignored. If you figure out how to silence/fix them, please let me know!
from gallium.
@emead readme is fixed now. Closing this issue as I have not been able to reproduce this failure on Sierra. Please reopen if you have further problems.
from gallium.
from gallium.
Related Issues (20)
- Build MSI for Windows
- Screen Capture HOT 2
- Form text inputs not responding in go run HOT 2
- Trouble installing: "could not determine kind of name for C.CBytes" HOT 2
- example/controller: after "Miniaturize" & restore, screen is blank HOT 1
- Gallium, file was built for unsupported file format HOT 5
- Is gallium not being actively worked on - as of 2017 HOT 2
- Add more video codecs to chromium layer HOT 3
- what is the status of this project? dead or live? HOT 6
- Breach and Thrust??
- Platform in background?
- LSOpenURLsWithRole() failed with error -10810 HOT 2
- what time will support windows? HOT 1
- Run Quickstart Error HOT 1
- gcc: error: unrecognized command line option '-mmacosx-version-min=10.8' HOT 1
- How does one build gallium from libchromiumcontent
- browser shortcuts and keybinding events are not working properly
- MacOS Termination Reason: DYLD, [0x1] Library missing HOT 7
- installation problem HOT 1
- go get error HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gallium.