From: Enar Vaikene Date: Tue, 27 Sep 2011 12:51:13 +0000 (+0300) Subject: Added the preparations section. X-Git-Url: https://vaikene.ee/gitweb/pswgen10.html?a=commitdiff_plain;h=7af576396a2e56c8fce7299a41a40197fb08c2d5;p=evaf Added the preparations section. Added links to next and previous pages to the top of tutorial pages. --- diff --git a/www/evaf.css b/www/evaf.css index ad5f778..2f09074 100644 --- a/www/evaf.css +++ b/www/evaf.css @@ -37,3 +37,7 @@ p { p.main { text-align: justify; } +tt { + color: blue; +} + diff --git a/www/pswgen01.html b/www/pswgen01.html index 4bc5917..ed98031 100644 --- a/www/pswgen01.html +++ b/www/pswgen01.html @@ -11,6 +11,8 @@ + +

Next: 02 - Preparations

eVaf Tutorial

diff --git a/www/pswgen02.html b/www/pswgen02.html index 021c93e..f066dbd 100644 --- a/www/pswgen02.html +++ b/www/pswgen02.html @@ -11,12 +11,59 @@ + +

Next: 03 - Generator Module, Previous: 01 - Introduction

eVaf Tutorial

02 - Preparations

+ +

Getting eVaf sources

+ +

eVaf uses git as the version control system. If you don't have it installed + yet, install it now.

+ +

Then open your favorite terminal program and go to the root directory for all your development projects. + Clone the eVaf repository using the following command:

+ +
 $ git clone http://www.vaikene.net/git/evaf
+ +

This command downloads evaf sources into the sub-directory evaf.

+ +

Qt, CMake, gcc

+ +

Make sure that you have Qt version 4.6 and CMake version 2.6 or newer versions installed. If not, install + them now.

+ +

The tutorial code is tested with gcc versions 4.4, 4.5 and 4.6.

+ +

Existing PswGen application

+ +

The code that we write in this tutorial already exists in the src/apps/PswGen directory. Delete + or rename the existing PswGen application if you want to follow the tutorial and write a new application. + Then create a new sub-directory called PswGen in the src/apps directory.

+ +

If you are running Windows

+ +

If you happen to be running Windows instead of Linux, then you still need git, CMake and Qt installed. + The tutorial code is tested with Visual C++ 2010 Express and Visual Studio 2005 Professional editions. + Use the Git Bash command prompt to clone the repository.

+ +

The code is fully portable and needs no changes to build on Windows. However, build commands itself + have to be modified:

+ +
    +
  1. Use the Visual Studio NNNN Command Prompt to run build commands. Make sure that Qt and CMake + binaries are in the path inside the command prompt;
  2. +
  3. When running cmake, add the -G "NMake Makefiles" option to the + cmake command;
  4. +
  5. Use nmake command instead of make.
  6. +
+ +

eVafGUI.exe command line options with directory names like --dataroot=<path> expect + '/' as the directory separator even when running on Windows.

-

In the next section 03 - Generator Module we write the Generator module.

+

In the next section 03 - Generator Module we start writing the Generator module.

diff --git a/www/pswgen03.html b/www/pswgen03.html index 88ec130..a4bd834 100644 --- a/www/pswgen03.html +++ b/www/pswgen03.html @@ -13,6 +13,7 @@ +

Next: 04 - Generator Module, Previous: 02 - Preparations

eVaf Tutorial

03 - Generator Module

diff --git a/www/pswgen04.html b/www/pswgen04.html index bf88046..63a9df2 100644 --- a/www/pswgen04.html +++ b/www/pswgen04.html @@ -13,6 +13,8 @@ +

Next: 05 - Building Generator Module, Previous: 03 - Generator Module

+

eVaf Tutorial

04 - Generator Module

diff --git a/www/pswgen05.html b/www/pswgen05.html index d84504d..3db173b 100644 --- a/www/pswgen05.html +++ b/www/pswgen05.html @@ -13,6 +13,8 @@ +

Next: 06 - Storage Module, Previous: 04 - Generator Module

+

eVaf Tutorial

05 - Building Generator Module

diff --git a/www/pswgen06.html b/www/pswgen06.html index 6c7ea93..ad523d7 100644 --- a/www/pswgen06.html +++ b/www/pswgen06.html @@ -12,6 +12,8 @@ + +

Next: 07 - Storage Module, Previous: 05 - Building Generator Module

eVaf Tutorial

diff --git a/www/pswgen07.html b/www/pswgen07.html index d35d484..96c6ce0 100644 --- a/www/pswgen07.html +++ b/www/pswgen07.html @@ -12,6 +12,8 @@ + +

Next: 08 - Building Storage Module, Previous: 06 - Storage Module

eVaf Tutorial

diff --git a/www/pswgen08.html b/www/pswgen08.html index c9802de..c00e7f2 100644 --- a/www/pswgen08.html +++ b/www/pswgen08.html @@ -12,6 +12,8 @@ + +

Next: 09 - GUI Module, Previous: 07 - Storage Module

eVaf Tutorial

diff --git a/www/pswgen09.html b/www/pswgen09.html index 7f05aba..44ec714 100644 --- a/www/pswgen09.html +++ b/www/pswgen09.html @@ -13,6 +13,8 @@ +

Next: 10 - GUI Module, Previous: 08 - Building Storage Module

+

eVaf Tutorial

09 - GUI Module

diff --git a/www/pswgen10.html b/www/pswgen10.html index f1ea8e1..616e321 100644 --- a/www/pswgen10.html +++ b/www/pswgen10.html @@ -12,6 +12,8 @@ + +

Next: 11 - Building GUI Module, Previous: 09 - GUI Module

eVaf Tutorial

diff --git a/www/pswgen11.html b/www/pswgen11.html index 7fb3f32..c9fda6a 100644 --- a/www/pswgen11.html +++ b/www/pswgen11.html @@ -13,6 +13,8 @@ +

Previous: 10 - GUI Module

+

eVaf Tutorial

11 - Buiding PswGen application