-
Notifications
You must be signed in to change notification settings - Fork 647
Can't install #272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I thought I fixed this argh; will go back and fix it for real later |
@andlabs is there a work-around? The README's build instructions now just refer to |
I just tried to use go get on Mac OSX and it failed like so:
|
@serussell it's a problem with libui's build process in which I need to figure out why @mdejong upgrade to Go 1.10 or wait for 1.9.5 |
@andlabs Understood. Can you paste the build command (and arguments) in the meantime so we can build the project? |
I found that setting the following ENV var also worked around the build problem on MacOSX: export CGO_LDFLAGS_ALLOW=".*" |
@serussell I just do |
getting an error on OSX High Sierra 10.3.3 using Go 1.10 |
Again, the "invalid cgo flag" stuff is a Go 1.10 thing, because of a recent security vulnerability. @mdejong @SirNeural where did each of you get the The "was built for newer version" stuff is another libui build bug I thought I fixed already. |
Using ArchLinux here and the
tried to use all of the new CGO ALLOW vars with no success ( Go 1.10.1 is expected march 1st, hopefully it helps. |
Right, the issue the OP has has nothing to do with the cgo options whitelist. |
(sorry I missed relaying some info in the wee hours last night): I tried also setting Edit: well after looking at all this again I did it right finally; pulled down libui, cmake + make and copied the out/libui.a over ui's Maybe the release section of libui can have the .o and .a files as well and ui can just reference them? |
@andlabs, I tried to compile libui by myself, replacing
Is it possible, that current libui is not compatible with current ui? Which version is then? |
Yep, groan. Will need to update all the APIs :| |
Would you appreciate some helping hand? :) |
Er wait I reread, you are building libui from source, so I assume you are building it from master. master has breaking API changes. You'll need to build from one of the stable tarball releases. Sorry! |
You are right, thanks. Now I have a different problem - my program panics at the start, but it might not be a problem with (lib)ui. |
I'm getting this same error on debian 9, go 1.10. Is it best to build from source? Will try that now. |
go version go1.10 linux/amd64
libui 0.3.5.alpha-1
gcc 7.3.0
The text was updated successfully, but these errors were encountered: