icypc_challenge_installation
This is an old revision of the document!
- Download appropriate version of JOGL (Java for OpenGL) library.
- unpack zip file (into, e.g., ~/jogl)
- Add the icypc.jar file and these four JOGL .jar files to the CLASSPATH, e.g., by setting these variables in ~/.bashrc:
- typeset -x DIR=${HOME}/jogl-2.0-pre-20101104-macosx-universal/lib
- typeset -x ICYPC=${HOME}/icypc/icypc.jar
- typeset -x CLASSPATH=${ICYPC}:${DIR}/jogl.all.jar:${DIR}/nativewindow.all.jar:${DIR}/gluegen-rt.jar:${DIR}/newt.all.jar
- Add OS-specific environment variable that points to the JOGL directory (DIR above)
- MacOS: typeset -x DYLD_LIBRARY_PATH=${DIR}
- Linux/Solaris: typeset -x LD_LIBRARY_PATH=${DIR}
- Create a trace file and view it in 3D:
% java -jar ~/icypc/icypc.jar -player java java_example.Hunter -player java java_example.Planter -view trace x.txt % java icpc.challenge.view.TracePlayer -view 3D -trace x.txt
icypc_challenge_installation.1289007039.txt.gz · Last modified: 2010/11/05 18:30 by jtkorb