72a2b69695
2) Fixed using/building WIIUSE on VS when created from cmake. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13417 178a84e3-b1eb-0310-8ba1-8eac791a3b58 |
||
---|---|---|
.. | ||
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.