You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALL.md
+86-2Lines changed: 86 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -268,8 +268,92 @@ Building on Windows
268
268
269
269
**Method 1 - from source**
270
270
271
-
I really need someone to write correct, modern docs about how to build
272
-
from source on Windows.
271
+
You will need to have Git, CMake and Visual Studio installed.
272
+
273
+
The minimal set of dependencies for OIIO is: Boost, zlib, libTIFF, OpenEXR, and libjpeg or libjpeg-turbo. If you have them built somewhere then you skip
274
+
the section below, and will only have to point OIIO build process so their locations.
275
+
276
+
* Boost: get the boost source archive, extract into `{BOOST_ROOT}`.
277
+
```
278
+
cd {BOOST_ROOT}
279
+
bootstrap
280
+
b2
281
+
```
282
+
* zlib: this will build it, and then delete the non-static library, so they don't get picked up:
* OpenEXR: you'll have to point it to your `{ZLIB_ROOT}` location from the above. If copy-pasting the multi-line command (with lines ending in `^`) into
310
+
cmd.exe prompt, make sure to copy all the lines at once.
0 commit comments