Windows build » History » Version 67

pospelov, 16 Jul 2015 09:32

1 1 herck
h1. Windows build
2 1 herck
3 62 pospelov
[[Obsolete instruction for MSVC2012]]
4 61 pospelov
5 64 pospelov
BornAgain compilation under Windows using Microsoft Visual Studio 2013.
6 1 herck
7 63 pospelov
h2. To install
8 1 herck
9 63 pospelov
h5. Install VS.NET2013
10 47 pospelov
11 47 pospelov
* Install Visual Studio using our VS.NET2012 package
12 66 pospelov
> Download and install Microsoft Visual Studio 2013 Language Pack from http://www.microsoft.com/en-US/download/details.aspx?id=40783
13 66 pospelov
> Set English in Tools -> Optionen -> Internationale
14 67 pospelov
15 67 pospelov
16 67 pospelov
h5. Install cmake
17 67 pospelov
18 67 pospelov
* Install cmake from http://www.cmake.org/download 
19 67 pospelov
> by running cmake-3.2.3-win32-x86.exe
20 67 pospelov
> select option "add cmake to the system PATH for all users"
21 67 pospelov
22 67 pospelov
23 67 pospelov
h5. Install NSIS
24 67 pospelov
25 67 pospelov
* Install NSIS from http://nsis.sourceforge.net/Download 
26 67 pospelov
> version NSIS 3.0b1
27 67 pospelov
28 67 pospelov
29 67 pospelov
h5. Create directory C:\opt\local_x86
30 67 pospelov
> C:\opt\local_x86\include
31 67 pospelov
> C:\opt\local_x86\lib
32 67 pospelov
33 67 pospelov
34 67 pospelov
h5. Install boost
35 67 pospelov
36 67 pospelov
* Install boost from http://sourceforge.net/projects/boost/files/boost-binaries
37 67 pospelov
> by running boost_1_58_0-msvc-12.0-32.exe
38 67 pospelov
> Install in the temporary directory C:\temp\boost_1_58_0
39 67 pospelov
> Copy content of the directory C:\temp\boost_1_58_0\lib32-msvc-12.0\* in the C:\opt\local_x86\lib\.
40 67 pospelov
> Copy whole directory C:\temp\boost_1_58_0\boost into C:\opt\local_x86\include\.
41 67 pospelov
42 67 pospelov
43 67 pospelov
h5. Install fftw3
44 67 pospelov
45 67 pospelov
* Install fftw3 from http://www.fftw.org/install/windows.html
46 67 pospelov
> download  fftw-3.3.4-dll32.zip and unpack into temporary directory C:\temp\fftw3
47 67 pospelov
> generate lib file
48 67 pospelov
>> open "VS2013 x86 Native Tools Command Prompt" from Windows menu All Programs/Microsoft Visual Studio 2013/Tools
49 67 pospelov
>> cd C:\temp\fftw3
50 67 pospelov
>> lib /def:libfftw3-3.def
51 67 pospelov
52 67 pospelov
> copy c:\temp\fftw3\fftw3.h to C:\opt\local_x86\include\.
53 67 pospelov
> copy c:\temp\fftw3\libfftw3-3.lib to C:\opt\local_x86\lib\.
54 67 pospelov
> copy c:\temp\fftw3\libfftw3-3.def to C:\opt\local_x86\lib\.
55 67 pospelov
> copy c:\temp\fftw3\libfftw3-3.dll to C:\opt\local_x86\lib\.