-
Notifications
You must be signed in to change notification settings - Fork 1
Build error #1
Comments
I'm running into this:
|
This can be solved by enabling those flags in the environment: You may also need to statically set the SDK binary path for correct detection: |
I can't be certain, but I believe the issue is due to an old version of GCC. Updating to GCC-8+ should work. |
This helped a little bit but now I get: prologic@Jamess-MacBook
Wed Jan 22 21:53:42
~/Projects/ubrowser
0
$ CGO_CFLAGS="-I /Users/prologic/tmp/ultralight/include" go build
# github.com/raff/ultralight-go
../../go/pkg/mod/github.com/raff/ultralight-go@v0.0.0-20190620222822-d2efebcfd598/ultralight.go:378:50: could not determine kind of name for C.kWindowFlags_Maximizable
../../go/pkg/mod/github.com/raff/ultralight-go@v0.0.0-20190620222822-d2efebcfd598/ultralight.go:378:25: could not determine kind of name for C.kWindowFlags_Resizable
../../go/pkg/mod/github.com/raff/ultralight-go@v0.0.0-20190620222822-d2efebcfd598/ultralight.go:378:3: could not determine kind of name for C.kWindowFlags_Titled I don't know what any of this means at the moment... But I'll keep poking around... |
The later issues are due to an update method signature in the v1.1 SDK. A patch is coming shortly |
Hello, when I try to build any of the examples I get this error:
Version:
go version go1.13.4 linux/amd64
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
Ubuntu 16.04.6 LTS
The text was updated successfully, but these errors were encountered: