Changes between Version 22 and Version 23 of HowToBuildFromSource


Ignore:
Timestamp:
Jul 1, 2011 4:21:03 PM (23 months ago)
Author:
mveljko78
Comment:

windows build update

Legend:

Unmodified
Added
Removed
Modified
  • HowToBuildFromSource

    v22 v23  
    176176== Windows == 
    177177 
     178===Dependencies=== 
     179 
     180QuteCom build depends on several libraries, compilers and external programs. 
     181You can download them from : http://wima.co.uk/qutecom-deps/ 
     182 
    178183=== Environment variables === 
    179184 
    180 Environment variables must be set before performing any build. This can be done globally (in advanced panel of computer) or manually set in prompt command.  
    181  
    182 ==== Qt ==== 
    183  
    184 Create QTDIR environment variable which value is path of your root Qt directory, 
    185  
    186 or manually set: 
    187 {{{ 
    188 SET QTDIR=C:\Qt\qt-win-opensource-src-4.4.0 
    189 }}} 
    190  
    191 ==== Platform SDK ==== 
    192  
    193 Add or create (it doesn't exist by default) following system variables through advanced properties of windows: 
    194  
    195 name: INCLUDE, value: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include 
    196 name: LIB, value: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib 
    197  
    198 or manually set: 
    199 {{{ 
    200 set INCLUDE=%INCLUDE%;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include 
    201 set LIB=%LIB%;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib 
    202 }}} 
    203  
    204 ==== DirectX SDK ==== 
    205  
    206 Add or create system variable INCLUDE of value C:\Program Files\Microsoft DirectX SDK ''(version date)''\Include 
    207  
    208 or manually set: 
    209  
    210 {{{ 
    211 set INCLUDE=%INCLUDE;C:\Program Files\Microsoft DirectX SDK (version date)\Include 
    212 }}} 
     185Environment variables must be set before performing any build. The best way is to create settings.bat file , for example like this: 
     186 
     187@SET QTDIR=C:\qt-4.5.3 
     188@SET INCLUDE=%INCLUDE%;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include 
     189@SET INCLUDE=%INCLUDE%;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\atl 
     190@SET INCLUDE=%INCLUDE%;C:\Program Files\Microsoft DirectX SDK (August 2007)\Include 
     191@SET LIB=%LIB%;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib 
     192@SET PATH=%PATH%;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin 
     193@SET PATH=%PATH%;C:\qt-4.5.3\bin 
     194@SET PATH=%PATH%;C:\Program Files\Microsoft Visual Studio 8\VC\bin\ 
     195@SET PATH=%PATH%;C:\Program Files\NSIS 
     196@SET PATH=%PATH%;C:\Program Files\NSIS\bin 
     197@SET BOOSTLIBDIR=C:\Program Files\boost\boost_1_38\lib 
     198@SET BOOSTINCLUDEDIR=C:\Program Files\boost\boost_1_38 
     199@"C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat"  
     200 
    213201 
    214202=== Build based on Makefile === 
    215203 
    216 ==== with Visual C++ ==== 
    217  
    218 {{{ 
    219     cmake -DCMAKE_BUILD_TYPE=Debug -G "NMake Makefiles" .. 
     204In order to build successfully it is necessary to use cloned hg repository 
     205 
     206==== Build with Visual C++ ==== 
     207 
     208{{{ 
     209    cd qutecom-2.2 
     210    cd build 
     211    cmake .. -DCMAKE_BUILD_TYPE=Debug -G "NMake Makefiles"  
    220212    nmake 
    221213}}} 
    222214 
    223 or 
    224  
    225 {{{ 
    226 % cd build 
    227 % build_nmake_release.bat 
    228 % nmake 
     215 
     216 
     217{{{ 
    229218 
    230219To build the installer run: