- Open "HostMonitor\BuildWinforms\BuildWinforms.sln" by Visual studio 2017
- Build
sample
,HostMonitor
,BuildWinforms
in turn, then run BuildWinforms.
- Open "HostMonitor\BuildMFC\HostMonitor.sln" by Visual studio 2017
- Click
F5
to build/runHostMonitor
- Open "HostMonitor\BuildWin32\HostMonitor.sln" by Visual studio 2017
- Click
F5
to build/runHostMonitor
, you will see UI in internet browser.
- Compile:
cd HostMonitor
cmake . && make
cd BuildLinux
chmod 777 *
- Run locally(e.g, Ubuntu):
- Elevate to super user:
sudo su
- Run with framebuffer:
sudo ./HostMonitor /dev/fb0
/dev/fb0: The path of framebuffer device file. - Run inside X Window:
sudo ./xWindow 1024 768 | ./HostMonitor shared-fb
- Elevate to super user:
- install compiler:
- For ARM32:
sudo apt-get install g++-arm-linux-gnueabi gcc-arm-linux-gnueabi
- For ARM64:
sudo apt-get install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu
- For ARM32:
- Cross compile:
cd HostMonitor
- For ARM32:
cmake -D CMAKE_C_COMPILER="/usr/bin/arm-linux-gnueabi-gcc" -D CMAKE_CXX_COMPILER="/usr/bin/arm-linux-gnueabi-g++" . && make
- For ARM64:
cmake -D CMAKE_C_COMPILER="/usr/bin/aarch64-linux-gnu-gcc" -D CMAKE_CXX_COMPILER="/usr/bin/aarch64-linux-gnu-g++" . && make
- Run on target Linux device:
- Copy BuildLinux/HostMonitor to target Linux device
chmod 777 HostMonitor
sudo ./HostMonitor /dev/fb0
/dev/fb0: The path of framebuffer
- Build UIcode:
cd HostMonitor/UIcode
- If x64/raspberry pi:
cmake .
make
cp libUIcode.a ../BuildGo/libs/amd64/
- If ARM32:
cmake -D CMAKE_C_COMPILER="/usr/bin/arm-linux-gnueabi-gcc" -D CMAKE_CXX_COMPILER="/usr/bin/arm-linux-gnueabi-g++" .
make
cp libUIcode.a ../BuildGo/libs/arm/
- Build Golang:
cd HostMonitor/BuildGo
go build -o HostMonitor
- Run with framebuffer:
sudo ./HostMonitor /dev/fb0
/dev/fb0: The path of framebuffer device file.
- Run inside QT APP(display-xxx is a QT APP for display, skip this if you haven't installed QT):
sudo ./xWindow 1024 768 | ./HostMonitor shared-fb
cd HostMonitor\BuildIos
- Open
BuildIos.xcodeproj
with Xcode - Build & Run
cd HostMonitor
cmake -D TARGET_OS="MAC" .
make
cd BuildMacCmd
./HostMonitor 1 8
, you will see UI in internet browser(Safari).
- Open
BuildMacCocoa\GuiLiteDemo.xcodeproj
with Xcode - Build & Run
- Open "BuildAndroid" with Android studio
- Build & Run
depdency: Windows 10, visul stdio 2015/2017
- Open "UIcode\sample.sln" by Visual studio 2017
- Click
build
copy UIcode\debug\sample.lib BuildUWP\sample_uwp_cpp\libs\x86(x64)\
- Open "BuildUWP\HostMonitor.sln" by Visual studio 2017
- Click
build
- Click
debug/run
- If VR: run
Mixed Reality Portal
on PC side. - Take VR/MR device on head, or run simulator.
- press
start
, find the UWP you build and run.
Note: Windows RS3(Build 16299) will be necessary.