VR Juggler
Open Source
Virtual Reality


VRJ Wiki . Juggler . CompilingAndInstalling VRJ Wiki webs:
Juggler | VRJPlanning | Main | TWiki | Test
Juggler . { Home | Changes | Index | Search | Go }

Wiki

· Home
· Frequently Asked Questions
· Development
· Team Guide
· Direction
· Status
· Task Tracking
· Compiling VR Juggler
· Building from SVN
· SVN Branches
· Compiler Status

edit menu


Main
· About
· Documentation
· Publications
· Download
· HOWTO
· FAQ
· Discussion Area (Wiki)
· Status
· Contact

Projects
· VR Juggler
· Gadgeteer
· VPR
· Sonix
· JCCL
· Tweek
· PyJuggler
· VRJ.NET

Events
· SIGGRAPH 2004 BoF?
· SIGGRAPH 2003 BoF?
· Virtual Reality Course
· IEEE VR 2003 Course
· SC 2002 Exhibit

Site Search

Google

Sponsors
· Infiscape
· VRAC
· Iowa State University
· SourceForge

Link To Us


Compiling And Installing

This information is supplimental to the INSTALL.html (or INSTALL.txt) found in the root of the VR Juggler source tree.

Win32

Compiling under win32 is a little different, but not too bad if you follow these rules:

  • When supplying paths to configure and for env variables, use the format DRIVELETTER:/mypath/to/juggler/subpath/. NOTE: it is importatnt you use UNIX-style slashes instead of the DOS-style slashes.

Here is an example of how to compile under Win32:

NOTE: This assumes that your compiler is set up so that you can type cl or link at the command prompt, and your MSVC++ INCLUDE and LIB env paths are set up...

First, set up your shell environment variables, here we do it for tcsh available with the Cygwin UNIX toolkit (www.cygwin.com).

# So the build system doesn't use gcc compiler.
setenv CC cl
setenv CXX cl
setenv LD link

# you can customize these to your needs...
set HOSTTYPE=win32
set HOME=c:/home/kevn
set modules_root=$HOME/src/juggler/build.$HOSTTYPE/
set install_dir=$HOME/tempinstall/$HOSTTYPE

# base directories (shouldn't need to change)
setenv VPR_BASE_DIR $modules_root/instlinks
setenv GADGET_BASE_DIR $modules_root/instlinks
setenv JCCL_BASE_DIR $modules_root/instlinks
setenv VJ_BASE_DIR $modules_root/instlinks
setenv SNX_BASE_DIR $modules_root/instlinks

Next configure the juggler makefiles with configure (this assumes that you have all libraries that juggler depends on, and have run autogen.sh already - see INSTALL.txt for more info on this).

To configure:

mkdir build.$HOSTTYPE
cd build.$HOSTTYPE
../configure.pl --cfg=../juggler.cfg   --with-nspr=$HOME/src/nspr-4.2   --with-nspr-includes=$HOME/src/nspr-4.2/include

NOTE: A binary build of nspr was found on the http://www.mozilla.org website.

NOTE: you may need to specify cppdom and GMTL directories with --with-cppdom and --with-gmtl, use the same path name convention as shown above.

-- KevinMeinert - 06 Jul 2002


Topic CompilingAndInstalling . { Edit | Attach | Ref-By | Printable | Diffs | r1.1 | More }

Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding VRJ Wiki? Send feedback
Revision r1.1 - 06 Jul 2002 - 16:32 - KevinMeinert
Parents: WebHome
Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding VRJ Wiki? Send feedback




VR Juggler Logo
Site contents © Copyright 1998–2005 Iowa State University and released under the GPL.
Harvesting email addresses from this page for commercial activities is prohibited.
Contact: Webmaster | Write Us
SOURCE REPOSITORY,
BUGS, FORUMS
HOSTED BY:
SourceForge Home