CS-FreeStyle / 10000-How-To-Do-in-CS

1 stars 0 forks source link

how to establish testing environment? #5

Open liuty10 opened 5 years ago

liuty10 commented 5 years ago

Get Platform You can download source code from here: TurboVNC. VirtualGL. You also need libjpeg-turbo library for acceleration.

However, in fact, you can download compiled version and install them directly: TurboVNC: here. VirtalGL: here. LibjpegTurbo: here.

These links here show how to configure the environment. TurboVNC and Libjpeg VirtualGl

Get applications:

  1. get -r supertuxkart You can download from Here directly or download source code and build by your self. Once you can run the game, move it to /opt/rrBenchMarkSuite/ How to build SuperTuxKart: Reference: https://github.com/supertuxkart/stk-code/blob/master/INSTALL.md $ git clone https://github.com/supertuxkart/stk-code stk-code $ svn co https://svn.code.sf.net/p/supertuxkart/code/stk-assets stk-assets $ sudo apt-get install build-essential cmake libbluetooth-dev \ libcurl4-openssl-dev libenet-dev libfreetype6-dev libfribidi-dev \ libgl1-mesa-dev libglew-dev libjpeg-dev libogg-dev libopenal-dev libpng-dev \ libssl-dev libvorbis-dev libxrandr-dev libx11-dev pkg-config zlib1g-dev

To compile SuperTuxKart, run the following commands inside stk-code directory: $ mkdir cmake_build $ cd cmake_build $ cmake .. $ make -j4 Further Options: To create a debug version of STK, run: $ cmake .. -DCMAKE_BUILD_TYPE=Debug You can install your build system-wide: $ sudo make install The default install location is /usr/local, i.e. the data files will be written to /usr/local/share/games/supertuxkart, the executable will be copied to /usr/local/bin. To change the default installation location, specify CMAKE_INSTALL_PREFIX when running cmake, e.g.: cmake .. -DCMAKE_INSTALL_PREFIX=/opt/stk

  1. get -r redeclipse we use redeclipse-1.6.0 version. You can download from redeclipse homepage or from this link. How to compile redeclipse:

If you download a compiled version directly, you may encounter the following problems: Errors: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory Solution: sudo apt-get install git curl libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsdl2-2.0-0 Now, run : ./redeclipse.sh

  1. apt-get install 0ad I didn't compile 0ad myself yet. I just download it from Unbuntu distribution using apt-get install. Have a look at this link: here

  2. get -r InMind InMind was downloaded from Steam. It is a free VR game. You should register in Steam and install the InMind game. Once you can play the game in Steam, try to find the location of the InMindVR and copy the directory to /opt/rrBenchMarkSuite. You can also download a compiled version from here:

  3. get -r IMHOTEP IMHOTEP is free and opensource VR application for Immersive Medical Hands-On Operation Teaching and Planning. Here is the website. You can download the source code from github, or download a compiled version from here.

  4. NASA WebVR: SPACETREK SPACETREK is an Open source VR Educational Game Here is an introduction for this WebVR: here. Here is the presentation. You can also try it directly online`.

How to build firefox? https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions

use python2 mkdir ~/bin ln -sf which python2 ~/bin/python

$ wget -O bootstrap.py https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py && python bootstrap.py

source code: https://archive.mozilla.org/pub/firefox/releases/65.0b7/source/

$ cd mozilla-central $ ./mach build