Building on Windows: Difference between revisions
(Replaced content with '== New Stuff == Building ICU 32/64 on Windows Building Boost 32/64 on Windows Building on Windows - Old Version') |
No edit summary |
||
Line 1: | Line 1: | ||
== | == Building Exodus on Windows == | ||
=== Setting up Exodus Build Environment on Windows === | |||
[[Building Boost 32/64 on Windows]] | Install and configure MS VC++ [[Step_by_step_instructions#INSTALL_COMPILER]] | ||
Install and configure Postgresql: [[Step_by_step_instructions#INSTALL_DATABASE]] | |||
Install Subversion client: http://tortoisesvn.net/downloads.html | |||
==== Get Boost Libraries ==== | |||
Install or build Boost 1_46_1 Release binary libraries | |||
If you want to debug Exodus (ie develop it) install or build Boost: 1_46_1 Debug binary libraries | |||
[[Building Boost 32/64 on Windows]] or ready made: http://exodusdb.googlecode.com/files/boost-vc100-x86x64-rd.zip | |||
[[Building ICU 32/64 on Windows]] or ready made: http://exodusdb.googlecode.com/files/icu-vc100-x86x64-rd.zip | |||
==== Install Subversion ==== | |||
You can ignore its suggestion to reboot after installation. | |||
=== Download Exodus Source/Build Files === | |||
NB always use HTTPS not http for the subversion link below - just in case you need to commit any changes back up into the subversion repository. | |||
==== GUI ==== | |||
#Create a folder called "exodus" F:\exodus | |||
#Right exodus click and choose "SVN checkout" | |||
#url of respository: HTTPS://exodusdb.googlecode.com/svn/trunk/ | |||
==== TUI ==== | |||
svn co HTTPS://exodusdb.googlecode.com/svn/trunk/ c:\exodus | |||
==== Configuring Exodus for Building ==== | |||
copy the config0.bat to config.bat and edit it to reflect your configuration | |||
If you are only building x64 then you dont need to set the x32 variables | |||
==== Build Using Visual Studio ==== | |||
The exodus_all.sln relies on environment variables to identify location of boost, postgresql. All the necessary environment variables are set in config.bat. | |||
To open visual studio with all the right environment variables set you must run dev.bat which calls config.bat and then opens your solution | |||
run dev.bat which sets up the environment and opens visual studio | |||
#Select Configuration: Release or Debug | |||
#Select Platform: x64 or Win32 | |||
#Build the solution | |||
#Run the solution - should get an exodus/cmd command console | |||
#type configexodus | |||
==== Build Using Command Line ==== | |||
make.bat | |||
clean.bat | |||
=== Packaging Exodus === | |||
pack.bat | |||
== Old Info == | |||
[[Building on Windows - Old Version]] | [[Building on Windows - Old Version]] |
Revision as of 15:46, 15 May 2011
Building Exodus on Windows
Setting up Exodus Build Environment on Windows
Install and configure MS VC++ Step_by_step_instructions#INSTALL_COMPILER
Install and configure Postgresql: Step_by_step_instructions#INSTALL_DATABASE
Install Subversion client: http://tortoisesvn.net/downloads.html
Get Boost Libraries
Install or build Boost 1_46_1 Release binary libraries
If you want to debug Exodus (ie develop it) install or build Boost: 1_46_1 Debug binary libraries
Building Boost 32/64 on Windows or ready made: http://exodusdb.googlecode.com/files/boost-vc100-x86x64-rd.zip
Building ICU 32/64 on Windows or ready made: http://exodusdb.googlecode.com/files/icu-vc100-x86x64-rd.zip
Install Subversion
You can ignore its suggestion to reboot after installation.
Download Exodus Source/Build Files
NB always use HTTPS not http for the subversion link below - just in case you need to commit any changes back up into the subversion repository.
GUI
- Create a folder called "exodus" F:\exodus
- Right exodus click and choose "SVN checkout"
- url of respository: HTTPS://exodusdb.googlecode.com/svn/trunk/
TUI
svn co HTTPS://exodusdb.googlecode.com/svn/trunk/ c:\exodus
Configuring Exodus for Building
copy the config0.bat to config.bat and edit it to reflect your configuration
If you are only building x64 then you dont need to set the x32 variables
Build Using Visual Studio
The exodus_all.sln relies on environment variables to identify location of boost, postgresql. All the necessary environment variables are set in config.bat.
To open visual studio with all the right environment variables set you must run dev.bat which calls config.bat and then opens your solution
run dev.bat which sets up the environment and opens visual studio
- Select Configuration: Release or Debug
- Select Platform: x64 or Win32
- Build the solution
- Run the solution - should get an exodus/cmd command console
- type configexodus
Build Using Command Line
make.bat clean.bat
Packaging Exodus
pack.bat