Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here is a <a href="http://francky.me/sferes2windows.php#Boost" rel="nofollow">tutorial</a> I had written to compile Boost 1.45.0 on Windows 7 using MinGW. I copy the tutorial here in case the link breaks:</p> <p>1) First we need to compile Boost. We'll use Boost's latest version: 1.45.0 (probably not the latest version at the time you'll read this tutorial.</p> <p>1.1) Download Boost sources:</p> <ul> <li><a href="http://www.boost.org/users/download/" rel="nofollow">http://www.boost.org/users/download/</a></li> <li>or directly: <a href="http://sourceforge.net/projects/boost/files/boost/1.45.0/boost_1_45_0.7z/download" rel="nofollow">http://sourceforge.net/projects/boost/files/boost/1.45.0/boost_1_45_0.7z/download</a>)</li> </ul> <p>1.2) To compile Boost, we need to use BJam. BJam's sources are included in boost's sources. Yet, we can't use BJam's binaries: we must compile it because of the following problem: <a href="http://comments.gmane.org/gmane.comp.lib.boost.user/64146" rel="nofollow">http://comments.gmane.org/gmane.comp.lib.boost.user/64146</a>.</p> <p>To compile BJam, go to Boost's sources, find build.bat (should be located in \boost_1_45_0\tools\build\v2\engine\src), run cmd, cd to build.bat's folder and execute: <code>build.bat gcc</code> (<a href="http://www.phy.bnl.gov/~bviren/dayabay/offline/external-trunk/Boost/boost_1_34_1/doc/html/jam/building.html" rel="nofollow">source</a>)</p> <p>Compilation lasts less than 30 seconds.</p> <ul> <li><em>Note 1</em>: gcc must be in the $PATH. If you don't have gcc, you can get it at <a href="http://www.mingw.org/wiki/InstallationHOWTOforMinGW" rel="nofollow">http://www.mingw.org/wiki/InstallationHOWTOforMinGW</a>. Use the automated installer if you don't want to waste time on it. (don't forget to select the C++ compiler during the installation, it will only install the C compiler by default)</li> <li><em>Note 2</em>: don't call cygwin's gcc otherwise you'll get an "Access denied" error, see <a href="http://omgili.com/mailinglist/cygwin/cygwin/com/m2t961f6df41004191807y75bc02cfiabd7f684a8d5f8camailgmailcom.html" rel="nofollow">http://omgili.com/mailinglist/cygwin/cygwin/com/m2t961f6df41004191807y75bc02cfiabd7f684a8d5f8camailgmailcom.html</a> for more details. Better use gcc included in the MinGW you will later use with your IDE.</li> </ul> <p>1.3) Once BJam is compiled, we can now compile Boost. Add bjam.exe in $PATH, run cmd, cd \boost_1_45_0 then execute:</p> <pre><code>bjam --toolset=gcc "--prefix=C:\DestinationFolder" install </code></pre> <p>where <code>DestinationFolder</code> is whatever folder path you want (<a href="http://wiki.codeblocks.org/index.php?title=BoostWindowsQuickRef" rel="nofollow">source</a>).</p> <p>Compilation lasts around 30 minutes.</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.
    2. VO
      singulars
      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