-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hello, I'm trying to write a linc lib for libstem_gamepad because most of the current haxe gamepad libraries are somewhat lacking.
I downloaded the linc empty project and got it all set-up, then renamed everything. But I'm having some trouble when it comes actually interacting with the C library. This is my first time trying to do any extern stuff in haxe, so I've probably made some stupid newbie mistakes. Would someone mind taking a quick look at it and telling me what I'm doing wrong?
Repo is at https://github.com/BluShine/linc_stempad
Here's some of the errors I'm getting when I try to compile build.hxml
Creating library Test.lib and object Test.exp
fd282d4a_Test.obj : error LNK2019: unresolved external symbol _Gamepad_init referenced in function "public: static class null __cdecl Test_obj::main(void)" (?main@Test_obj@@SA?AVnull@@XZ)
fd282d4a_Test.obj : error LNK2019: unresolved external symbol _Gamepad_shutdown referenced in function "public: static class null __cdecl Test_obj::main(void)" (?main@Test_obj@@SA?AVnull@@XZ)
fd282d4a_Test.obj : error LNK2019: unresolved external symbol _Gamepad_numDevices referenced in function "public: static class null __cdecl Test_obj::main(void)" (?main@Test_obj@@SA?AVnull@@XZ)
Test.exe : fatal error LNK1120: 3 unresolved externals
Metadata
Metadata
Assignees
Labels
No labels