The x64 version of Windows exe is available for direct use, which can be downloaded here. After downloading, follow the process to install. The packaging process is provided by Inno Setup.
- Clone the project to your local machine:
git clone https://github.com/geoyee/LabCD
-
Download and install Qt 6.4.0 version according to your system. Windows users who want to use Visual Studio need to download the VS extension: Qt Visual Studio Tools.
-
Download the required dependencies. Currently, the required third-party packages are
OpenCV 4.5.5
,JsonCpp 1.9.5
,GDAL 3.5.3
, andEigen 3.4.0
.OpenCV 4.5.5
can be downloaded from the official GitHub repository here and compiled using cmake.JsonCpp 1.9.5
can be downloaded from the official GitHub repository here and compiled using cmake.GDAL 3.5.3
can be downloaded from the official GitHub repository here and compiled using cmake.Eigen 3.4.0
can be downloaded directly from the official gitlab repository here.
After preparing, you need to create a
depends
folder under thelabcd
folder, which includesinclude
andlib
folders. Put the completed include and lib files corresponding to Opencv, JsonCpp, and GDAL into thedepends
folder, and put the Eigen source code directly intodepends
. Thedepends
folder structure after completion is as follows:luaCopy codedepends ├-- include | ├-- gdal | ├-- json | └-- opencv2 ├-- lib | ├-- gdal_i.lib | ├-- jsoncpp_static.lib | ├-- jsoncpp_staticd.lib | ├-- opencv_world455.lib | └-- opencv_world455d.lib └-- Eigen
-
After completion, you can use Visual Studio to open the corresponding
sln
file for building or use Qt Creator to open thepro
file, establish qmake and build, then you can use it. -
The CMakeLists is generated by qmake2cmake. If the paths of third-party dependencies change, whether it is Visual Studio, Qt Creator, or CMake, you need to adjust the paths of the dependencies.