-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
TCOD_sys_set_keyboard_repeat and TCOD_sys_disable_keyboard_repeat were removed in version 1.6.2 due to the removal of SDL1 support.
This therefore breaks your bindings when used against the latest version of libtcod.
There is no other API breaks that I can see, so removing those bindings may make it work with the latest version?
When attempting to go get the current version:
simon@golang-dev:~/libtcod/build/autotools$ go get github.com/afolmert/libtcod-go/tcod
# github.com/afolmert/libtcod-go/tcod
/tmp/go-build439497172/github.com/afolmert/libtcod-go/tcod/_obj/tcod.cgo2.o: In function `_cgo_c32c775d42f7_Cfunc_TCOD_console_disable_keyboard_repeat':
../../../go/src/github.com/afolmert/libtcod-go/tcod/cgo-gcc-prolog:448: undefined reference to `TCOD_console_disable_keyboard_repeat'
/tmp/go-build439497172/github.com/afolmert/libtcod-go/tcod/_obj/tcod.cgo2.o: In function `_cgo_c32c775d42f7_Cfunc_TCOD_console_set_keyboard_repeat':
../../../go/src/github.com/afolmert/libtcod-go/tcod/cgo-gcc-prolog:1053: undefined reference to `TCOD_console_set_keyboard_repeat'
collect2: error: ld returned 1 exit status
I forked and removed the undefined references and go get completed without error, but it looks as though the API has changed enough that a fair bit of work is needed to update the bindings. Oh well.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels