e77dbf3d9f
It breaks versions with proper header file due to redeclaration error. You should simply use current 4.9 version or 5.0 and newer for wiimote support. |
||
---|---|---|
.. | ||
os_mac | ||
wiiuse | ||
classic.c | ||
classic.h | ||
CMakeLists.txt | ||
definitions_os.h | ||
definitions.h | ||
dynamics.c | ||
dynamics.h | ||
events.c | ||
events.h | ||
guitar_hero_3.c | ||
guitar_hero_3.h | ||
io.c | ||
io.h | ||
ir.c | ||
ir.h | ||
motion_plus.c | ||
motion_plus.h | ||
nunchuk.c | ||
nunchuk.h | ||
os_nix.c | ||
os_win.c | ||
os.h | ||
README | ||
util.c | ||
wiiboard.c | ||
wiiboard.h | ||
wiiuse_internal.h | ||
wiiuse_msvcstdint.h | ||
wiiuse.c | ||
wiiuse.h |
Windows ======= Compiling the wiiuse library requires installation of the windows driver development kit (DDT). While the wiiuse project is part of the windows STK solution, it is not compiled by default, instead the lib is linked from the dependency package (and output of the wiiuse project is in the dependency directory as well). Reason is that compiling this lib needs two hardcoded paths to be set, which are not portable (see properties of the wiiuse project, then Configuration, C/C++, General: Additional Include Directories): first the standard VS include path (!!), THEN the include path for the windows DDK. Without those settings in this order wiiuse can not be compiled (known problems when compiling ddk code with Visual Studio - google it). Also the path to the ddk must be set as additional library directory.