MetriVis | Overview | Download | User Manual | Development |
Examples | Overview | Generic Installation | Ubuntu |
External libraries that need to be present on any system the MetriVis server runs:
MetriVis uses Scons to resolve dependencies and to build the software. You will find the scons config file here:
./code/metrovis/backend/SConstruct
It describes the dependencies to external libraries and source files in the project. Scons uses Python syntax config file, to learn more about it refer to it's project site.
user@host: ~/$ svn co https://metrivis.svn.sourceforge.net/svnroot/metrivis metrivis
This will download the newest version of the code to your workstation.
user@host: ~/$ cd metrivis/code/metrovis/backend/ user@host: ~/metrivis/code/metrovis/backend$
user@host: ~/metrivis/code/metrovis/backend$scons
The output will most probably look something like this (just a small snippet):
scons: Reading SConscript files ... Checking for C library m... yes Checking for C library sqlite3... yes Checking for C library png... yes Checking for C library cairo... yes Checking for C++ library boost_thread... yes Checking for C++ header file boost/test/included/unit_test_framework.hpp... yes scons: done reading SConscript files. scons: Building targets ... g++ -o build/BaseClass.o -c -ggdb -O0 -fno-inline -Wall -DDEBUG -DHAVE_SSTREAM -DLOG4CPLUS_SINGLE_THREADED -DTM_IN_SYS_TIME -DHAVE_GETTIMEOFDAY -D_REENTRANT -Iinclude -I. -I/usr/include -I/usr/include/cairo build/BaseClass.cc ... ... ... scons: done building targets.
The MetriVis server is now built and ready to be executed.
user@host: ~/metrivis/code/metrovis/backend$./build/metrivis -f data.db
Where "data.db" is the sqlite database you are using.
Copyright © 2007 Patrick Boenzli, ETH Zurich | Overview | Download | User Manual | Development |