zarthcode/Libusbpp

fatal error: 'SDKDDKVer.h' file not found

Closed this issue · 1 comments

On Mac OS X:

make LibusbTest
c++ -Wall -g -O2 -Wextra -pipe -funsigned-char -fstrict-aliasing -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wunused -Wuninitialized -Wpointer-arith -Wredundant-decls -Winline -Wformat -Wformat-security -Wswitch-enum -Winit-self -Wmissing-include-dirs LibusbTest.cpp -o LibusbTest
In file included from LibusbTest.cpp:17:
In file included from ./stdafx.h:8:
./targetver.h:8:10: fatal error: 'SDKDDKVer.h' file not found

include <SDKDDKVer.h>

     ^

1 error generated.
make: *** [LibusbTest] Error 1

Please remove any Windows specific code if you want to use your lib on Unix (Linux, Mac OS X, BSD, etc).

This should be fixed now.