From ddf93c36505a4f0de335655c7b139f25a1c9344d Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 25 Apr 2012 15:51:30 +1000 Subject: [PATCH] Add libusb to list of dependencies for building. --- README | 17 ++++------------- windows-build.txt | 7 ++++++- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/README b/README index 5332ba2b..ec926c76 100644 --- a/README +++ b/README @@ -45,7 +45,9 @@ Dependencies: AMD ADL SDK http://developer.amd.com/sdks/ADLSDK (This sdk is mandatory for ATI GPU monitoring & clocking) libudev headers - (This is only required for FPGA auto-detection) + (This is only required for FPGA auto-detection and is linux only) + libusb headers + (This is only required for ZTEX support) CGMiner specific configuration options: --enable-cpumining Build with cpu mining support(default disabled) @@ -103,18 +105,7 @@ Basic WIN32 build instructions (LIKELY OUTDATED INFO. requires mingw32): make ./mknsis.sh -Native WIN32 build instructions (outdated, see windows-build.txt) - Install the Microsoft platform SDK - Install AMD APP sdk, (if you want GPU mining) - Install AMD ADL sdk, (if you want GPU monitoring) - (Do NOT install the ati amd sdk if you are on nvidia) - Install mingw32 - Install libcurl, copy libcurl.m4 into /mingw/share/aclocal - Install pkg-config, copy pkg.m4 into /mingw/share/aclocal - Run: - autoreconf -fvi - CFLAGS="-O2 -msse2" ./configure - make +Native WIN32 build instructions: see windows-build.txt --- diff --git a/windows-build.txt b/windows-build.txt index 05e659a3..29e246b0 100644 --- a/windows-build.txt +++ b/windows-build.txt @@ -221,4 +221,9 @@ For you. Make sure you never remove the ADL_SDK folder from your home folder. # # # Native WIN32 setup and build instructions (on mingw32/Windows) complete # # # -###################################################################################### \ No newline at end of file +###################################################################################### + +Addendum: +Ztex support requires libusb support. The most comprehensive support is +currently available from the libusbx project here: +http://libusbx.org/