Step by step instructions: Difference between revisions
(6 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
==== INSTALL EXODUS ==== | ==== INSTALL EXODUS ==== | ||
Search google for "exodus multivalue database" | Search google for "exodus multivalue database" | ||
http://exodusdb.googlecode.com/files/exodus | [http://code.google.com/p/exodusdb/downloads/list?q=label:Featured Latest-versions] | ||
http://exodusdb.googlecode.com/files/exodus-11.5.23-x86.exe | |||
or | or | ||
http://exodusdb.googlecode.com/files/exodus | http://exodusdb.googlecode.com/files/exodus-11.5.23-x64.exe | ||
==== INSTALL DATABASE ==== | ==== INSTALL DATABASE ==== | ||
Line 20: | Line 22: | ||
===== Download and Install Postgresql ===== | ===== Download and Install Postgresql ===== | ||
*Install with defaults except no "stack builder at exit" | |||
*Take a note of the password that you assign to the administrative user - postgres | |||
http://get.enterprisedb.com/postgresql/postgresql-9.0.4-1-windows.exe | http://get.enterprisedb.com/postgresql/postgresql-9.0.4-1-windows.exe | ||
or | or | ||
http://get.enterprisedb.com/postgresql/postgresql-9.0.4-1-windows_x64.exe | http://get.enterprisedb.com/postgresql/postgresql-9.0.4-1-windows_x64.exe | ||
===== Configure Postgresql for Exodus ===== | ===== Configure Postgresql for Exodus ===== | ||
First find out exactly | First find out exactly where Postgresql has been installed in Program Files. Look in C:\Program Files\Postgresql. | ||
Start, right click Computer, Properties, Advanced System Settings, Environment Variables, System Variables, Variable:PATH, Edit and add something like the following to the end of the PATH. | Add PostgreSQL's bin directory to the global environment variable PATH. Start, right click Computer, Properties, Advanced System Settings, Environment Variables, System Variables, Variable:PATH, Edit and add something like the following to the end of the PATH. | ||
;C:\Program Files\PostgreSQL\9.0\bin;C:\Program Files (x86)\PostgreSQL\9.0\bin | ;C:\Program Files\PostgreSQL\9.0\bin;C:\Program Files (x86)\PostgreSQL\9.0\bin | ||
Line 96: | Line 97: | ||
===== (Either) Download and Install Windows SDK (contains compilers) ===== | ===== (Either) Download and Install Windows SDK (contains compilers) ===== | ||
SDK is required for Exodus x64 development unless you have Visual Studio Professional or greater installed. | Windows SDK is required for Exodus x64 development unless you have Visual Studio Professional or greater installed. | ||
".NET Framework 4" - a prerequisite for installing SDK - possibly already installed. | ".NET Framework 4" - a prerequisite for installing SDK - possibly already installed. | ||
Line 102: | Line 103: | ||
http://go.microsoft.com/fwlink/?LinkID=187668 | http://go.microsoft.com/fwlink/?LinkID=187668 | ||
"Microsoft Windows SDK for Windows 7 and .NET Framework 4" <font color=red> | "Microsoft Windows SDK for Windows 7 and .NET Framework 4" <font color=red>(Ignore the "Windows 7" in the name of the SDK. All Windows SDKs install on XP and upwards regardless of their name!)</font color=red> | ||
http://go.microsoft.com/fwlink/?LinkID=191420 | http://go.microsoft.com/fwlink/?LinkID=191420 | ||
NEEDED: "Windows Headers and Libraries, Tools, Visual C++ Compilers", "Redistributable Packages" NOT NEEDED: Samples, .Net Development, Common Utilities | *NEEDED: "Windows Headers and Libraries, Tools, Visual C++ Compilers", "Redistributable Packages" | ||
*NOT NEEDED: Samples, .Net Development, Common Utilities | |||
===== (or) Download and Install Visual Studio C++ Express ===== | ===== (or) Download and Install Visual Studio C++ Express ===== | ||
Required for developing Exodus programs in GUI. Win32 | Required for developing Exodus programs in GUI. Restricted to Win32 unless you install the SDK above *as well*. | ||
Microsoft Visual Studio C++ 2010 Express | Microsoft Visual Studio C++ 2010 Express |
Latest revision as of 11:27, 28 May 2011
Installing Exodus on Windows
Tested on:
- Window 2008 R2 Enterprise x64 SP1
- Windows 7 Professional 64 and 32
- Windows XP Professional 32
INSTALL EXODUS
Search google for "exodus multivalue database"
http://exodusdb.googlecode.com/files/exodus-11.5.23-x86.exe or http://exodusdb.googlecode.com/files/exodus-11.5.23-x64.exe
INSTALL DATABASE
You only need to install the database if you want Exodus to store data on the current computer:
Download and Install Postgresql
- Install with defaults except no "stack builder at exit"
- Take a note of the password that you assign to the administrative user - postgres
http://get.enterprisedb.com/postgresql/postgresql-9.0.4-1-windows.exe or http://get.enterprisedb.com/postgresql/postgresql-9.0.4-1-windows_x64.exe
Configure Postgresql for Exodus
First find out exactly where Postgresql has been installed in Program Files. Look in C:\Program Files\Postgresql.
Add PostgreSQL's bin directory to the global environment variable PATH. Start, right click Computer, Properties, Advanced System Settings, Environment Variables, System Variables, Variable:PATH, Edit and add something like the following to the end of the PATH.
;C:\Program Files\PostgreSQL\9.0\bin;C:\Program Files (x86)\PostgreSQL\9.0\bin ;C:\Program Files\PostgreSQL\9.0a\bin;C:\Program Files (x86)\PostgreSQL\9.0a\bin
Configure Exodus for Postgresql
From the Start menu, open the Exodus configuration command. It may request administrator permission.
Exodus Copyright (c) 2009 Stephen Bush http://www.opensource.org/licenses/mit-license.php Using Library Version: 03 MAY 2011 03:14:04 x86 Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Program Files\Exodus\11.5\projects>configexodus Exodus Copyright (c) 2009 Stephen John Bush Licence: http://www.opensource.org/licenses/mit-license.php -- Exodus Postgres Configuration --- Input options and connect to postgres Postgres host (127.0.0.1) ? Postgres port (5432) ? Postgres admin user (postgres) ? Postgres admin password () ? Some5ecret host=127.0.0.1 port=5432 user=postgres dbname=postgres Attempting to connect ... done! New database code (exodus) ? New user code (exodus) ? New user password (somesillysecret) ? Creating new user exodus ... done! Creating new database exodus ... done! Detaching from postgres database ... done! Connecting to new database ... done! Installing pgexodus postgres plugin ... "C:\Program Files\Exodus\11.5\bin\pgexodus.dll" -> "C:\Program Files\PostgreSQL\9.0\lib\pgexodus.dll" done! Installed pgexodus.dll Configuring pgexodus postgres plugin ...done! Detaching from new database ... done! Connecting to template1 database ... done! Add pgexodus postgres plugin ... done! Detaching from template1 database ... done! Save user configuration in .exodus (Y) ? y
Test Configuration
Open Exodus Console and type "testsort"
testsort
INSTALL COMPILER
You only need to install the compiler if you want to develop Exodus programs on this computer.
Consider disabling anti-virus/anti-malware programs while you install MS software.
(Either) Download and Install Windows SDK (contains compilers)
Windows SDK is required for Exodus x64 development unless you have Visual Studio Professional or greater installed.
".NET Framework 4" - a prerequisite for installing SDK - possibly already installed.
http://go.microsoft.com/fwlink/?LinkID=187668
"Microsoft Windows SDK for Windows 7 and .NET Framework 4" (Ignore the "Windows 7" in the name of the SDK. All Windows SDKs install on XP and upwards regardless of their name!)
http://go.microsoft.com/fwlink/?LinkID=191420
- NEEDED: "Windows Headers and Libraries, Tools, Visual C++ Compilers", "Redistributable Packages"
- NOT NEEDED: Samples, .Net Development, Common Utilities
(or) Download and Install Visual Studio C++ Express
Required for developing Exodus programs in GUI. Restricted to Win32 unless you install the SDK above *as well*.
Microsoft Visual Studio C++ 2010 Express
http://www.microsoft.com/express/downloads/
Test Exodus Compilation
Open an Exodus Console and type "edic hello" to edit a new Exodus program called hello.
C:\Program Files\Exodus\11.5\projects>edic hello http://www.nano-editor.org/dist/v2.1/nano.html 1=Normal Program, 2=External Subroutine or Function "hello" does not exist. Create what? (1-2) 1
#include <exodus/program.h> programinit() function main() { printl("hello says 'Hello World!'"); return 0; } programexit()
Press Ctrl+O, Enter, Ctrl+X to save and exit. It should compile. sourcefilename:hello2.cpp hello2.cpp
C:\Program Files\Microsoft SDKs\Windows\v7.1>hello hello says 'Hello World!'
Troubleshooting
mvdbpostgres: LIBPQ.dll was not found. ERROR: mvdbpostgres connect() Cannot load shared library libpq.dll. Verify configuration PATH contains postgres's \bin.
Make sure your Postgresql bin is in the global environment PATH variable as instructed above.
'cl' is not recognized as an internal or external command, operable program or batch file.
Open a "Windows SDK 7.1 Command Prompt" and type your Exodus command there - or from any path since Exodus is installed in the global path.
hello.exe.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.
Ignore the message about manifest.
Window hangs after editing saving a new program
Press Enter :(