Skip to content
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

go get failed #8

Open
StephaneBunel opened this issue Jan 27, 2020 · 1 comment
Open

go get failed #8

StephaneBunel opened this issue Jan 27, 2020 · 1 comment
Assignees

Comments

@StephaneBunel
Copy link

From ubuntu 18.04 LTS:

$ apt-get install libglfw3-dev
$ go get github.com/esimov/diagram

# github.com/esimov/diagram/vendor/github.com/go-gl/glfw/v3.2/glfw
In file included from code/golang/gopath/src/github.com/esimov/diagram/vendor/github.com/go-gl/glfw/v3.2/glfw/c_glfw_linbsd.go:22:0:
code/golang/gopath/src/github.com/esimov/diagram/vendor/github.com/go-gl/glfw/v3.2/glfw/glfw/src/linux_joystick.c: In function ‘_glfwInitJoysticksLinux’:
code/golang/gopath/src/github.com/esimov/diagram/vendor/github.com/go-gl/glfw/v3.2/glfw/glfw/src/linux_joystick.c:224:42: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 9 [-Wformat-truncation=]
             snprintf(path, sizeof(path), "%s/%s", dirname, entry->d_name);
                                          ^~~~~~~
In file included from /usr/include/stdio.h:862:0,
                 from /usr/include/X11/Xcursor/Xcursor.h:26,
                 from code/golang/gopath/src/github.com/esimov/diagram/vendor/github.com/go-gl/glfw/v3.2/glfw/glfw/src/x11_platform.h:39,
                 from code/golang/gopath/src/github.com/esimov/diagram/vendor/github.com/go-gl/glfw/v3.2/glfw/glfw/src/internal.h:169,
                 from code/golang/gopath/src/github.com/esimov/diagram/vendor/github.com/go-gl/glfw/v3.2/glfw/glfw/src/x11_init.c:28,
                 from code/golang/gopath/src/github.com/esimov/diagram/vendor/github.com/go-gl/glfw/v3.2/glfw/c_glfw_linbsd.go:17:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 12 and 267 bytes into a destination of size 20
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@esimov esimov self-assigned this Jan 28, 2020
@esimov
Copy link
Owner

esimov commented Jan 28, 2020

Maybe it's related to this issue #7. The truth is I haven't tested on Ubuntu 18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants