Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>To compile <code>libjpeg</code> 9 in Visual Studio 2012, here are the steps (after unzipping the archive file):</p> <ol> <li><p>Download the file <code>WIN32.MAK</code> (for example, from <a href="http://www.bvbcode.com/code/f2kivdrh-395674-down" rel="noreferrer">http://www.bvbcode.com/code/f2kivdrh-395674-down</a>), and place a copy in the root source code directory (possibly <code>C:\jpeg-9</code>, but it depends where you unzipped it). I will refer to this directory as <code>%jpegsrc%</code> from now on. Having this file is important; otherwise step 3 will produce an error.</p></li> <li><p>In the Visual Studio command prompt, open to <code>%jpegsrc%</code>:</p> <p><code>cd %jpegsrc%</code></p></li> <li><p>At the same command prompt, execute the following:</p> <p><code>NMAKE /f makefile.vc setup-v10</code></p> <p>This will create two Visual Studio 2010 solutions in <code>%jpegsrc%</code>: <code>jpeg.sln</code> and <code>apps.sln</code>.</p></li> <li><p>Open each solution in Visual Studio 2012. Each one will prompt you to update all the projects to 2012 format. Click on “Update.” One time I did it, the prompt did not appear. In case that happens, right-click on the <code>jpeg</code> solution in the Solution Explorer, and choose “Update VC++ projects...,” which will produce the same prompt.</p></li> <li><p>Save and build each solution as normal. (You have to build the <code>jpeg.sln</code> solution before <code>apps.sln</code>, since the latter depends on the former.)</p></li> </ol> <p>Note: this process should work correctly in Visual Studio 2010, without the updating, but I have not tested it.</p> <p><strong>Update:</strong> This method still works in Visual Studio 2015 for <code>libjpeg-9a</code>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload