Skip to content
Snippets Groups Projects
Commit 7b877852 authored by developer3's avatar developer3
Browse files

4.4.1: added information about linking static Windows libraries

Need to link additional library ws2_32
parent f451c277
Branches
Tags
No related merge requests found
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")
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")
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment