Skip to content

Commit ba8cb1e

Browse files
committed
Update VS build instructions in readme
1 parent 2965b1d commit ba8cb1e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Readme.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ You will need to install libjpeg-turbo (http://sourceforge.net/projects/libjpeg-
1515

1616
#Compiling
1717

18-
* Visual studio 2015 (instructions by [tgfrerer](https://github.com/tgfrerer))
18+
* Visual studio 2015 (instructions by [tgfrerer](https://github.com/tgfrerer) and [mattfelsen](https://github.com/mattfelsen))
1919
* turboJPEG libraries for vs2015 compiled straight off the sources using the following recipe:
20-
* download turbojpeg release:
21-
http://sourceforge.net/projects/libjpeg-turbo/files/1.4.1/libjpeg-turbo-1.4.1-vc.exe/download
22-
* download nasm (net assembler): http://www.nasm.us/pub/nasm/releasebuilds/2.11.08/win32/nasm-2.11.08-installer.exe
23-
* copy nasm.exe into the cmake/bin directory so it ends up in the PATH for the cmd prompt.
24-
* use cmake-gui and cmake to build visual studio project files, compile turbojpeg
25-
* find turbojpeg-static.lib and it's debug counterpart.
26-
* rename the debug .lib to turbojpeg-staticd.lib (note the 'd' for last character)
27-
* copy both lib files into the lib folder in the ofxTurboJpeg addon.
20+
* download [turbojpeg source v1.4.1](http://sourceforge.net/projects/libjpeg-turbo/files/1.4.1/libjpeg-turbo-1.4.1.tar.gz/download)
21+
* download [nasm (net assembler)](http://www.nasm.us/pub/nasm/releasebuilds/2.11.08/win32/nasm-2.11.08-installer.exe)
22+
* add `nasm.exe` to your `%PATH%` environment variable
23+
* this depends on where you installed nasm, but should be something like `C:\Users\YOUR_USERNAME\AppData\Local\nasm`
24+
* edit in `Control Panel > System > Advanced system settings > Environment variables > Path`
25+
* use `cmake-gui.exe` to build visual studio project files
26+
* open and compile `libjpeg-turbo.sln` in `Debug` and `Release` modes
27+
* find `turbojpeg-static.lib` in `build\[Debug|Release]` and copy into the proper locations in the ofxTurboJpeg addon

0 commit comments

Comments
 (0)