mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-10 22:33:58 +00:00
[c-host] readme: change windows instructions to use MSYS2
This commit is contained in:
parent
ed5140568a
commit
26fa5c8860
1 changed files with 11 additions and 32 deletions
|
@ -2,47 +2,26 @@
|
||||||
|
|
||||||
## What is this?
|
## What is this?
|
||||||
|
|
||||||
This is a rewrite of the host application in pure C using the MinGW toolchain.
|
The Looking Glass Host application for the Guest Virtual Machine.
|
||||||
|
|
||||||
## Why make this?
|
## What platforms does this support?
|
||||||
|
|
||||||
Several reasons:
|
Currently only Windows is supported however there is some initial support for Linux at this time.
|
||||||
|
|
||||||
1. The client is written in C and I would like to unify the project's language
|
|
||||||
2. The host is currently hard to build using MinGW and is very Windows specific
|
|
||||||
3. The host is a jumbled mess of code from all the experimentation going on
|
|
||||||
4. I would eventually like to be able to port this to run on Linux guests
|
|
||||||
|
|
||||||
## When will it be ready?
|
|
||||||
|
|
||||||
Soon :)
|
|
||||||
|
|
||||||
## Will it replace the C++ host?
|
|
||||||
|
|
||||||
Yes, but only when it is feature complete.
|
|
||||||
|
|
||||||
## Why doesn't this use CMake?
|
|
||||||
|
|
||||||
It does now...
|
|
||||||
~~Because win-builds doesn't distribute it, so to make it easy for everyone to compile we do not require it.~~
|
|
||||||
|
|
||||||
## How do I build it?
|
## How do I build it?
|
||||||
|
|
||||||
#### For Windows on Windows
|
#### For Windows on Windows
|
||||||
|
|
||||||
First setup the build environment:
|
1. download and install msys2 x86_64 from http://www.msys2.org/ following the setup instructions provided
|
||||||
|
3. execute `pacman -Fy` and then `pacman -Sy git make mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake`
|
||||||
1. get and install: https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/
|
4. run "C:\msys64\mingw64.exe"
|
||||||
2. select: mingw32-base-bin, mingw32-gcc-g++-bin, msys-base-bin
|
5. checkout the project
|
||||||
3. add "C:\MinGW\msys\1.0\bin" and "C:\MinGW\bin" to the system path
|
`git clone https://github.com/gnif/LookingGlass.git`
|
||||||
4. obtain and install CMake for windows
|
6. configure the project and build it
|
||||||
5. obtain and install GitBash for windows
|
|
||||||
|
|
||||||
Using GitBash checkout the project and use the following commands to compile
|
|
||||||
|
|
||||||
```
|
```
|
||||||
mkdir build
|
mkdir LookingGlass/c-host/build
|
||||||
cd build
|
cd LookingGlass/c-host/build
|
||||||
cmake -G "MSYS Makefiles" ..
|
cmake -G "MSYS Makefiles" ..
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue