libftdi Archives

Subject: Re[2]: msvc compile error

From: Evgeny Dontsov <don-and-home@xxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 15 Sep 2017 16:39:56 +0300

Hi, Tomas!

Thanks for rapid answer.

I update libftdi to 1.4 and got the same error in ftdi_stream.c:

D:\CODE\adapters\var\tmp\env-build\win32_vs2012\libftdi1-1.4.tar.bz2\libftdi1-1.4\src\ftdi_strea
m.c(44): fatal error C1083: Cannot open include file: 'sys/time.h': No such file or directory [D:\
CODE\adapters\var\tmp\env-build\win32_vs2012\libftdi1-1.4.tar.bz2\libftdi1-1.4\build-debug\src\ftd
i1-static.vcxproj]


Evgeny

Пятница, 15 сентября 2017, 15:35 +03:00 от Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>:

Hi Evgeny,

On Friday, 15 September 2017 14:28:12 CEST Evgeny Dontsov wrote:
> Hello!
>
> I try to build ftdi1-static project in MSVC 2013.
>
> There is an error:
> Error 295 error C1083: Cannot open include file: 'sys/time.h': No such file
> or directory
> d:\code\adapters\var\tmp\env-build\win32_vs2012\libftdi1-1.3.tar.bz2\libftd
> i1-1.3\src\ftdi.h 21 1 ftdi1-static There is no sys/time.h header in
> Windows.

please update to libftdi 1.4, it's already fixed.

Cheers,
Thomas


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx



Evgeny Dontsov
software engineer
Alphaopen, LLC
Tel: +7 916 385-39-09
www.alphaopen.com

libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread