libftdi Archives

Subject: msvc compile error

From: Evgeny Dontsov <don-and-home@xxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 15 Sep 2017 15:28:12 +0300
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\libftdi1-1.3\src\ftdi.h 21 1 ftdi1-static

There is no sys/time.h header in Windows. 


Cmake defines:

api.cmake('CMakeLists.txt', '-Bbuild-debug',
'-DCMAKE_INSTALL_PREFIX=' + ap,
'-DCMAKE_BUILD_TYPE=Debug',
'-DBUILD_TESTS=OFF',
'-DDOCUMENTATION=OFF',
'-DCMAKE_TOOLCHAIN_FILE=toolchain.cmake',
'-DLIBUSB_LIBRARIES='+os.path.join(ENV_ROOT, 'lib', 'Debub', 'libusb-1.0.lib'))


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