This commit is contained in:
James McGuire 2023-03-23 22:07:09 -04:00 committed by GitHub
commit 3e6b7f2abe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
Copyright © 2005-2022 Silicondust USA Inc. <www.silicondust.com>.
Copyright © 2005-2022 Silicondust USA Inc. <www.silicondust.com>.
This library implements the libhdhomerun protocol for use with Silicondust HDHomeRun TV tuners.
@ -10,3 +10,16 @@ The top level API is hdhomerun_device - see hdhomerun_device.h for documentation
Additional libraries required:
- pthread (osx, linux, bsd)
- iphlpapi (windows)
# Compile Instructions
## Linux/BSD
* run `make`
## Windows
* Create a new Visual Studio project (empty C++)
* Include all the .c and .h files, except `hdhomerun_os_posix.h`, `hdhomerun_os_posix.c`, `hdhomerun_sock_getifaddrs.c`, `hdhomerun_sock_netdevice.c`, `hdhomerun_sock_netlink.c` & `hdhomerun_sock_posix.c`
* Under the Linker input, add `Bcrypt.lib`, `Ws2_32.lib`, `iphlpapi.lib` as Additional Dependencies.
* Build using Visual Studio
If using VS2017 or earlier, on the project properties page under C/C++ advanced, change the Compile As type to C, click apply and then change it back to C++ this is a workaround for a bug in MSVC++.