google-coral / libedgetpu

Source code for the userspace level runtime driver for Coral.ai devices.
Apache License 2.0
181 stars 62 forks source link

Build failed on Windows 10 #6

Closed NobuoTsukamoto closed 3 years ago

NobuoTsukamoto commented 3 years ago

System information

Describe the current behavior

When I build libedgetpu (Release Frogfish) on Windows 10 it fails with the following error: x64 Native Tools Command Prompt for VS 2019

>build.bat
...
.\driver/kernel/windows/windows_gasket_ioctl.inc(112): error C3861: 'StringPrintf': identifier not found
.\driver/kernel/windows/windows_gasket_ioctl.inc(120): error C3861: 'StringPrintf': identifier not found
.\driver/kernel/windows/windows_gasket_ioctl.inc(128): error C3861: 'StringPrintf': identifier not found
.\driver/kernel/windows/windows_gasket_ioctl.inc(155): error C3861: 'StringPrintf': identifier not found
...

I think that ".\driver/kernel/windows/windows_gasket_ioctl.inc" is missing a header file include.

#include "port/stringprintf.h"
Namburger commented 3 years ago

@NobuoTsukamoto Thanks for reporting!

dmitriykovalev commented 3 years ago

I believe this is already fixed, please try the latest source code from Grouper release.