<!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"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>Frepple / Compiling under windows</title> <link rel='stylesheet' href='../styles.css' type='text/css' /> <!--PageHeaderFmt--> </head> <body> <div id="container"> <div id="menubar"> <div id="logo" align="center"> <br/><img src='../frepple.bmp' alt="frepple" /><br/> <a href='http://www.frepple.com/'> <strong>a Free<br/>Production Planning<br/>Library</strong> </a></div> <div id="menu"> <br/> <h3><a href='../Main/HomePage.html'>Main</a></h3> <h3><a href='../UI/Main.html'>User Manual</a></h3> <h3><a href='../Tutorial/Main.html'>Tutorial</a></h3> <h3><a href='Main.html'>Reference Manual</a></h3> <h3><a href='../Main/FAQ.html'>FAQ</a></h3> <h3><a href='../reference/index.html'>C++ API</a></h3> <br/><div> </div> </div> </div> <div id="content"> <br/> <!--PageText--> <div id='wikitext'> <p><a class='wikilink' href='../Main/HomePage.html'>Main</a> > <span class='wikitrail'><a class='wikilink' href='Main.html'>Reference Manual</a> > <a class='wikilink' href='Installation.html'>Download and install</a> > <a class='wikilink' href='InstallationWindows.html'>Installing on Windows</a> > <a class='selflink' href='InstallationWindowsSVN.html'>Compiling under windows</a></span> </p> <p class='vspace'>Different options exist to compile Frepple under windows: </p><ul><li><a href='InstallationWindowsSVN.html#vc'>Microsoft Visual C++ Compiler</a> </li><li><a href='InstallationWindowsSVN.html#cygwin'>Cygwin Compiler</a> </li></ul><p class='vspace'>Note that executables and extension modules created by these compilers are not compatible with each other. </p> <div class='vspace'></div><h2>Compiling using Microsoft Visual C++ compiler</h2> <p><a name='vc' id='vc'></a>FrePPLe comes with Microsoft Visual C++ projects and workspaces to compile the code.<br />The solution file is <strong>contrib/vc/frepple.sln</strong> and more detailed build instructions are provided in the README.txt file in this directory. </p> <p class='vspace'>The project configuration files are generated with version 10 of Visual C++ and (in the Microsoft tradition) are not compatible with earlier releases. :-(<br />A free version of the compiler and the IDE, called "Visual C++ 2010 Express Edition", can be downloaded from the Microsoft website. </p> <p class='vspace'>You will also need to install: </p><ul><li>Python 2.5 or 2.6 </li><li>Xerces-c 3.0 or 3.1 </li></ul><p class='vspace'>The include and library directories of these tools need to configured using the property manager in the Visual C++ development environment. </p> <div class='vspace'></div><h2>Compiling using the Cygwin compiler</h2> <p><a name='cygwin' id='cygwin'></a>Cygwin is a Linux-like environment for Windows. The Cygwin environment can be downloaded free of charge from <a target='_blank' class='urllink' href='http://www.cygwin.com' rel='nofollow'>http://www.cygwin.com</a>. </p> <p class='vspace'>The build instructions on Cygwin are identical to the Linux and Unix platforms. </p> <p class='vspace'>Compared to the other platforms and compilers, the Cygwin executables are considerably slower.<br />Consider the Cygwin build as a test and development setup for a *nix environment. </p> <div class='vspace'></div> </div> <!--PageFooterFmt--> <!--HTMLFooter--> </div></div> </body> </html>