17 Feb 19:43
vos-s5.3
Attached is a patch that 1. adds a file called BUILD.txt that starts to give some instructions on how to build vos, including a list of dependencies you can install if you don'nt want the scons script to try downloading and building stuff. 2. links to libpthread when testing crypto++ vostest runs successfully for me. Pete, can you describe what the other programs you've started are for and how to run them? Reed
=== added file 'BUILD.txt' --- BUILD.txt 1970-01-01 00:00:00 +0000 +++ BUILD.txt 2009-02-17 18:13:01 +0000 @@ -0,0 +1,92 @@ + + +Building VOS +============ + +To build VOS, run the scons.py script: + + ./scons.py + +or + + python ./scons.py + +Targets built will be found in various subdirectories of debug/build. You will +need to add directories containing shared libraries to your system dynamic +library path (LD_LIBRARY_PATH environment variable on Linux, DYLIB_LIBRARY_PATH +on Mac OSX, PATH on Windows). + +Build options +------------- + +TODO what options can we give to scons?? + +Use "./scons.py tests" to build tests from src/tests + + +Supported Platforms +=================== + +Debian Linux 'sid' with GCC 4 and GNU dev tools +Windows XP with ???compiler??? +Windows Vista with ???compiler??? +Mac OSX 10.?? with ???compiler??? + + +Build Dependencies +================== + +The following "third party" libraries are required to build VOS. +Python is required to run the scons build system. Scons will determine +whether each library is already installed on the system, and if not, +will try to obtain it from the net and build it. It has several +ways to obtain them; you can select your preferred method using +the DOWNLOAD_OPT variable. The methods are bzr checkout, +hg (mercurial) checkout, install on Debian using apt-get, or downloading +a tarball snapshot using wget. + +Python 2.4+ http://www.python.org +libicu +libboost_thread http://www.boost.org +libboost_system +libboost_regex +libboost_signals +libboost_program_options +boost asio +boost spirit +boost_unit_test_framework +Crypto++ +xerces +pkg-config +Qt 4.5+ http://www.qtsoftware.com +Open Scene Graph + +Optional: +bzr 1.5 http://www.bazaar-ng.org +Mercurial +wget + + +Debian/Ubuntu +------------- + +Install the following packages with apt-get: + +python libicu-dev libboost-thread-dev libbost-system-dev libboost-regex-dev libboost-signals-dev libboost-program-options-dev libboost-dev libboost-test-dev libcrypto++-dev libxerces-c2-dev pkg-config libqt4-dev libopenscenegraph-dev + + +Fedora +------ + +todo + +Windows +------- + +todo + + +Mac OSX +------- + +todo === modified file 'scripts/cryptopp.py' --- scripts/cryptopp.py 2009-02-12 02:01:58 +0000 +++ scripts/cryptopp.py 2009-02-17 16:21:31 +0000 @@ -38,7 +38,7 @@ context.sconf.env['CRYPTOPP_CPPDEFINES'] = ['CRYPTOPP_IMPORTS'] return thirdparty.TryCompileAndLink(context, 'Crypto++', 'CRYPTOPP_', '.cc', headers=['cryptopp/cryptlib.h'], - libraries=['cryptopp']) + libraries=['cryptopp', 'pthread']) def checkCryptoPP(context): return thirdparty.configureDependency(context,
_______________________________________________ vos-d mailing list vos-d@... http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d
RSS Feed