Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows 10 WDK has slightly changed / building the project on windows 10 #1

Open
kmoulins opened this issue Feb 22, 2023 · 1 comment

Comments

@kmoulins
Copy link

the project works, you do need to change the location of the includes, as api/setupapi.h isn't the correct location anymore.

in thirdspacevest_win32.c line 17
#include <C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\setupapi.h>
#include <C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\hidsdi.h>

note that the "10.0.19041.0" will change depending on which version of the WDK you have. and it's Windows Kits\8\ for win 8 and \11\ for win 11

otherwise build works with vs 2019, though you need to edit the properties of ALL_BUILD and set Command under debugging to $(ProjectDir)\bin\thirdspacevest_test.exe

the setup is the same :
git clone https://github.com/qdot/libthirdspacevest.git
cd libthirdspacevest
git clone https://github.com/qdot/compily_buildd.git
mkdir build
cd build
cmake ..

@qdot
Copy link
Owner

qdot commented Feb 22, 2023

Hello only other person on the planet that still have their 3rd space vest!

Thanks for letting me know about the build updates. This should probably just use something like hidapi at this point, but I have zero plans to update it 'cause, well, my vest has been sitting in a bin for 13 years and now I have modern bhaptics/woojer stuff. That said, I'll leave this issue open and around in case someone else wants to try. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants