Compile and Run EasyAR Windows Samples¶
This article shows how to run EasyAR non-Unity Windows samples.
If you want to setup EasyAR Windows projects using EasyAR package, please read this instead.
Visual Studio 2019 or later (for samples with .vcxproj)
CMake 3.8 or later (Samples with CMakeLists.txt)
Qt 5.4 or later (Qt samples)
Make sure to install C++ support for Visual Studio, which is not selected by default on the first install.
Make sure you have some camera connected to the computer and they can work.
Samples with .sln¶
Open solution file.
Samples with CMakeLists.txt¶
Open CMake and specify source code and binaries folder,
Click Configure and select generator,
Click Configure until all red lines are gone,
If some paths are not setup automatically, you can manually change them until all options are correctly set.
Click Generate to generate solutions, and open solution file,
Find initialize code in the samples, and if a key string is required, input the key there.
Some samples has key input box on UI after execution, and for those samples, you can also input key in the UI box and leave the sample code unchanged.
If lack of Qt is prompted during runtime, add Qt path to PATH enviroment variable and log off the computer and relogin.
Just compile and run as a normal Windows desktop application.