Hi,
Ok you will find a compilation of several mails I already sent to developers.
The library is too much dependent on other libs so you will have to compile fWIIne, I’m afraid. (to skip item nr 2)
Hope it will work for you, too !
Wiilliam
(special thanks to Kevin !)1. First, a little check-list before configuration :
WindowsXP.............……………. []
Matlab r2007a.........……………. [] (r2007b and latest versions work properly, too)
Microsoft Visual Studio 2005....…[] (Visual Studio 8 or latest versions, too)
Bluetooth communication....……. [] (can be easily tested with GlovePie scripts)
2. Then, you will find a list of some “usual” issues :
a. First, have the look at the section "3. Troubleshooting with fWIIne.mexw32 and Matlab for WinXP" of the following post :
http://fwiineur.blogspot.com/2009/02/fwiine-v03-workaround-for-spectrogram.htmlb. You’ve got the following error message "This application has failed to start because the application configuration is incorrect."
In my opinion, the problem comes from Microsoft VS runtime libraries :
- This error has already been detected by other users. See :
http://fwiineur.blogspot.com/2008/05/fwiine-release-02-is-available-english.html- But you said me that MS visual studio 8 (2005) was already installed. So my suggestion is to check, before, the folder "C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT" as the same as :
http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/66bc8cab-c134-49a8-85e5-37ca9efbdeb4/c. Unfortunately, some failures can occur at this step (as for example, The folder "C:\Program Files\Microsoft Visual Studio 8\VC" may be necessary)
That’s why, a C++ compilation is suggested to solve the problem, definitely.
3. Building library fWIIne.mexw32Usually, some additionnal libraries would be necessary. The release note may help you :
http://fwiineur.blogspot.com/2008/06/release-note- manual-for-fwiine-v02.html(the release note for V0.3 is not currently available. Anyway, the link above will give you the needed libraries)

(folder structure and .sln solution file for visual studio)
To summarize the build process : You will have to build the library wiiuse.lib before building fWIIne.mexw32. Several files (hidsdi.h…) from the Microsoft toolkit are needed so you will have to make some modifications.
You need some libraries from the Windows Driver Development Kit (
http://www.microsoft.com/whdc/devtools/ddk/default.mspx) to compile wiiuse.lib.
Either you download the development kit or you configure the following folders with the files from the directory "dependencies" (try quickly the second solution but in my opinion you will have to chose the first one) :
a. wiiuse sub-project : Additionnal include directories -> see "1.include_library_update.JPG"

(wiiuse sub-project - Properties prt 1)
b. wiiuse sub- project : Additionnal library directories -> see "2.library_directory_update.JPG"

(wiiuse sub-project - Properties prt 2)
At this step, you can try to clean and re-build the sub-project wiiuse in order to check the compilation worked properly :

(clean and build the sub-project)
You may encounter some warnings but no failure to go to next step
c. fWIIne sub-project : try to clean and rebuild, first. (here we have local folders)
If you encounter some failures then you will have to change additionnal include/library directories as the same as previously -> see "3.library&include_directories_mexw32_update.JPG"

(fWIIne sub-project - Properties / Then clean and build the sub-project)
At this step; the build process should provide you the file fWIIne.mexw32.