jteeuwen/glfw — Issue #4: Glfw doesn't compile with weekly.2012-02-22
Author: Agon
Created: 2012-02-23 14:46:59+00:00
State: open

Hello,

with the newest weekly (weekly.2012-02-22) go get github.com/jteeuwen/glfw gives the following error:
# github.com/jteeuwen/glfw
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/callback.cgo2.o: In function `setWindowSizeCB':
jteeuwen/glfw/callback.go:18: multiple definition of `setWindowSizeCB'
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/_cgo_export.o:/home/marcel/src/github.com/jteeuwen/glfw/callback.go:18: first defined here
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/callback.cgo2.o: In function `setWindowCloseCB':
jteeuwen/glfw/callback.go:19: multiple definition of `setWindowCloseCB'
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/_cgo_export.o:/home/marcel/src/github.com/jteeuwen/glfw/callback.go:19: first defined here
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/callback.cgo2.o: In function `setWindowRefreshCB':
jteeuwen/glfw/callback.go:20: multiple definition of `setWindowRefreshCB'
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/_cgo_export.o:/home/marcel/src/github.com/jteeuwen/glfw/callback.go:20: first defined here
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/callback.cgo2.o: In function `setMouseButtonCB':
jteeuwen/glfw/callback.go:21: multiple definition of `setMouseButtonCB'
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/_cgo_export.o:/home/marcel/src/github.com/jteeuwen/glfw/callback.go:21: first defined here
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/callback.cgo2.o: In function `setMousePosCB':
jteeuwen/glfw/callback.go:22: multiple definition of `setMousePosCB'
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/_cgo_export.o:/home/marcel/src/github.com/jteeuwen/glfw/callback.go:22: first defined here
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/callback.cgo2.o: In function `setMouseWheelCB':
jteeuwen/glfw/callback.go:23: multiple definition of `setMouseWheelCB'
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/_cgo_export.o:/home/marcel/src/github.com/jteeuwen/glfw/callback.go:23: first defined here
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/callback.cgo2.o: In function `setKeyCB':
jteeuwen/glfw/callback.go:24: multiple definition of `setKeyCB'
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/_cgo_export.o:/home/marcel/src/github.com/jteeuwen/glfw/callback.go:24: first defined here
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/callback.cgo2.o: In function `setCharCB':
jteeuwen/glfw/callback.go:25: multiple definition of `setCharCB'
/tmp/go-build725844491/github.com/jteeuwen/glfw/_obj/_cgo_export.o:/home/marcel/src/github.com/jteeuwen/glfw/callback.go:25: first defined here
collect2: ld returned 1 exit status

I am using glfw 2.7.2 , I can't get 2.7.3 installed at the moment. But I think it is anyway related to the new weekly.