How to build a DLL version of libjpeg 9b?

Published builds (static / dynamic) on [GitHub]: CristiFati/Prebuilt-Binaries – (master) Prebuilt-Binaries/LibJPEG. Like almost all of the nowadays software, LibJPEG is also hosted on [GitHub]: winlibs/libjpeg – libjpeg-9b. I downloaded it from both places, did a comparison and only few minor differences (out of which none in the source code) popped up. I’m going to explain … Read more

Compiling libjpeg

To compile libjpeg 9 in Visual Studio 2012, here are the steps (after unzipping the archive file): Download the file WIN32.MAK (for example, from http://www.bvbcode.com/code/f2kivdrh-395674-down), and place a copy in the root source code directory (possibly C:\jpeg-9, but it depends where you unzipped it). I will refer to this directory as %jpegsrc% from now on. … Read more

How to fix homebrew permissions?

I was able to solve the problem by using chown on the folder: sudo chown -R “$USER”:admin /usr/local Also you’ll (most probably) have to do the same on /Library/Caches/Homebrew: sudo chown -R “$USER”:admin /Library/Caches/Homebrew Apparently I had used sudo before in a way that altered my folder permission on /usr/local, from here on forward all … Read more