User Tools

Site Tools


icypc_challenge_installation

This is an old revision of the document!


  1. Download and install Django.
  2. Use ssh-keygen to create key for access to sources on github.
  3. Download appropriate version of JOGL (Java for OpenGL) library.
  4. 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
  5. 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}
  6. 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.1289057167.txt.gz · Last modified: 2010/11/06 08:26 by jtkorb