Step by step instructions: Difference between revisions
Line 92: | Line 92: | ||
Required for Exodus64 unless you have Visual Studio Professional or greater installed. | Required for Exodus64 unless you have Visual Studio Professional or greater installed. | ||
.NET Framework 4 | .NET Framework 4 (possibly already installed) | ||
http://go.microsoft.com/fwlink/?LinkID=187668 | http://go.microsoft.com/fwlink/?LinkID=187668 |
Revision as of 19:40, 15 May 2011
Installing Exodus on Windows
Tested on:
- Window 2008 R2 Enterprise x64 SP1
- Windows 7 Professional 64 and 32
INSTALL EXODUS
Search google for "exodus multivalue database" and see Latest-versions
http://exodusdb.googlecode.com/files/exodus-x86-11.5.3.exe or http://exodusdb.googlecode.com/files/exodus-x64-11.5.3.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
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
Install with defaults except no "stack builder at exit"
Configure Postgresql for Exodus
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 *BOTH* THE FOLLOWING ONTO THE END:
;C:\Program Files\PostgreSQL\9.0\bin;C:\Program Files (x86)\PostgreSQL\9.0\bin
Configure Exodus for Postgresql
Open an Exodus Console and type "configexodus"
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.
(Either) Download and Install Windows SDK (contains compilers)
Required for Exodus64 unless you have Visual Studio Professional or greater installed.
.NET Framework 4 (possibly already installed)
http://go.microsoft.com/fwlink/?LinkID=187668
Microsoft Windows SDK for Windows 7 and .NET Framework 4
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. Win32 only 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 :(