Skip to content

Instantly share code, notes, and snippets.

@talltyler
Created September 17, 2013 21:27
Show Gist options
  • Save talltyler/6a40196d0d91fdf7e7cf to your computer and use it in GitHub Desktop.
Save talltyler/6a40196d0d91fdf7e7cf to your computer and use it in GitHub Desktop.
$ go build
# github.com/go-gl/glfw3
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/input.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwJoystickPresent':
./input.go:154: undefined reference to `glfwJoystickPresent'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/input.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwGetJoystickName':
./input.go:116: undefined reference to `glfwGetJoystickName'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/input.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwGetJoystickAxes':
./input.go:93: undefined reference to `glfwGetJoystickAxes'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/monitor.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwSetMonitorCallback':
./monitor.go:190: undefined reference to `glfwSetMonitorCallback'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/monitor.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwGetVideoMode':
./monitor.go:148: undefined reference to `glfwGetVideoMode'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/monitor.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwGetPrimaryMonitor':
./monitor.go:138: undefined reference to `glfwGetPrimaryMonitor'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/monitor.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwGetMonitors':
./monitor.go:129: undefined reference to `glfwGetMonitors'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/monitor.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwGetMonitorName':
./monitor.go:97: undefined reference to `glfwGetMonitorName'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/monitor.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwGetMonitorPos':
./monitor.go:119: undefined reference to `glfwGetMonitorPos'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/monitor.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwGetMonitorPhysicalSize':
./monitor.go:108: undefined reference to `glfwGetMonitorPhysicalSize'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/window.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwWindowShouldClose':
./window.go:397: undefined reference to `glfwWindowShouldClose'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/window.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwSetWindowPosCallback':
./window.go:267: undefined reference to `glfwSetWindowPosCallback'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/window.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwSetFramebufferSizeCallback':
./window.go:176: undefined reference to `glfwSetFramebufferSizeCallback'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/window.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwGetWindowMonitor':
./window.go:97: undefined reference to `glfwGetWindowMonitor'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/window.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwGetWindowAttrib':
./window.go:87: undefined reference to `glfwGetWindowAttrib'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/window.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwShowWindow':
./window.go:367: undefined reference to `glfwShowWindow'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/window.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwSetWindowShouldClose':
./window.go:307: undefined reference to `glfwSetWindowShouldClose'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/window.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwHideWindow':
./window.go:138: undefined reference to `glfwHideWindow'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/window.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwGetFramebufferSize':
./window.go:74: undefined reference to `glfwGetFramebufferSize'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/window.cgo2.o: In function `_cgo_a32721f19f89_Cfunc_glfwDefaultWindowHints':
./window.go:54: undefined reference to `glfwDefaultWindowHints'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/monitor.o: In function `glfwSetMonitorCallbackCB':
./monitor.c:16: undefined reference to `glfwSetMonitorCallback'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/window.o: In function `glfwSetFramebufferSizeCallbackCB':
./window.c:40: undefined reference to `glfwSetFramebufferSizeCallback'
/tmp/go-build023201376/github.com/go-gl/glfw3/_obj/window.o: In function `glfwSetWindowPosCallbackCB':
./window.c:32: undefined reference to `glfwSetWindowPosCallback'
collect2: ld returned 1 exit status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment