Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 2.65 KB

Download_and_usage_en.md

File metadata and controls

43 lines (31 loc) · 2.65 KB

Download and Usage

Direct Use

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.

Building and Use

  1. Clone the project to your local machine:
git clone https://github.com/geoyee/LabCD
  1. 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.

  2. Download the required dependencies. Currently, the required third-party packages are OpenCV 4.5.5, JsonCpp 1.9.5, GDAL 3.5.3, and Eigen 3.4.0.

    1. OpenCV 4.5.5 can be downloaded from the official GitHub repository here and compiled using cmake.
    2. JsonCpp 1.9.5 can be downloaded from the official GitHub repository here and compiled using cmake.
    3. GDAL 3.5.3 can be downloaded from the official GitHub repository here and compiled using cmake.
    4. Eigen 3.4.0 can be downloaded directly from the official gitlab repository here.

    After preparing, you need to create a depends folder under the labcd folder, which includes include and lib folders. Put the completed include and lib files corresponding to Opencv, JsonCpp, and GDAL into the depends folder, and put the Eigen source code directly into depends. The depends 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
    
  3. After completion, you can use Visual Studio to open the corresponding sln file for building or use Qt Creator to open the pro file, establish qmake and build, then you can use it.

  4. 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.