Windows build » History » Version 67

« Previous - Version 67/98 (diff) - Next » - Current version
pospelov, 16 Jul 2015 09:32

Windows build

Obsolete instruction for MSVC2012

BornAgain compilation under Windows using Microsoft Visual Studio 2013.

To install

Install VS.NET2013
  • Install Visual Studio using our VS.NET2012 package

Download and install Microsoft Visual Studio 2013 Language Pack from
Set English in Tools -> Optionen -> Internationale

Install cmake

by running cmake-3.2.3-win32-x86.exe
select option "add cmake to the system PATH for all users"

Install NSIS

version NSIS 3.0b1

Create directory C:\opt\local_x86


Install boost

by running boost_1_58_0-msvc-12.0-32.exe
Install in the temporary directory C:\temp\boost_1_58_0
Copy content of the directory C:\temp\boost_1_58_0\lib32-msvc-12.0\* in the C:\opt\local_x86\lib\.
Copy whole directory C:\temp\boost_1_58_0\boost into C:\opt\local_x86\include\.

Install fftw3

download and unpack into temporary directory C:\temp\fftw3
generate lib file

open "VS2013 x86 Native Tools Command Prompt" from Windows menu All Programs/Microsoft Visual Studio 2013/Tools
cd C:\temp\fftw3
lib /def:libfftw3-3.def

copy c:\temp\fftw3\fftw3.h to C:\opt\local_x86\include\.
copy c:\temp\fftw3\libfftw3-3.lib to C:\opt\local_x86\lib\.
copy c:\temp\fftw3\libfftw3-3.def to C:\opt\local_x86\lib\.
copy c:\temp\fftw3\libfftw3-3.dll to C:\opt\local_x86\lib\.