2019-03-25 13:36:15 -04:00
|
|
|
# Magic Leap demo
|
|
|
|
|
2019-04-12 15:10:54 -04:00
|
|
|
First, install v0.20.0 or later of the Magic Leap SDK. By default this is installed in `MagicLeap/mlsdk/<version>`, for example:
|
2019-03-25 13:36:15 -04:00
|
|
|
```
|
2019-04-12 15:10:54 -04:00
|
|
|
export MAGICLEAP_SDK=~/MagicLeap/mlsdk/v0.20.0
|
2019-03-25 13:36:15 -04:00
|
|
|
```
|
|
|
|
You will also need a signing certificate.
|
|
|
|
```
|
|
|
|
export MLCERT=~/MagicLeap/cert/mycert.cert
|
|
|
|
```
|
|
|
|
|
2019-04-15 13:56:33 -04:00
|
|
|
Now build the pathfinder demo library and `.mpk` archive:
|
2019-03-25 13:36:15 -04:00
|
|
|
```
|
2019-04-15 13:56:33 -04:00
|
|
|
cd demo/pathfinder
|
|
|
|
make release
|
2019-03-25 13:36:15 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
The `.mpk` can be installed:
|
|
|
|
```
|
2019-04-15 13:56:33 -04:00
|
|
|
make install
|
2019-03-25 13:36:15 -04:00
|
|
|
```
|
|
|
|
and run:
|
|
|
|
```
|
2019-04-15 13:56:33 -04:00
|
|
|
make run
|
2019-03-25 13:36:15 -04:00
|
|
|
```
|