|
HikoGUI
A low latency retained GUI
|
This guide explains how to install hikogui for developing hikogui itself. For installing the hikogui library as part of an application see the hikogui_hello_world example application.
Table of contents:
HikoGUI will use the dependencies installed on the system, but it can use vcpkg to install the dependencies if available.
Run the following commands from the "Developer Command Prompt" to install vcpkg:
You should get the following message:
Clone the hikogui repository on your machine:
You can then open the hikogui directory as a directory-based project inside visual studio.
To build:
x64-MSVC-Debug from the project Configuration pull down menu.Project / Generate Cache menu optionBuild / Build All menu optionhikogui_demo.exe from the Select Startup Item... pull-down menu.Debug / Start DebuggingNote: A "Window Security Alert" may show up, this is due to the RenderDoc API creating a network server so that the RenderDoc application can remotely communicate to the hikogui_demo application.
When a hikogui application hits a break-point while not running with a debugger the Windows 10 CRT will try to start the just-in-time debugger as a fallback.
A common problem in Windows 10 are the missing registry entries for the jit debugger to work.
The fix is to add a DWORD Value of Auto, with Value data of 1, to the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug - DWORD "Auto" : Value (1)HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug - DWORD "Auto" : Value (1)