Commit 2834c955 authored by DALAB\sjtud's avatar DALAB\sjtud
Browse files
parents ef4961a3 1c09c754
# Computer Animation 2022 - Exercise # Computer Animation - Exercise
## Overview ## Overview
...@@ -8,19 +8,11 @@ Code framework for course exercise. ...@@ -8,19 +8,11 @@ Code framework for course exercise.
Install **Git** and build system **Cmake**. For windows user, MSVC need to be installed. Install **Git** and build system **Cmake**. For windows user, MSVC need to be installed.
### Note for linux users
Many linux distributions do not include `gcc` and the basic development tools in their default installation. On Ubuntu, you need to install the following packages:
```
sudo apt-get install build-essential libx11-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libxrandr-dev libxi-dev libxmu-dev libblas-dev libxinerama-dev libxcursor-dev
```
### Build ### Build
Clone this repo (together with the submodule `libigl`): Clone this repo (together with the submodule `libigl`):
``` ```
git clone --recursive http://dalab.se.sjtu.edu.cn/gitlab/courses/ca-framework-2022.git git clone --recursive http://dalab.se.sjtu.edu.cn/gitlab/courses/ca-framework.git
# if you forget clone submodule at first place # if you forget clone submodule at first place
git submodule update --init --recursive git submodule update --init --recursive
``` ```
...@@ -32,14 +24,22 @@ cd build ...@@ -32,14 +24,22 @@ cd build
cmake .. cmake ..
``` ```
### For Windows
Cmake will generate Microsft visual studio project. Click the `*.sln` file to open the project and build.
### For linux
Compile and run the executable, e.g. Ubuntu: Compile and run the executable, e.g. Ubuntu:
``` ```
make && ./0_dummy/0_dummy make && ./0_dummy/0_dummy
``` ```
### For Windows Many linux distributions do not include `gcc` and the basic development tools in their default installation. On Ubuntu, you need to install the following packages:
Cmake will generate Microsft visual studio project. Click the `*.sln` file to open the project and build. ```
sudo apt-get install build-essential libx11-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libxrandr-dev libxi-dev libxmu-dev libblas-dev libxinerama-dev libxcursor-dev
```
## Exercise Handin ## Exercise Handin
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment