Skip to content

Commit 9cf5360

Browse files
committed
Merge pull request #272 from larshg/Dependsguidewindows
Getting dependencies on windows.
2 parents 2953dcc + a52e0f3 commit 9cf5360

File tree

1 file changed

+28
-10
lines changed

1 file changed

+28
-10
lines changed

depends/README.depends.txt

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,34 @@ Dependencies:
44
---
55

66
= Windows
7-
libusbx-winiso
8-
libusbx post-1.0.17 + winiso
9-
winiso = Windows isochronous modifications by Joshua Blake <[email protected]>
10-
11-
1. Download pre-built binaries libusbx-winiso.zip from https://www.dropbox.com/s/madoye1ayaoajet/libusbx-winiso.zip
12-
2. Unzip into the depends folder such that the resulting folder structure ends up looking like:
13-
./depends/libusbx/
14-
./depends/libusbx/include/
15-
./depends/libusbx/MS64/
16-
3. Done
7+
8+
This guide is x64 only.
9+
10+
1. Install libusb as one of the two following ways:
11+
a.Download libusbx with patch from https://www.dropbox.com/s/madoye1ayaoajet/libusbx-winiso.zip
12+
and install it in /depends/libusbx (this only has x64 release version)
13+
14+
b.Or clone master libusb from https://github.com/libusb/libusb.git
15+
i. Add joshblakes ISO patch.
16+
Add jblake https://github.com/JoshBlake/libusbx.git
17+
merge his winiso branch
18+
19+
ii. Build the solution with the shared dll.
20+
Add an environment variable with name LibUSB_ROOT and set it to the root of libusb build folder.
21+
22+
2. Install turboJPEG:
23+
a. Download and install turboJPEG http://sourceforge.net/projects/libjpeg-turbo/files
24+
b. If not installed in default path - Add an environment variable with name TurboJPEG_ROOT and set it to the root of the installed folder.
25+
26+
3. Install GLFW3:
27+
a. Get latest source release or clone GLFW from here https://github.com/glfw/glfw.git.
28+
b. Cmake a solution and run the install project
29+
c. If not installed in default path - Add an environment variable with name GLFW_ROOT and set it to the root of the installed folder.
30+
31+
4. Install opencv
32+
a. Download opencv
33+
b. Cmake a solution
34+
c. Build & run install project.
1735

1836
= Ubuntu
1937
kernel 3.10+

0 commit comments

Comments
 (0)