Changes between Version 2 and Version 3 of zoss/Plugins/ZNewton

Show
Ignore:
Timestamp:
11/15/09 13:46:29 (10 months ago)
Author:
sgtflame
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • zoss/Plugins/ZNewton

    v2 v3  
    55 
    66The [wiki:zoss/Plugins/ZNewton/Compiling compiling instructions] shows you how to compile [wiki:zoss/Plugins/ZNewton ZNewton]. 
    7  
    8 == Getting the Source Code == 
    9  
    10 With SVN command line, in your x:\dev\Zen\plugins directory: 
    11 {{{ 
    12 svn co svn://www.indiezen.org/zoss/plugins/trunk/ZNewton ZNewton 
    13 }}} 
    14  
    15 Or with TortoiseSVN, check out '''!svn://www.indiezen.org/zoss/plugins/trunk/ZNewton''' into '''x:\dev\Zen\plugins\ZNewton'''. 
    16  
    17 == Dependencies == 
    18  
    19 Using [http://www.newtondynamics.com Newton], specifically [http://www.newtondynamics.com/downloads.html Newton Game Dynamics SDK 1.53]. 
    20  
    21 If you download and install that to '''x:\dev\Newton''', where x: is the same drive you are using for the rest of ZOSS then the rest of the instructions will be easy to follow. 
    22  
    23  
    24 == Setting up your main_env_vars.vsprops == 
    25  
    26 Open x:\dev\Zen\plugins\ZNewton\ZNewton.sln with Visual Studio 2005. 
    27  
    28 Click on the menu '''View, Property Manager'''. 
    29  
    30 Expand the tree-view and double-click on '''ZNewton\Debug|Win32|main_env_vars''' 
    31  
    32 Click on '''Common Properties\User Macros''' 
    33  
    34 Click on the '''Add Macro''' and add the following: 
    35 ||NEWTON_HOME||x:\dev\Newton\sdk\||''(this should be the same place where you installed Newton)''|| 
    36 Check the set this as an environment variable... then click on '''OK''' 
    37  
    38 Click on the '''Add Macro''' and add the following: 
    39 ||NEWTON_LIB||$(NEWTON_HOME)lib\|| 
    40 Check the set this as an environment variable... then click on '''OK''' 
    41  
    42 Click on the '''Add Macro''' and add the following: 
    43 ||NEWTON_INCLUDE||$(NEWTON_HOME)include\|| 
    44 Check the set this as an environment variable... then click on '''OK''' 
    45  
    46 Click on '''OK''' to close the main_env_vars Property Pages dialog. 
    47  
    48 To be on the safe side, it's best to save everything, close Visual Studio and re-open the solution. 
    49  
    50 == Compiling == 
    51  
    52 Simply open the x:\dev\Zen\plugins\ZNewton.sln solution and build everything.