Skip to content

Commit

Permalink
Update README.md (by @nii236)
Browse files Browse the repository at this point in the history
  • Loading branch information
vespakoen committed Nov 7, 2020
1 parent 5945d55 commit d0876d5
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions README.md
Expand Up @@ -104,8 +104,9 @@ by passing the `-DENABLE_GUI=OFF` flag to the cmake invocation.

### Building for Windows

You will need the usual build tools, CMake, a Windows cross-compiler, and flatc.
On a Debian derivative (e.g. Ubuntu) these can be installed with:
Ubuntu will require 20.04 or above. Cross-compiling with WSL is also confirmed to work.

You will need the usual build tools, CMake, a Windows cross-compiler, and flatc. On a Debian derivative (e.g. Ubuntu) these can be installed with:

apt-get install git build-essential cmake mingw-w64 libflatbuffers-dev

Expand All @@ -115,16 +116,7 @@ Before building, check out the project and the necessary submodules:
cd solvespace
git submodule update --init

After that, build 32-bit SolveSpace as following:

mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw32.cmake \
-DCMAKE_BUILD_TYPE=Release \
-DFLATC=$(which flatc)
make

Or, build 64-bit SolveSpace as following:
Build 64-bit SolveSpace with the following:

mkdir build
cd build
Expand Down

0 comments on commit d0876d5

Please sign in to comment.