mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Hololens documentation
This commit is contained in:
parent
acde7e04cb
commit
bc85472f7a
1 changed files with 20 additions and 0 deletions
20
docs/hololens.md
Normal file
20
docs/hololens.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
## Servo on Hololens.
|
||||
|
||||
How to compile and run:
|
||||
|
||||
With Visual Studio **2019**:
|
||||
- Open `support/hololens/ServoApp.sln`
|
||||
- click on *restore nugets packages* under the context menu of "Solution" (in the right panel). This will automatically download Angle which comes with libEGL.dll, necessary to build servo.
|
||||
|
||||
In your Visual Studio **2017** cmd prompt:
|
||||
- make sure libEGL.dll is in your `%LIB%` path: `set LIB=%LIB%;c:\XXX\servo\support\hololens\packages\ANGLE.WindowsStore.2.1.13\bin\UAP\x64\`
|
||||
- compile servo: `mach build -d --uwp`
|
||||
|
||||
With Visual Studio **2019**:
|
||||
- Select emulator or local machine, select configuration (Debug or Release) and press run
|
||||
- VS will look for the DLLs and .h in `../../target/debug|release/` (depending on the configuration you selected in VS) and copy them in the final package.
|
||||
|
||||
For now, it's not possible to interact with the web page.
|
||||
|
||||
Note: to build the project with MSBuild:
|
||||
- `MSBuild ServoApp.sln /p:Configuration=Debug /p:Platform=x64`
|
Loading…
Add table
Add a link
Reference in a new issue