Before you begin, ensure you have completed the initial steps as described in the root of the repository.
- Windows is no longer supported for the WRLD example app.
- The last stable windows build is stored in a branch.
- Use
git checkout windows-deprecated
to move to the deprecated windows branch before attempting the steps in Setup.
- Open a Git Bash (MinGW) terminal for the following commands.
- In the root of the repo, run the command
./update.platform.sh -p windows
to download the latest WRLD Windows SDK.- We recommend you run this step frequently to keep your SDK version up to date.
- In the
windows
directory, runmkdir build
to create a build directory. - In the
windows/build
directory, runcmake -G "Visual Studio 14 Win64" ..
to generate a project file. - Open the
ExampleApp.sln
project file in Visual Studio. - Right-click the ExampleAppWPF project and select
Set as StartUp Project
. - Run the application.
- If you want to build from the command line, you can run
./build.sh -p windows
from the root of the repository.
- Go to the 'user_data' section of your poi in the Poi Tool.
- Enter the html url you want to use using the following data field:
"custom_view":"https://www.myurl.com"
- Make sure your url starts with
https://
orhttp://
- You can optionally edit the height of your web view in piexels with the data field
"custom_view_height":int
- In order to render the web view using IE 11, run regedit.exe from your start menu.
- Create a new DWORD value in :HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER) > SOFTWARE > Microsoft > Internet Explorer > Main > FeatureControl > FEATURE_BROWSER_EMULATION
- Call it (appName).exe, for windows example app it will be ExampleAppWPF.exe
- Set the Decimal data to 11000. Other IE rendering mode values can be found here
With touch input enabled on some touchscreen devices, the virtual keyboard can be seen entering characters twice upon pressing. This can be resolved by disabling the "Enable Press-and-hold for right clicking" feature in the Pen and Touch control panel:
- Press the windows key.
- type "pen and touch" and press enter.
- In the window that appears, left-click the entry "Press and hold" and click "settings".
- Uncheck "Enable press and hold for right-clicking".
- Click OK on both windows to close them.
When encountering this kind of exceptions:
- Open Apps & Features
- Search for Microsoft Visual Studio Professional 2015 and select Modify
- Select all features and apply update
- Re-open and rebuild the solution