forked from victor-yacovlev/kumir2
-
Notifications
You must be signed in to change notification settings - Fork 12
/
README-WIN32.txt
38 lines (31 loc) · 1.37 KB
/
README-WIN32.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Prerequirements to build
------------------------
0. QtSDK MinGW - http://qt.nokia.com/
or
Microsoft Visual Studio 2010 (Express) + Qt libraries for MSVC2010
1. Python 2.x - http://www.python.org/
2. Java Runtime Environment - http://www.oracle.com/
3. FreePascal Compiler - http://www.freepascal.org/
4. CMake - http://www.cmake.org/
5. BOOST Libraries
- http://www.boostpro.com/ -- prebuilt for MSVC2010
or
- http://www.boost.org/ -- sources for MinGW
Native generator toolchain
--------------------------
Win32 build uses CLang+MinGW compiler toolchain.
Precompiled binaries can be downloaded using svn:
cd ${kumir2_build_dir}
svn export http://lpm.org.ru/svn/kumir2-support/clang-mingw/
Building using MinGW
--------------------
1. Set PATH environment variable pointing to
cmake.exe, qmake.exe, mingw32-make.exe, jam.exe and fpc.exe.
2. Open terminal and cd to Kumir2 source root.
3. Type 'mkdir build' and then 'cd build'. This will make build directory.
4. Type 'cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=C:\kumir2-dist ../'.
This will make skeleton of build and Makefiles.
C:\kumir2-dist points to place, where kumir files will be copied after pseudo-installation.
5. Type 'mingw32-make'. Be patient - build process takes a while.
6. Type 'mingw32-make install'. This will copy kumir files to installation directory
(e.g. C:\kumir2-dist)