From 7b877852450f4d47de22b0e5794cf444a13b023b Mon Sep 17 00:00:00 2001 From: developer3 Date: Thu, 15 Nov 2018 10:49:29 +0100 Subject: [PATCH] 4.4.1: added information about linking static Windows libraries Need to link additional library ws2_32 --- windows/static-x86/readme.txt | 4 ++++ windows/static-x86_64/readme.txt | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/windows/static-x86/readme.txt b/windows/static-x86/readme.txt index da25c19..1e755e7 100644 --- a/windows/static-x86/readme.txt +++ b/windows/static-x86/readme.txt @@ -1,7 +1,11 @@ When you use uFCoder static library, you must define DL_USE_STATIC_LIB macro before include uFCoder.h + Also you must setup linking FTDI d2xx library in your project. FTDI distribute their library on its website http://www.ftdichip.com/Drivers/D2XX.htm They stated in ftd2xx.h: // Static D2XX depends on these Windows libs: #pragma comment(lib, "setupapi.lib") #pragma comment(lib, "advapi32.lib") #pragma comment(lib, "user32.lib") + +After uFR-library version 4.4.1 an additional library [ws2_32.lib] must be included to support UDP transfer protocol +#pragma comment(lib, "ws2_32.lib") diff --git a/windows/static-x86_64/readme.txt b/windows/static-x86_64/readme.txt index da25c19..1e755e7 100644 --- a/windows/static-x86_64/readme.txt +++ b/windows/static-x86_64/readme.txt @@ -1,7 +1,11 @@ When you use uFCoder static library, you must define DL_USE_STATIC_LIB macro before include uFCoder.h + Also you must setup linking FTDI d2xx library in your project. FTDI distribute their library on its website http://www.ftdichip.com/Drivers/D2XX.htm They stated in ftd2xx.h: // Static D2XX depends on these Windows libs: #pragma comment(lib, "setupapi.lib") #pragma comment(lib, "advapi32.lib") #pragma comment(lib, "user32.lib") + +After uFR-library version 4.4.1 an additional library [ws2_32.lib] must be included to support UDP transfer protocol +#pragma comment(lib, "ws2_32.lib") -- GitLab