Skip to content

Commit

Permalink
fix: Update INSTALL.md for windows
Browse files Browse the repository at this point in the history
Small adjustment to expected paths for the manual instructions.

Signed-off-by: Mel Massadian <melmassadian@gmail.com>
  • Loading branch information
melMass authored May 31, 2024
1 parent e0d0ae1 commit 992a538
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,9 @@ the section below, and will only have to point OIIO build process so their locat
```
cd {ZLIB_ROOT}
git clone https://github.com/madler/zlib .
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=.
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=.
cmake --build build --config Release --target install
del build\lib\zlib.lib
del build\Release\zlib.lib
```
* libTIFF:
```
Expand All @@ -296,8 +296,6 @@ the section below, and will only have to point OIIO build process so their locat
```
cd {JPEG_ROOT}
git clone https://github.com/libjpeg-turbo/libjpeg-turbo .
mkdir build
cd build
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_SHARED=OFF -DCMAKE_INSTALL_PREFIX=.
cmake --build build --config Release --target install
```
Expand All @@ -322,12 +320,13 @@ cd {OIIO_ROOT}
git clone https://github.com/AcademySoftwareFoundation/OpenImageIO .
cmake -S . -B build -DVERBOSE=ON -DCMAKE_BUILD_TYPE=Release ^
-DZLIB_ROOT={ZLIB_ROOT}\build ^
-DTIFF_ROOT={TIFF_ROOT}\build ^
-DTIFF_ROOT={TIFF_ROOT} ^
-DOpenEXR_ROOT={EXR_ROOT}\dist ^
-DImath_DIR={EXR_ROOT}\dist\lib\cmake\Imath ^
-DImath_INCLUDE_DIR={EXR_ROOT}\dist\include\Imath ^
-DImath_LIBRARY={EXR_ROOT}\dist\lib\Imath-3_2.lib ^
-DJPEG_ROOT={JPEG_ROOT}\build ^
-DJPEG_ROOT={JPEG_ROOT} ^
-Dlibjpeg-turbo_ROOT={JPEG_ROOT} ^
-DUSE_PYTHON=0 -DUSE_QT=0 -DBUILD_SHARED_LIBS=0 -DLINKSTATIC=1
```

Expand Down

0 comments on commit 992a538

Please sign in to comment.