Step by step instructions

From NEOSYS Dev Wiki

1 Installing Exodus on Windows

Tested on:

  • Window 2008 R2 Enterprise x64 SP1
  • Windows 7 Professional 64 and 32
  • Windows XP Professional 32


Search google for "exodus multivalue database"



You only need to install the database if you want Exodus to store data on the current computer:

1.2.1 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
1.2.2 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
1.2.3 Configure Exodus for Postgresql

From the Start menu, open the Exodus configuration command. It may request administrator permission.

Exodus Copyright (c) 2009 Stephen Bush
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
-- Exodus Postgres Configuration ---
Input options and connect to postgres
Postgres host (      ?
Postgres port (5432)           ?
Postgres admin user (postgres) ?
Postgres admin password ()     ? Some5ecret

host= 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"
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
1.2.4 Test Configuration

Open Exodus Console and type "testsort"



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.

1.3.1 (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.

"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!)
  • NEEDED: "Windows Headers and Libraries, Tools, Visual C++ Compilers", "Redistributable Packages"
  • NOT NEEDED: Samples, .Net Development, Common Utilities
1.3.2 (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
1.3.3 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
1=Normal Program, 2=External Subroutine or Function
"hello" does not exist. Create what? (1-2) 1
#include <exodus/program.h>

function main() {
        printl("hello says 'Hello World!'");
        return 0;


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!'

2 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 :(