I'm using Windows 10, with the Windows SDK installed and Visual C++ 2017. I run bindgen command
>bindgen "C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\winusb.h" -- -I "C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\" -I "C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared"
I've tried some other quoting combinations: "-IC:\..." and -I"C:\..." but it seems like it never handles the spaces correctly. This is the output:
warning: Files: 'linker' input unused [-Wunused-command-line-argument]
warning: (x86)\Windows: 'linker' input unused [-Wunused-command-line-argument]
warning: Kits\10\Include\10.0.14393.0\shared: 'linker' input unused [-Wunused-command-line-argument]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\winusb.h:38:10: fatal error: 'winapifamily.h' file not found
warning: Files: 'linker' input unused [-Wunused-command-line-argument], err: false
warning: (x86)\Windows: 'linker' input unused [-Wunused-command-line-argument], err: false
warning: Kits\10\Include\10.0.14393.0\shared: 'linker' input unused [-Wunused-command-line-argument], err: false
C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\winusb.h:38:10: fatal error: 'winapifamily.h' file not found, err: true
As you can see the include directories have been split up by their spaces.
I'm using Windows 10, with the Windows SDK installed and Visual C++ 2017. I run bindgen command
I've tried some other quoting combinations:
"-IC:\..."and-I"C:\..."but it seems like it never handles the spaces correctly. This is the output:As you can see the include directories have been split up by their spaces.