From c92c2f4a236b257db42c5701fe703c7a1348c4df Mon Sep 17 00:00:00 2001 From: Jiarui Li <292943912@sjtu.edu.cn> Date: Fri, 24 Feb 2023 05:55:05 +0000 Subject: [PATCH] Update README.md --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index f7f8d93..b5db821 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Computer Animation 2022 - Exercise +# Computer Animation - Exercise ## Overview @@ -8,14 +8,6 @@ Code framework for course exercise. 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 Clone this repo (together with the submodule `libigl`): @@ -32,14 +24,22 @@ cd build 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: ``` 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 -- GitLab