| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
|
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <meta> |
| |
| <link href="web.css" type="text/css" rel="stylesheet"></link> |
| <title>VLFeat - Download - Compiling</title> |
| |
| |
| |
| |
| </meta> |
| |
| |
| <body> |
| <div id="header"> |
| |
| <form action="http://www.vlfeat.org/search.html" method="get" id="cse-search-box" enctype="application/x-www-form-urlencoded"> |
| <div> |
| <input type="hidden" name="cx" value="003215582122030917471:oq23albfeam"></input> |
| <input type="hidden" name="cof" value="FORID:11"></input> |
| <input type="hidden" name="ie" value="UTF-8"></input> |
| <input type="text" name="q" size="31"></input> |
| <input type="submit" name="sa" value="Search"></input> |
| </div> |
| </form> |
| <script src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en" xml:space="preserve" type="text/javascript"></script> |
| |
| <h1>VLFeat.org</h1> |
| </div> |
| <div id="headbanner"> |
| Download - Compiling |
| </div> |
| <div id="pagebody"> |
| <div id="sidebar"> |
| <ul> |
| <li><a href="index.html">Home</a> |
| </li> |
| <li><a href="download.html">Download</a> |
| <ul> |
| <li><a href="install-matlab.html">Matlab install</a> |
| </li> |
| <li><a href="install-shell.html">Shell install</a> |
| </li> |
| <li><a href="install-c.html">C library install</a> |
| </li> |
| <li><a href="compiling.html" class='active' >Compiling</a> |
| </li> |
| </ul></li> |
| <li><a href="doc.html">Documentation</a> |
| </li> |
| <li><a href="overview/tut.html">Tutorials</a> |
| </li> |
| </ul> |
|
|
| </div> |
| <div id="content"> |
| |
| |
|
|
| <p>These instructions explain how to compile VLFeat on your own. This |
| can be useful to customize or contribute to VLFeat, but it is |
| otherwise not necessary (<b>use the |
| <a shape="rect" href="download.html">binary package</a> instead</b>).</p> |
|
|
| <p>For <b>UNIX</b> based platforms (Mac OS X and Linux), the library |
| bundles a GNU makefile (<code>Makefile</code>). The makefile |
| tries to auto-detect the environment and automatically configure |
| itself. In most cases, typing <code>make</code> is all it is required |
| to compile everything. If this does not work, please edit the |
| makefile and make the necessary adjustment to the flags.</p> |
|
|
| <p>For <b>Windows</b>, the library bundles a NMake makefile |
| (<code>Makefile.mak</code>). In order to use it, you must open |
| Makefile.mak and adjust the values of configuration variables to match |
| your setup. Once you have done that, start the Visual Studio Command |
| Prompt and type <code>nmake /f Makefile.mak</code>.</p> |
|
|
| <p><b>Note: For Windows you can also just compile the mex files.</b> Start with |
| our binary distribution.</p> |
|
|
| <p><b>Windows: Troubleshooting common problems:</b></p> |
| <dl> |
| <dt>syntax error: '=' unexpected:</dt> |
| <dd><p>Use <code>nmake /f Makefile.mak</code>. |
| Without <code>/f</code>, nmake will default to the wrong |
| makefile.</p></dd> |
| <dt>'long' followed by 'long' is illegal:</dt> |
| <dd><p>This error is usually caused by |
| attempting to compile outside of the Visual Studio Command Prompt.</p></dd> |
| </dl> |
|
|
|
|
| |
| </div> |
| <div class="clear"> </div> |
| </div> |
| <div id="footer"> |
| © 2005-09 Andrea Vedaldi and Brian Fulkerson |
| </div> |
| |
| |
| <script xml:space="preserve" type="text/javascript"> |
| |
| var localre = /vlfeat.org/; |
| if(document.location.host.search(localre) != -1) |
| { |
| var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); |
| document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); |
| } |
| |
| </script> |
| <script xml:space="preserve" type="text/javascript"> |
| |
| var localre = /vlfeat.org/; |
| if(document.location.host.search(localre) != -1) |
| { |
| |
| try { |
| var pageTracker = _gat._getTracker("UA-4936091-2"); |
| pageTracker._trackPageview(); |
| } catch(err) {} |
| |
| } |
| |
| </script> |
| |
| </body> |
| </html> |
|
|
| |