Problems with Wiiuse

I am attempting to program a Wii remote using the Wiiuse library written in C. I downloaded the Wiiuse library and copied the contents of the src folder to the example folder then tried to compile it, but when I do, the linker spits out a bunch of errors about undefined references

example.c:(.text+0x1d0): undefined reference to `__imp_wiiuse_motion_sensing'
example.c:(.text+0x210): undefined reference to `__imp_wiiuse_motion_sensing'
example.c:(.text+0x247): undefined reference to `__imp_wiiuse_toggle_rumble'
example.c:(.text+0x287): undefined reference to `__imp_wiiuse_set_ir'
example.c:(.text+0x2c7): undefined reference to `__imp_wiiuse_set_ir'
example.c:(.text+0x311): undefined reference to `__imp_wiiuse_set_motion_plus'
example.c:(.text+0x325): undefined reference to `__imp_wiiuse_set_motion_plus'
example.c:(.text+0x361): undefined reference to `__imp_wiiuse_set_motion_plus'
example.c:(.text+0x11c0): undefined reference to `__imp_wiiuse_init'
example.c:(.text+0x11df): undefined reference to `__imp_wiiuse_find'
example.c:(.text+0x1213): undefined reference to `__imp_wiiuse_connect'
example.c:(.text+0x124f): undefined reference to `__imp_wiiuse_set_leds'
example.c:(.text+0x126b): undefined reference to `__imp_wiiuse_set_leds'
example.c:(.text+0x1287): undefined reference to `__imp_wiiuse_set_leds'
example.c:(.text+0x12a3): undefined reference to `__imp_wiiuse_set_leds'
example.c:(.text+0x12bb): undefined reference to `__imp_wiiuse_rumble'
example.c:(.text+0x12d7): undefined reference to `__imp_wiiuse_rumble'
example.c:(.text+0x12fd): undefined reference to `__imp_wiiuse_rumble'
example.c:(.text+0x1319): undefined reference to `__imp_wiiuse_rumble'
example.c:(.text+0x1391): undefined reference to `__imp_wiiuse_poll'
example.c:(.text+0x152d): undefined reference to `__imp_wiiuse_cleanup'
C:\Users\Joshua\Downloads\wiiuse-master\example\collect2.exe [Error] ld returned 1 exit status

I am using the Dev-C++ IDE with the MingW compiler.

Wiiuse - http://mission-cognition.houseoftechnology.org/projects/wiiusecppandpywii
Topic archived. No new replies allowed.