docs(CLAUDE.md): 更新Claude行为准则和项目指南

更新了CLAUDE.md文件,提供了Claude Code的工作指导原则,包括:
- 行为准则:思考优先、简洁第一、精确变更、目标驱动执行
- 项目概述:Geopro 3.0桌面客户端的技术栈说明(Qt 6 + VTK 9)
- 构建系统:build.bat脚本和CMake构建流程详细说明
- 测试框架:Google Test和Qt Test的使用方法
- 代码风格:clang-format规范和架构分层说明
- 重要约定:坐标系统、渲染验证、内存管理等关键项目约定
```
This commit is contained in:
徐星 2026-06-30 16:22:43 +08:00
parent 868cc4daba
commit 139278450f
59 changed files with 5693 additions and 105 deletions

230
CLAUDE.md
View File

@ -1,20 +1,22 @@
# CLAUDE.md # CLAUDE.md
Behavioral guidelines to reduce common LLM coding mistakes. Merge with project-specific instructions as needed. This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Behavioral Guidelines (Binding)
**Tradeoff:** These guidelines bias toward caution over speed. For trivial tasks, use judgment. **Tradeoff:** These guidelines bias toward caution over speed. For trivial tasks, use judgment.
## 1. Think Before Coding ### 1. Think Before Coding
**Don't assume. Don't hide confusion. Surface tradeoffs.** **Don't assume. Don't hide confusion. Surface tradeoffs.**
Before implementing: Before implementing:
- State your assumptions explicitly. If uncertain, ask. - State your assumptions explicitly. If uncertain, ask.
- If multiple interpretations exist, present them - don't pick silently. - If multiple interpretations exist, present them don't pick silently.
- If a simpler approach exists, say so. Push back when warranted. - If a simpler approach exists, say so. Push back when warranted.
- If something is unclear, stop. Name what's confusing. Ask. - If something is unclear, stop. Name what's confusing. Ask.
## 2. Simplicity First ### 2. Simplicity First
**Minimum code that solves the problem. Nothing speculative.** **Minimum code that solves the problem. Nothing speculative.**
@ -24,9 +26,7 @@ Before implementing:
- No error handling for impossible scenarios. - No error handling for impossible scenarios.
- If you write 200 lines and it could be 50, rewrite it. - If you write 200 lines and it could be 50, rewrite it.
Ask yourself: "Would a senior engineer say this is overcomplicated?" If yes, simplify. ### 3. Surgical Changes
## 3. Surgical Changes
**Touch only what you must. Clean up only your own mess.** **Touch only what you must. Clean up only your own mess.**
@ -34,7 +34,7 @@ When editing existing code:
- Don't "improve" adjacent code, comments, or formatting. - Don't "improve" adjacent code, comments, or formatting.
- Don't refactor things that aren't broken. - Don't refactor things that aren't broken.
- Match existing style, even if you'd do it differently. - Match existing style, even if you'd do it differently.
- If you notice unrelated dead code, mention it - don't delete it. - If you notice unrelated dead code, mention it don't delete it.
When your changes create orphans: When your changes create orphans:
- Remove imports/variables/functions that YOUR changes made unused. - Remove imports/variables/functions that YOUR changes made unused.
@ -58,24 +58,218 @@ user for are: (a) closing a running app so the exe can relink (LNK1104 — a loc
release), and (b) genuine product decisions. Do not ask the user to read logs, inspect data, release), and (b) genuine product decisions. Do not ask the user to read logs, inspect data,
run diagnostics, or interpret output — that is your job. run diagnostics, or interpret output — that is your job.
## 4. Goal-Driven Execution ### 4. Goal-Driven Execution
**Define success criteria. Loop until verified.** **Define success criteria. Loop until verified.**
Transform tasks into verifiable goals: Transform tasks into verifiable goals:
- "Add validation" "Write tests for invalid inputs, then make them pass" - "Add validation" -> "Write tests for invalid inputs, then make them pass"
- "Fix the bug" "Write a test that reproduces it, then make it pass" - "Fix the bug" -> "Write a test that reproduces it, then make it pass"
- "Refactor X" "Ensure tests pass before and after" - "Refactor X" -> "Ensure tests pass before and after"
For multi-step tasks, state a brief plan: For multi-step tasks, state a brief plan:
``` ```
1. [Step] verify: [check] 1. [Step] -> verify: [check]
2. [Step] verify: [check] 2. [Step] -> verify: [check]
3. [Step] verify: [check] 3. [Step] -> verify: [check]
``` ```
Strong success criteria let you loop independently. Weak criteria ("make it work") require constant clarification.
--- ---
**These guidelines are working if:** fewer unnecessary changes in diffs, fewer rewrites due to overcomplication, and clarifying questions come before implementation rather than after mistakes. ## Project Overview
Geopro 3.0 desktop client: a geophysical exploration data visualization application
(Qt 6 + VTK 9, C++17, Windows/MSVC). Replicates the core "Project Analysis View" from
Geopro 3.0 web.
Tech stack: Qt 6.11 (QtWidgets) + VTK 9.6 + CMake/Ninja + MSVC 2022/2026 + vcpkg
(non-Qt deps only) + ADS (docking) + GDAL/PROJ + OpenSSL + QtKeychain + Qwt.
---
## Build System
**Prerequisites:** Visual Studio 2022/2026 (Desktop C++ workload), Git, vcpkg with
`VCPKG_ROOT` env var set. Qt 6.11.1 MSVC kit at `D:/Qt/6.11.1/msvc2022_64`. VTK 9.6.2
prebuilt at `external/vtk-install`. All Qt-dependent libs (VTK/ADS/QtKeychain) link
against the official MSVC Qt kit; only non-Qt deps (GDAL/PROJ/OpenSSL/Eigen/gtest/etc.)
come from vcpkg.
**Rule:** `cmake` / `ninja` / `cl` are NOT on PATH by default. Build only inside an
activated MSVC environment. `build.bat` handles this automatically via vswhere.
### Primary: `build.bat` (recommended)
Run from repo root in **cmd** (not PowerShell for parameter passing):
| Command | Action |
|---|---|
| `build` or `build app` | Incremental build of `geopro_desktop` (default) |
| `build run` | Build and launch `geopro_desktop.exe` |
| `build test` | Build and run unit tests via ctest |
| `build all` | Build all targets |
| `build configure` | Force re-configure CMake (after CMakeLists changes or new sources) |
| `build rebuild` | Clean rebuild (`--clean-first`) then launch |
### Alternative: Manual CMake
Open "x64 Native Tools Command Prompt for VS", then:
```bat
set CMAKE="%VSINSTALLDIR%Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"
%CMAKE% --preset msvc-release
%CMAKE% --build build/release --target geopro_desktop
%CMAKE% --build build/release --target geopro_tests
ctest --test-dir build/release --output-on-failure
```
(Debug: replace `msvc-release` with `msvc-debug` and `build/release` with `build/debug`.)
### Build Targets
- `geopro_desktop` — Main executable at `build/release/src/app/geopro_desktop.exe`
- `geopro_tests` — Unit test executable, discovered by ctest
- `render_verify` — Offline PNG render verification (`tests/spike/`)
- `grid_contour_spike` / `slice_alpha_probe` — Spike verification tools
**Incremental builds:** Changing `.cpp/.hpp` only needs `--build`. Changing
`CMakeLists.txt` or adding new source files needs `build configure` or `--preset`.
**LNK1104:** If linking fails with "file in use", close any running `geopro_desktop.exe`
first (the only thing to ask the user for).
---
## Testing
Framework: **Google Test** for core/data/render; **Qt Test** (QSignalSpy) for
controller/net. Discovered via `gtest_discover_tests` with `DISCOVERY_MODE PRE_TEST`
(because Qt DLLs are copied POST_BUILD; discovering at build time would fail with
0xc0000135).
### Running Tests
```bat
build test # All tests via build.bat
ctest --test-dir build/release --output-on-failure -R <pattern> # Filter by regex
```
Running a **single test case** (example):
```bat
# After building geopro_tests:
build\release\tests\geopro_tests.exe --gtest_filter="*ColorScale*"
```
Some render/data tests require `PROJ_DATA` (set automatically by ctest from the vcpkg
install tree). If running the test exe directly, ensure `external/vtk-install/bin` and
vcpkg DLLs are on PATH.
### Render Verification
Rendering correctness **must be verified with offline PNG pixel checks**, not just
"doesn't crash". Use `tests/spike/render_verify.cpp`:
```bat
build all # builds render_verify
# Ensure PATH includes external/vtk-install/bin and vcpkg_installed/x64-windows/bin
# Ensure PROJ_DATA and GDAL_DATA are set if testing terrain/voxel
build\release\tests\spike\render_verify.exe
# Inspect output PNGs at D:/dev/spike_data/verify_*.png
```
---
## Code Style
- `.clang-format`: BasedOnStyle Google, C++17, 100 column limit, 4-space indent, braces after class/function.
- `.clangd`: Compilation database at `build/debug`. Strict unused-include checks.
- File encoding: **UTF-8 without BOM**. Do NOT use PowerShell `Set-Content -Encoding UTF8`
on source files (it corrupts Chinese comments).
---
## Architecture
Six-layer directory structure under `src/`:
```
src/core/ Pure business logic. ZERO Qt/VTK includes. Independently unit-testable.
model/ (Project, ColorScale, Grid, ScalarVolume, Anomaly...)
geo/ (LocalFrame, GeoLocalFrame, CrsTransform)
algo/ (IInterpolator, IdwInterpolator, VolumeBuilder)
src/io/ I/O parsers. Pure C++17 where possible.
gpr/ (IprbReader, IprHeader, GprSurveyAssembler, GpsTrack)
src/data/ Data access layer. Async repository contracts (QFuture/cancel/paging).
repo/ (IAsyncProjectRepository, IDatasetRepository, LocalSampleRepository)
api/ (ApiDatasetRepository, ApiProjectRepository, NavRequest)
dto/ (JSON DTOs + mapping to domain models)
store/ (ChunkedVolumeStore, pyramid LOD, streaming writes)
src/net/ Network & auth. ApiClient, AuthService, RsaEncryptor, Credential (QtKeychain).
src/render/ VTK rendering layer. Owns ALL actors and the single vtkRenderWindow.
Scene.hpp is the single owner of the render window.
actors/ (ScatterActor, GridContourActor, CurtainActor, VoxelActor, AnomalyActor, TerrainActor, ElectrodeActor)
interact/ (InteractionManager, SliceTool, PickInteractorStyle, AnomalyDrawTool)
source/ (Volume render sources: WholeVolumeSource, OutOfCoreSource, ViewAdaptiveVolumeSource)
ground/ (TileMath for basemap tiles)
src/controller/ Orchestration. Signals/slots wired in wireUp() methods.
(WorkbenchNavController, DatasetDetailController, VtkSceneController)
src/app/ Entry point + MainWindow + all QtWidgets panels and dialogs.
panels/ (ObjectTreePanel, DatasetListPanel, DatasetDetailPanel, AnomalyListPanel, etc.)
panels/chart/ (Qwt-based detail charts: GridDataChartView, ScatterPlotItem, ContourPlotItem)
panels/columns/ (Category analysis tabs)
panels/web/ (ProjectWebView with QWebEngineView)
```
**Architecture rules (binding):**
- `core` must NEVER `#include` any Qt or VTK header.
- VTK actors / `vtkRenderWindow` are created and owned ONLY by `render`. `view`/`app`
holds the `QVTKOpenGLStereoWidget` shell but must NOT create actors directly.
- Signal/slot connections are concentrated in `*Controller::wireUp()` or `MainWindow`.
- All file paths use `QStandardPaths` (Qt) or project-relative logic; no hardcoded paths.
### Coordinate System
- Data source CRS: **EPSG:4547** (CGCS2000 / 3-degree Gauss-Kruger CM 114E) for
`projectX/projectY` in local survey data.
- Project world coordinate: `core::GeoLocalFrame` (lat/lon -> local meters, equidistant
cylindrical), shared across all views for registration.
- DEM/imagery: EPSG:3857 (Web Mercator), reprojected via PROJ/GDAL at runtime.
- Rendering convention: depth `y` increases downward -> VTK `z` is negated.
---
## Key Dependencies & FetchContent
- **Qt 6.11.1**: Official MSVC kit at `D:/Qt/6.11.1/msvc2022_64`. `CMAKE_PREFIX_PATH`
points here. Only one Qt exists in the build.
- **VTK 9.6.2**: Built from source against the same Qt, installed to `external/vtk-install`.
Required components include `GUISupportQt`, `RenderingOpenGL2`, `InteractionStyle`,
`FiltersSources`, `RenderingVolumeOpenGL2`, `InteractionWidgets`, `FiltersGeometry`,
`IOImage`.
- **ADS (Qt-Advanced-Docking-System) 4.3.1**: FetchContent from GitHub. Linked as
`ads::qt6advanceddocking`.
- **QtKeychain 0.14.0**: FetchContent, static-linked. `BUILD_WITH_QT6=ON`.
- **Qwt 6.2**: Source expected at `external/qwt-src`. Included via `cmake/qwt.cmake`.
- **vcpkg deps**: eigen3, gdal, gtest, nlohmann-json, openssl, proj.
---
## Important Project Conventions
- **ColorScale / colorBar values**: Use real non-uniform segment values from the dataset.
Uniform grading produces incorrect all-blue renders.
- **2D map vs 3D view**: These are **different content**, not the same scene with a
different camera. 2D map = `MapLineActor` (survey line trajectories, top-down). 3D view
= `CurtainActor` (vertical cross-section walls) + voxel + slice + terrain.
- **Data detail** (bottom panel) = single-dataset analysis view (`GridContourActor` for
#18 grid, `ScatterActor` for #17 raw data).
- **Rendering changes must be verified** with `render_verify` offline PNG before app
integration, then manually in-app.
- **Build and link yourself** — do not ask the user to run builds, read logs, or inspect
data. The only exception is closing a running `geopro_desktop.exe` for LNK1104.
---
## Memory
- See `.claude/projects/E--gitea-geopro/memory/MEMORY.md` for persistent project context.

View File

@ -1,4 +1,10 @@
cmake_minimum_required(VERSION 3.21) cmake_minimum_required(VERSION 3.21)
# vcpkg
if(DEFINED ENV{VCPKG_ROOT} AND NOT DEFINED CMAKE_TOOLCHAIN_FILE)
set(CMAKE_TOOLCHAIN_FILE "$ENV{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" CACHE STRING "")
endif()
project(geopro_desktop LANGUAGES CXX) project(geopro_desktop LANGUAGES CXX)
# ---- Global C++ settings (规约 §3.2: C++17, 可渐进 C++20) ---- # ---- Global C++ settings (规约 §3.2: C++17, 可渐进 C++20) ----

View File

@ -7,13 +7,14 @@
"displayName": "MSVC Debug (官方Qt + vcpkg 非Qt依赖)", "displayName": "MSVC Debug (官方Qt + vcpkg 非Qt依赖)",
"generator": "Ninja", "generator": "Ninja",
"binaryDir": "${sourceDir}/build/debug", "binaryDir": "${sourceDir}/build/debug",
"toolchainFile": "D:/vcpkg/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": { "cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug", "CMAKE_BUILD_TYPE": "Debug",
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows", "VCPKG_TARGET_TRIPLET": "x64-windows",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON", "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_PREFIX_PATH": "D:/Qt/6.11.1/msvc2022_64", "CMAKE_PREFIX_PATH": "D:/Qt/6.11.1/msvc2022_64",
"VTK_DIR": "${sourceDir}/external/vtk-install/lib/cmake/vtk-9.6" "VTK_DIR": "${sourceDir}/external/vtk-install/lib/cmake/vtk-9.6",
"VCPKG_INSTALL_OPTIONS": "--x-buildtrees-root=C:/vcpkg_b"
} }
}, },
{ {

80
CMakeSettings.json Normal file
View File

@ -0,0 +1,80 @@
{
"configurations": [
{
"name": "x64-Debug",
"generator": "Ninja",
"configurationType": "Debug",
"buildRoot": "${projectDir}\\build\\debug",
"installRoot": "${projectDir}\\build\\debug\\install",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x64_x64" ],
"variables": [
{
"name": "CMAKE_PREFIX_PATH",
"value": "D:/Qt/6.11.1/msvc2022_64",
"type": "PATH"
},
{
"name": "VTK_DIR",
"value": "${projectDir}/external/vtk-install/lib/cmake/vtk-9.6",
"type": "PATH"
},
{
"name": "CMAKE_TOOLCHAIN_FILE",
"value": "D:/vcpkg/scripts/buildsystems/vcpkg.cmake",
"type": "FILEPATH"
},
{
"name": "VCPKG_TARGET_TRIPLET",
"value": "x64-windows",
"type": "STRING"
},
{
"name": "VCPKG_INSTALL_OPTIONS",
"value": "--x-buildtrees-root=C:/vcpkg_b",
"type": "STRING"
}
]
},
{
"name": "x64-Release",
"generator": "Ninja",
"configurationType": "Release",
"buildRoot": "${projectDir}\\build\\release",
"installRoot": "${projectDir}\\build\\release\\install",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x64_x64" ],
"variables": [
{
"name": "CMAKE_PREFIX_PATH",
"value": "D:/Qt/6.11.1/msvc2022_64",
"type": "PATH"
},
{
"name": "VTK_DIR",
"value": "${projectDir}/external/vtk-install/lib/cmake/vtk-9.6",
"type": "PATH"
},
{
"name": "CMAKE_TOOLCHAIN_FILE",
"value": "D:/vcpkg/scripts/buildsystems/vcpkg.cmake",
"type": "FILEPATH"
},
{
"name": "VCPKG_TARGET_TRIPLET",
"value": "x64-windows",
"type": "STRING"
},
{
"name": "VCPKG_INSTALL_OPTIONS",
"value": "--x-buildtrees-root=C:/vcpkg_b",
"type": "STRING"
}
]
}
]
}

21
CppProperties.json Normal file
View File

@ -0,0 +1,21 @@
{
"configurations": [
{
"inheritEnvironments": [
"msvc_x64"
],
"name": "x64-Debug",
"includePath": [
"${env.INCLUDE}",
"${workspaceRoot}\\**"
],
"defines": [
"WIN32",
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"intelliSenseMode": "windows-msvc-x64"
}
]
}

5
_temp_build_run.bat Normal file
View File

@ -0,0 +1,5 @@
@echo off
call "D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" >nul
"D:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --build "E:\gitea\geopro\build\release" --target geopro_desktop
if errorlevel 1 exit /b 1
"E:\gitea\geopro\build\release\src\app\geopro_desktop.exe"

3
_temp_configure.bat Normal file
View File

@ -0,0 +1,3 @@
@echo off
call "D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" >nul
"D:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --preset msvc-release

View File

@ -18,29 +18,41 @@ REM locates VS via vswhere and activates the MSVC env itself.
REM ============================================================ REM ============================================================
setlocal setlocal
set "ROOT=%~dp0" set "ROOT=%~dp0"
set "BUILDDIR=%ROOT%build\release" set "BUILDDIR=%ROOT%build\debug"
set "PRESET=msvc-release" set "PRESET=msvc-debug"
REM --- locate Visual Studio (vswhere lives at a fixed path) --- REM Locate VS-bundled CMake. Prefer vswhere; fall back to known VS2022 Community path.
set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" set "CMAKE="
if not exist "%VSWHERE%" ( set "CTEST="
echo [build] vswhere not found. Open "x64 Native Tools Command Prompt for VS" and build manually. if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" (
exit /b 1 for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do (
if exist "%%i\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" (
set "CMAKE=%%i\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"
set "CTEST=%%i\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\ctest.exe"
)
)
)
if "%CMAKE%"=="" (
if exist "D:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" (
set "CMAKE=D:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"
set "CTEST=D:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\ctest.exe"
)
)
if "%CMAKE%"=="" (
echo [build] ERROR: Could not find cmake.exe. Ensure Visual Studio 2022/2026 with C++ workload is installed.
exit /b 1
) )
REM -all -prerelease for VS2026 preview (note: -latest yields empty on this preview, and
REM -products * would pull in the bundled BuildTools whose vcpkg/env breaks our preset);
REM -requires ensures the C++ toolset is present. Multiple installs -> last one wins.
for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -all -prerelease -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do set "VSPATH=%%i"
if not defined VSPATH ( echo [build] Visual Studio with C++ toolset not found. Install the VS Desktop C++ workload. & exit /b 1 )
set "VCVARS=%VSPATH%\VC\Auxiliary\Build\vcvars64.bat" REM Activate MSVC environment so ninja/cl are available.
set "CMAKE=%VSPATH%\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" if exist "D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" (
set "CTEST=%VSPATH%\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\ctest.exe" call "D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" >nul
if not exist "%VCVARS%" ( echo [build] vcvars64.bat not found: "%VCVARS%" & exit /b 1 ) )
if not exist "%CMAKE%" ( echo [build] cmake not found: "%CMAKE%" & exit /b 1 )
REM --- activate MSVC environment (cl / link / include / lib) --- if /i "%~1"=="release" (
call "%VCVARS%" >nul set "BUILDDIR=%ROOT%build\release"
set "PRESET=msvc-release"
shift
)
set "CMD=%~1" set "CMD=%~1"
if "%CMD%"=="" set "CMD=app" if "%CMD%"=="" set "CMD=app"

2
build_log.txt Normal file
View File

@ -0,0 +1,2 @@
'build' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

124
configure.log Normal file
View File

@ -0,0 +1,124 @@
'vswhere.exe' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages are already installed:
* curl[core,non-http,ssl,sspi]:x64-windows@8.20.0#2 -- git+https://github.com/microsoft/vcpkg@7c6e682ec4c0c5f5e8359caeb08cd26830fbf276
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libpq[core,lz4,openssl,zlib]:x64-windows@18.4 -- git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* lz4:x64-windows@1.10.0 -- git+https://github.com/microsoft/vcpkg@4f01eec10f515a428e914107c5188366380f8dd9
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
openssl:x64-windows@3.6.2 -- git+https://github.com/microsoft/vcpkg@131700c32d3bdaa8b4862deb3113a8053793833f
* pcre2[core,jit,platform-default-features]:x64-windows@10.47 -- git+https://github.com/microsoft/vcpkg@753cc6dbffbcde00b0c10b8d594108beb320a183
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2 -- git+https://github.com/microsoft/vcpkg@9ed38c0dd88cb4a34bf3682362d9e4722d7453d6
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-tool-meson:x64-windows@1.9.0#9 -- git+https://github.com/microsoft/vcpkg@f85c7f81ae0d98611514765992e5a5769d398bde
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* expat:x64-windows@2.8.1 -- git+https://github.com/microsoft/vcpkg@92923916d226d340977bef606ce267474f6f57a4
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
Additional packages (*) will be modified to complete this operation.
Restored 0 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 2.06 ms. Use --debug to see more details.
Installing 1/29 libxml2[core,iconv,zlib]:x64-windows@2.15.3...
Building libxml2[core,iconv,zlib]:x64-windows@2.15.3...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f: info: installing from git registry git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
-- Using cached GNOME-libxml2-v2.15.3.tar.gz
-- Cleaning sources at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libxml2/src/v2.15.3-bfc57cf8fe.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/GNOME-libxml2-v2.15.3.tar.gz
-- Applying patch cxx-for-icu.diff
-- Applying patch disable-xml2-config.diff
-- Applying patch fix_cmakelist.patch
-- Applying patch fix_ios_compilation.patch
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libxml2/src/v2.15.3-bfc57cf8fe.clean
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/ninja/1.13.1-windows/ninja.exe -v
Working Directory: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libxml2/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-dbg-CMakeCache.txt.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-rel-CMakeCache.txt.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-dbg-CMakeConfigureLog.yaml.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-rel-CMakeConfigureLog.yaml.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-out.log
Call Stack (most recent call first):
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f/portfile.cmake:25 (vcpkg_cmake_configure)
scripts/ports.cmake:206 (include)
error: building libxml2:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle libxml2:x64-windows: 18 s
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libxml2
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Blibxml2%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.31/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:2 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

124
configure2.log Normal file
View File

@ -0,0 +1,124 @@
'vswhere.exe' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages are already installed:
* curl[core,non-http,ssl,sspi]:x64-windows@8.20.0#2 -- git+https://github.com/microsoft/vcpkg@7c6e682ec4c0c5f5e8359caeb08cd26830fbf276
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libpq[core,lz4,openssl,zlib]:x64-windows@18.4 -- git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* lz4:x64-windows@1.10.0 -- git+https://github.com/microsoft/vcpkg@4f01eec10f515a428e914107c5188366380f8dd9
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
openssl:x64-windows@3.6.2 -- git+https://github.com/microsoft/vcpkg@131700c32d3bdaa8b4862deb3113a8053793833f
* pcre2[core,jit,platform-default-features]:x64-windows@10.47 -- git+https://github.com/microsoft/vcpkg@753cc6dbffbcde00b0c10b8d594108beb320a183
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2 -- git+https://github.com/microsoft/vcpkg@9ed38c0dd88cb4a34bf3682362d9e4722d7453d6
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-tool-meson:x64-windows@1.9.0#9 -- git+https://github.com/microsoft/vcpkg@f85c7f81ae0d98611514765992e5a5769d398bde
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* expat:x64-windows@2.8.1 -- git+https://github.com/microsoft/vcpkg@92923916d226d340977bef606ce267474f6f57a4
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
Additional packages (*) will be modified to complete this operation.
Restored 0 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 1.99 ms. Use --debug to see more details.
Installing 1/29 libxml2[core,iconv,zlib]:x64-windows@2.15.3...
Building libxml2[core,iconv,zlib]:x64-windows@2.15.3...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f: info: installing from git registry git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
-- Using cached GNOME-libxml2-v2.15.3.tar.gz
-- Cleaning sources at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libxml2/src/v2.15.3-bfc57cf8fe.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/GNOME-libxml2-v2.15.3.tar.gz
-- Applying patch cxx-for-icu.diff
-- Applying patch disable-xml2-config.diff
-- Applying patch fix_cmakelist.patch
-- Applying patch fix_ios_compilation.patch
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libxml2/src/v2.15.3-bfc57cf8fe.clean
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/ninja/1.13.1-windows/ninja.exe -v
Working Directory: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libxml2/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-dbg-CMakeCache.txt.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-rel-CMakeCache.txt.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-dbg-CMakeConfigureLog.yaml.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-rel-CMakeConfigureLog.yaml.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-out.log
Call Stack (most recent call first):
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f/portfile.cmake:25 (vcpkg_cmake_configure)
scripts/ports.cmake:206 (include)
error: building libxml2:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle libxml2:x64-windows: 10 s
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libxml2
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Blibxml2%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.31/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:2 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

147
configure3.log Normal file
View File

@ -0,0 +1,147 @@
'vswhere.exe' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages are already installed:
* curl[core,non-http,ssl,sspi]:x64-windows@8.20.0#2 -- git+https://github.com/microsoft/vcpkg@7c6e682ec4c0c5f5e8359caeb08cd26830fbf276
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libpq[core,lz4,openssl,zlib]:x64-windows@18.4 -- git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* lz4:x64-windows@1.10.0 -- git+https://github.com/microsoft/vcpkg@4f01eec10f515a428e914107c5188366380f8dd9
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
openssl:x64-windows@3.6.2 -- git+https://github.com/microsoft/vcpkg@131700c32d3bdaa8b4862deb3113a8053793833f
* pcre2[core,jit,platform-default-features]:x64-windows@10.47 -- git+https://github.com/microsoft/vcpkg@753cc6dbffbcde00b0c10b8d594108beb320a183
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2 -- git+https://github.com/microsoft/vcpkg@9ed38c0dd88cb4a34bf3682362d9e4722d7453d6
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-tool-meson:x64-windows@1.9.0#9 -- git+https://github.com/microsoft/vcpkg@f85c7f81ae0d98611514765992e5a5769d398bde
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* expat:x64-windows@2.8.1 -- git+https://github.com/microsoft/vcpkg@92923916d226d340977bef606ce267474f6f57a4
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
Additional packages (*) will be modified to complete this operation.
Restored 1 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 73 ms. Use --debug to see more details.
Installing 1/30 libiconv:x64-windows@1.19...
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/bin/charset-1.dll was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/bin/iconv-2.dll was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/bin/iconv.exe was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/include/iconv.h was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/include/libcharset.h was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/include/localcharset.h was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/lib/charset.lib was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/lib/iconv.lib was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/share/doc/iconv.1.html was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/share/doc/iconv.3.html was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/share/doc/iconv_close.3.html was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/share/doc/iconv_open.3.html was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/share/doc/iconv_open_into.3.html was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/share/doc/iconvctl.3.html was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/share/man/man1/iconv.1 was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/share/man/man3/iconv.3 was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/share/man/man3/iconv_close.3 was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/share/man/man3/iconv_open.3 was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/share/man/man3/iconv_open_into.3 was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\usr/local/share/man/man3/iconvctl.3 was already present and will be overwritten
Elapsed time to handle libiconv:x64-windows: 42.4 ms
libiconv:x64-windows package ABI: f54b0adabecb4f7f4664b3135966e1afc5a3bea8c9a3a7c2be027e0c4f70d058
Installing 2/30 libxml2[core,iconv,zlib]:x64-windows@2.15.3...
Building libxml2[core,iconv,zlib]:x64-windows@2.15.3...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f: info: installing from git registry git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
-- Using cached GNOME-libxml2-v2.15.3.tar.gz
-- Cleaning sources at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libxml2/src/v2.15.3-bfc57cf8fe.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/GNOME-libxml2-v2.15.3.tar.gz
-- Applying patch cxx-for-icu.diff
-- Applying patch disable-xml2-config.diff
-- Applying patch fix_cmakelist.patch
-- Applying patch fix_ios_compilation.patch
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libxml2/src/v2.15.3-bfc57cf8fe.clean
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/ninja/1.13.1-windows/ninja.exe -v
Working Directory: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libxml2/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-dbg-CMakeCache.txt.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-rel-CMakeCache.txt.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-dbg-CMakeConfigureLog.yaml.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-rel-CMakeConfigureLog.yaml.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\libxml2\config-x64-windows-out.log
Call Stack (most recent call first):
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f/portfile.cmake:25 (vcpkg_cmake_configure)
scripts/ports.cmake:206 (include)
error: building libxml2:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle libxml2:x64-windows: 10 s
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libxml2
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Blibxml2%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.31/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:2 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

236
configure4.log Normal file
View File

@ -0,0 +1,236 @@
'vswhere.exe' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages are already installed:
* curl[core,non-http,ssl,sspi]:x64-windows@8.20.0#2 -- git+https://github.com/microsoft/vcpkg@7c6e682ec4c0c5f5e8359caeb08cd26830fbf276
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libpq[core,lz4,openssl,zlib]:x64-windows@18.4 -- git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* lz4:x64-windows@1.10.0 -- git+https://github.com/microsoft/vcpkg@4f01eec10f515a428e914107c5188366380f8dd9
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
openssl:x64-windows@3.6.2 -- git+https://github.com/microsoft/vcpkg@131700c32d3bdaa8b4862deb3113a8053793833f
* pcre2[core,jit,platform-default-features]:x64-windows@10.47 -- git+https://github.com/microsoft/vcpkg@753cc6dbffbcde00b0c10b8d594108beb320a183
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2 -- git+https://github.com/microsoft/vcpkg@9ed38c0dd88cb4a34bf3682362d9e4722d7453d6
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-tool-meson:x64-windows@1.9.0#9 -- git+https://github.com/microsoft/vcpkg@f85c7f81ae0d98611514765992e5a5769d398bde
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* expat:x64-windows@2.8.1 -- git+https://github.com/microsoft/vcpkg@92923916d226d340977bef606ce267474f6f57a4
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
Additional packages (*) will be modified to complete this operation.
Restored 0 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 620 us. Use --debug to see more details.
Installing 1/29 libxml2[core,iconv,zlib]:x64-windows@2.15.3...
Building libxml2[core,iconv,zlib]:x64-windows@2.15.3...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f: info: installing from git registry git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
-- Using cached GNOME-libxml2-v2.15.3.tar.gz
-- Cleaning sources at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libxml2/src/v2.15.3-bfc57cf8fe.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/GNOME-libxml2-v2.15.3.tar.gz
-- Applying patch cxx-for-icu.diff
-- Applying patch disable-xml2-config.diff
-- Applying patch fix_cmakelist.patch
-- Applying patch fix_ios_compilation.patch
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libxml2/src/v2.15.3-bfc57cf8fe.clean
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/libxml2_x64-windows/lib/pkgconfig/libxml-2.0.pc
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/libxml2_x64-windows/debug/lib/pkgconfig/libxml-2.0.pc
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/libxml2_x64-windows/share/libxml2/copyright
-- Performing post-build validation
Starting submission of libxml2[core,iconv,zlib]:x64-windows@2.15.3 to 1 binary cache(s) in the background
Elapsed time to handle libxml2:x64-windows: 27 s
libxml2:x64-windows package ABI: b70a973ac198e3be284a62577e74da5baf549ce69130bc02309a69a243940ed0
Installing 2/29 minizip:x64-windows@1.3.2...
Building minizip:x64-windows@1.3.2...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\b485c18ad5b9ce53d790be6875324577d308e8b1: info: installing from git registry git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
-- Using cached madler-zlib-v1.3.2.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/madler-zlib-v1.3.2.tar.gz
-- Applying patch pkgconfig.patch
-- Applying patch install-tools.diff
-- Applying patch restore-32bit.diff
-- Applying patch unofficial-iowin32.diff
-- Applying patch header-destination.diff
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/minizip/src/v1.3.2-355bf577a0.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/minizip_x64-windows/lib/pkgconfig/minizip.pc
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/minizip_x64-windows/debug/lib/pkgconfig/minizip.pc
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/minizip_x64-windows/share/minizip/copyright
-- Performing post-build validation
Starting submission of minizip:x64-windows@1.3.2 to 1 binary cache(s) in the background
Elapsed time to handle minizip:x64-windows: 14 s
minizip:x64-windows package ABI: 4f71cfe3c0886de19de6a3b2f6c1c5872a6f7c13146f57f6ad86eb64e86e8945
Completed submission of libxml2[core,iconv,zlib]:x64-windows@2.15.3 to 1 binary cache(s) in 1.2 s
Installing 3/29 expat:x64-windows@2.8.1...
Building expat:x64-windows@2.8.1...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\92923916d226d340977bef606ce267474f6f57a4: info: installing from git registry git+https://github.com/microsoft/vcpkg@92923916d226d340977bef606ce267474f6f57a4
Downloading https://github.com/libexpat/libexpat/archive/R_2_8_1.tar.gz -> libexpat-libexpat-R_2_8_1.tar.gz
Successfully downloaded libexpat-libexpat-R_2_8_1.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/libexpat-libexpat-R_2_8_1.tar.gz
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/expat/src/R_2_8_1-a822564678.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/expat_x64-windows/lib/pkgconfig/expat.pc
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/expat_x64-windows/debug/lib/pkgconfig/expat.pc
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/expat_x64-windows/share/expat/copyright
-- Performing post-build validation
Starting submission of expat:x64-windows@2.8.1 to 1 binary cache(s) in the background
Elapsed time to handle expat:x64-windows: 1.3 min
expat:x64-windows package ABI: c3149fe537df897fcc96335c96a25bf282517856fba6f085d413fafc482d7b54
Completed submission of minizip:x64-windows@1.3.2 to 1 binary cache(s) in 206 ms
Installing 4/29 freexl:x64-windows@2.0.0#2...
Building freexl:x64-windows@2.0.0#2...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\f6e8a10b1dbd66c16c5ef6df2e6f4078db623678: info: installing from git registry git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
Downloading https://www.gaia-gis.it/gaia-sins/freexl-sources/freexl-2.0.0.tar.gz -> freexl-2.0.0.tar.gz
Successfully downloaded freexl-2.0.0.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/freexl-2.0.0.tar.gz
-- Applying patch dependencies.patch
-- Applying patch subdirs.patch
-- Applying patch android-builtin-iconv.diff
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/src/freexl-2-9fef9c4332.clean
-- Getting CMake variables for x64-windows
-- Loading CMake variables from E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/cmake-get-vars_C_CXX-x64-windows.cmake.log
-- Using cached msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst
-- Using cached msys2-automake-wrapper-20240607-1-any.pkg.tar.zst
-- Using cached msys2-autoconf-archive-2023.02.20-1-any.pkg.tar.zst
-- Using cached msys2-binutils-2.44-1-x86_64.pkg.tar.zst
-- Using cached msys2-libtool-2.5.4-1-x86_64.pkg.tar.zst
-- Using cached msys2-make-4.4.1-2-x86_64.pkg.tar.zst
-- Using cached msys2-which-2.23-4-x86_64.pkg.tar.zst
-- Using cached msys2-bash-5.2.037-2-x86_64.pkg.tar.zst
-- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst
-- Using cached msys2-file-5.46-2-x86_64.pkg.tar.zst
-- Using cached msys2-gawk-5.3.2-1-x86_64.pkg.tar.zst
-- Using cached msys2-grep-1~3.0-7-x86_64.pkg.tar.zst
-- Using cached msys2-gzip-1.14-1-x86_64.pkg.tar.zst
-- Using cached msys2-diffutils-3.12-1-x86_64.pkg.tar.zst
-- Using cached msys2-pkgconf-2.4.3-1-x86_64.pkg.tar.zst
-- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using cached msys2-autoconf2.72-2.72-3-any.pkg.tar.zst
-- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst
-- Using cached msys2-automake1.17-1.17-1-any.pkg.tar.zst
-- Using cached msys2-libiconv-1.18-1-x86_64.pkg.tar.zst
-- Using cached msys2-libintl-0.22.5-1-x86_64.pkg.tar.zst
-- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst
-- Using cached msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst
-- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst
-- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst
-- Using cached msys2-liblzma-5.8.1-1-x86_64.pkg.tar.zst
-- Using cached msys2-libzstd-1.5.7-1-x86_64.pkg.tar.zst
-- Using cached msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst
-- Using cached msys2-mpfr-4.2.2-1-x86_64.pkg.tar.zst
-- Using cached msys2-libpcre-8.45-5-x86_64.pkg.tar.zst
-- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst
-- Using cached msys2-perl-5.38.4-2-x86_64.pkg.tar.zst
-- Using cached msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst
-- Using cached msys2-libxcrypt-4.4.38-1-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/8392cd453c24d30d
-- Generating configure for x64-windows
-- Finished generating configure for x64-windows
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Configuring x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/8392cd453c24d30d/usr/bin/bash.exe --noprofile --norc --debug -c "V=1 CPP='compile cl.exe -E' CC='compile cl.exe' CXX='compile cl.exe' CC_FOR_BUILD='compile cl.exe' CPP_FOR_BUILD='compile cl.exe -E' CXX_FOR_BUILD='compile cl.exe' RC='windres-rc rc.exe' WINDRES='windres-rc rc.exe' AR='ar-lib lib.exe' LD='link.exe -verbose' RANLIB=':' STRIP=': STRIP-disabled' NM='dumpbin.exe -symbols -headers' DLLTOOL='link.exe -verbose -dll' CCAS=': CCAS-disabled' AS=': AS-disabled' ./../src/freexl-2-9fef9c4332.clean/configure \"--host=x86_64-pc-mingw32\" \"--build=x86_64-pc-mingw32\""
Working Directory: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/x64-windows-dbg
Error code: 1
See logs for more information:
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\freexl\config-x64-windows-dbg-config.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\freexl\config-x64-windows-dbg-out.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\freexl\config-x64-windows-dbg-err.log
Call Stack (most recent call first):
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-make/vcpkg_make.cmake:41 (vcpkg_execute_required_process)
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-make/vcpkg_make.cmake:339 (vcpkg_run_shell)
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-make/vcpkg_make_configure.cmake:115 (vcpkg_make_run_configure)
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/f6e8a10b1dbd66c16c5ef6df2e6f4078db623678/portfile.cmake:16 (vcpkg_make_configure)
scripts/ports.cmake:206 (include)
error: building freexl:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle freexl:x64-windows: 1.6 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+freexl
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Bfreexl%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
Completed submission of expat:x64-windows@2.8.1 to 1 binary cache(s) in 232 ms
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.31/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:2 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

276
configure5.log Normal file
View File

@ -0,0 +1,276 @@
'vswhere.exe' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages are already installed:
* curl[core,non-http,ssl,sspi]:x64-windows@8.20.0#2 -- git+https://github.com/microsoft/vcpkg@7c6e682ec4c0c5f5e8359caeb08cd26830fbf276
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* expat:x64-windows@2.8.1 -- git+https://github.com/microsoft/vcpkg@92923916d226d340977bef606ce267474f6f57a4
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libpq[core,lz4,openssl,zlib]:x64-windows@18.4 -- git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* lz4:x64-windows@1.10.0 -- git+https://github.com/microsoft/vcpkg@4f01eec10f515a428e914107c5188366380f8dd9
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
openssl:x64-windows@3.6.2 -- git+https://github.com/microsoft/vcpkg@131700c32d3bdaa8b4862deb3113a8053793833f
* pcre2[core,jit,platform-default-features]:x64-windows@10.47 -- git+https://github.com/microsoft/vcpkg@753cc6dbffbcde00b0c10b8d594108beb320a183
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2 -- git+https://github.com/microsoft/vcpkg@9ed38c0dd88cb4a34bf3682362d9e4722d7453d6
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-tool-meson:x64-windows@1.9.0#9 -- git+https://github.com/microsoft/vcpkg@f85c7f81ae0d98611514765992e5a5769d398bde
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
Additional packages (*) will be modified to complete this operation.
Restored 0 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 1.09 ms. Use --debug to see more details.
Installing 1/27 libiconv:x64-windows@1.19...
Building libiconv:x64-windows@1.19...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4: info: installing from git registry git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
-- Using cached libiconv-1.19.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/libiconv-1.19.tar.gz
-- Applying patch 0002-Config-for-MSVC.patch
-- Applying patch 0003-Add-export.patch
-- Applying patch 0004-ModuleFileName.patch
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libiconv/src/v1.19-81131afe73.clean
-- Getting CMake variables for x64-windows
-- Loading CMake variables from E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libiconv/cmake-get-vars_C_CXX-x64-windows.cmake.log
-- Using cached msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst
-- Using cached msys2-automake-wrapper-20240607-1-any.pkg.tar.zst
-- Using cached msys2-autoconf-archive-2023.02.20-1-any.pkg.tar.zst
-- Using cached msys2-binutils-2.44-1-x86_64.pkg.tar.zst
-- Using cached msys2-libtool-2.5.4-1-x86_64.pkg.tar.zst
-- Using cached msys2-make-4.4.1-2-x86_64.pkg.tar.zst
-- Using cached msys2-which-2.23-4-x86_64.pkg.tar.zst
-- Using cached msys2-bash-5.2.037-2-x86_64.pkg.tar.zst
-- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst
-- Using cached msys2-file-5.46-2-x86_64.pkg.tar.zst
-- Using cached msys2-gawk-5.3.2-1-x86_64.pkg.tar.zst
-- Using cached msys2-grep-1~3.0-7-x86_64.pkg.tar.zst
-- Using cached msys2-gzip-1.14-1-x86_64.pkg.tar.zst
-- Using cached msys2-diffutils-3.12-1-x86_64.pkg.tar.zst
-- Using cached msys2-pkgconf-2.4.3-1-x86_64.pkg.tar.zst
-- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using cached msys2-autoconf2.72-2.72-3-any.pkg.tar.zst
-- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst
-- Using cached msys2-automake1.17-1.17-1-any.pkg.tar.zst
-- Using cached msys2-libiconv-1.18-1-x86_64.pkg.tar.zst
-- Using cached msys2-libintl-0.22.5-1-x86_64.pkg.tar.zst
-- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst
-- Using cached msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst
-- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst
-- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst
-- Using cached msys2-liblzma-5.8.1-1-x86_64.pkg.tar.zst
-- Using cached msys2-libzstd-1.5.7-1-x86_64.pkg.tar.zst
-- Using cached msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst
-- Using cached msys2-mpfr-4.2.2-1-x86_64.pkg.tar.zst
-- Using cached msys2-libpcre-8.45-5-x86_64.pkg.tar.zst
-- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst
-- Using cached msys2-perl-5.38.4-2-x86_64.pkg.tar.zst
-- Using cached msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst
-- Using cached msys2-libxcrypt-4.4.38-1-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/8392cd453c24d30d
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Configuring x64-windows-dbg
-- Configuring x64-windows-rel
-- Using cached msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst
-- Using cached msys2-automake-wrapper-20240607-1-any.pkg.tar.zst
-- Using cached msys2-autoconf-archive-2023.02.20-1-any.pkg.tar.zst
-- Using cached msys2-binutils-2.44-1-x86_64.pkg.tar.zst
-- Using cached msys2-libtool-2.5.4-1-x86_64.pkg.tar.zst
-- Using cached msys2-make-4.4.1-2-x86_64.pkg.tar.zst
-- Using cached msys2-which-2.23-4-x86_64.pkg.tar.zst
-- Using cached msys2-bash-5.2.037-2-x86_64.pkg.tar.zst
-- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst
-- Using cached msys2-file-5.46-2-x86_64.pkg.tar.zst
-- Using cached msys2-gawk-5.3.2-1-x86_64.pkg.tar.zst
-- Using cached msys2-grep-1~3.0-7-x86_64.pkg.tar.zst
-- Using cached msys2-gzip-1.14-1-x86_64.pkg.tar.zst
-- Using cached msys2-diffutils-3.12-1-x86_64.pkg.tar.zst
-- Using cached msys2-pkgconf-2.4.3-1-x86_64.pkg.tar.zst
-- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using cached msys2-autoconf2.72-2.72-3-any.pkg.tar.zst
-- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst
-- Using cached msys2-automake1.17-1.17-1-any.pkg.tar.zst
-- Using cached msys2-libiconv-1.18-1-x86_64.pkg.tar.zst
-- Using cached msys2-libintl-0.22.5-1-x86_64.pkg.tar.zst
-- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst
-- Using cached msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst
-- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst
-- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst
-- Using cached msys2-liblzma-5.8.1-1-x86_64.pkg.tar.zst
-- Using cached msys2-libzstd-1.5.7-1-x86_64.pkg.tar.zst
-- Using cached msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst
-- Using cached msys2-mpfr-4.2.2-1-x86_64.pkg.tar.zst
-- Using cached msys2-libpcre-8.45-5-x86_64.pkg.tar.zst
-- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst
-- Using cached msys2-perl-5.38.4-2-x86_64.pkg.tar.zst
-- Using cached msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst
-- Using cached msys2-libxcrypt-4.4.38-1-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/8392cd453c24d30d
-- Building/Installing x64-windows-dbg
-- Making target 'all' for x64-windows-dbg
-- Making target 'install' for x64-windows-dbg
-- Building/Installing x64-windows-rel
-- Making target 'all' for x64-windows-rel
-- Making target 'install' for x64-windows-rel
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/libiconv_x64-windows/share/libiconv/usage
-- Performing post-build validation
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4\portfile.cmake: warning: The folder ${CURRENT_PACKAGES_DIR}/include is empty or not present. This usually means that headers are not correctly installed. If this is a CMake helper port, add set(VCPKG_POLICY_CMAKE_HELPER_PORT enabled). If this is not a CMake helper port but this is otherwise intentional, add set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled) to suppress this message.
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4\portfile.cmake: warning: Found 1 post-build check problem(s). These are usually caused by bugs in portfile.cmake or the upstream build system. Please correct these before submitting this port to the curated registry.
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\share/iconv/vcpkg-cmake-wrapper.cmake was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\share/libiconv/copyright was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\share/libiconv/usage was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\share/libiconv/vcpkg.spdx.json was already present and will be overwritten
warning: File E:\gitea\geopro\build\release\vcpkg_installed\x64-windows\share/libiconv/vcpkg_abi_info.txt was already present and will be overwritten
Starting submission of libiconv:x64-windows@1.19 to 1 binary cache(s) in the background
Elapsed time to handle libiconv:x64-windows: 8.1 min
libiconv:x64-windows package ABI: f54b0adabecb4f7f4664b3135966e1afc5a3bea8c9a3a7c2be027e0c4f70d058
Installing 2/27 freexl:x64-windows@2.0.0#2...
Building freexl:x64-windows@2.0.0#2...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\f6e8a10b1dbd66c16c5ef6df2e6f4078db623678: info: installing from git registry git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
-- Using cached freexl-2.0.0.tar.gz
-- Cleaning sources at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/src/freexl-2-9fef9c4332.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/freexl-2.0.0.tar.gz
-- Applying patch dependencies.patch
-- Applying patch subdirs.patch
-- Applying patch android-builtin-iconv.diff
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/src/freexl-2-9fef9c4332.clean
-- Getting CMake variables for x64-windows
-- Loading CMake variables from E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/cmake-get-vars_C_CXX-x64-windows.cmake.log
-- Using cached msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst
-- Using cached msys2-automake-wrapper-20240607-1-any.pkg.tar.zst
-- Using cached msys2-autoconf-archive-2023.02.20-1-any.pkg.tar.zst
-- Using cached msys2-binutils-2.44-1-x86_64.pkg.tar.zst
-- Using cached msys2-libtool-2.5.4-1-x86_64.pkg.tar.zst
-- Using cached msys2-make-4.4.1-2-x86_64.pkg.tar.zst
-- Using cached msys2-which-2.23-4-x86_64.pkg.tar.zst
-- Using cached msys2-bash-5.2.037-2-x86_64.pkg.tar.zst
-- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst
-- Using cached msys2-file-5.46-2-x86_64.pkg.tar.zst
-- Using cached msys2-gawk-5.3.2-1-x86_64.pkg.tar.zst
-- Using cached msys2-grep-1~3.0-7-x86_64.pkg.tar.zst
-- Using cached msys2-gzip-1.14-1-x86_64.pkg.tar.zst
-- Using cached msys2-diffutils-3.12-1-x86_64.pkg.tar.zst
-- Using cached msys2-pkgconf-2.4.3-1-x86_64.pkg.tar.zst
-- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using cached msys2-autoconf2.72-2.72-3-any.pkg.tar.zst
-- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst
-- Using cached msys2-automake1.17-1.17-1-any.pkg.tar.zst
-- Using cached msys2-libiconv-1.18-1-x86_64.pkg.tar.zst
-- Using cached msys2-libintl-0.22.5-1-x86_64.pkg.tar.zst
-- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst
-- Using cached msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst
-- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst
-- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst
-- Using cached msys2-liblzma-5.8.1-1-x86_64.pkg.tar.zst
-- Using cached msys2-libzstd-1.5.7-1-x86_64.pkg.tar.zst
-- Using cached msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst
-- Using cached msys2-mpfr-4.2.2-1-x86_64.pkg.tar.zst
-- Using cached msys2-libpcre-8.45-5-x86_64.pkg.tar.zst
-- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst
-- Using cached msys2-perl-5.38.4-2-x86_64.pkg.tar.zst
-- Using cached msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst
-- Using cached msys2-libxcrypt-4.4.38-1-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/8392cd453c24d30d
-- Generating configure for x64-windows
-- Finished generating configure for x64-windows
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Configuring x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/8392cd453c24d30d/usr/bin/bash.exe --noprofile --norc --debug -c "V=1 CPP='compile cl.exe -E' CC='compile cl.exe' CXX='compile cl.exe' CC_FOR_BUILD='compile cl.exe' CPP_FOR_BUILD='compile cl.exe -E' CXX_FOR_BUILD='compile cl.exe' RC='windres-rc rc.exe' WINDRES='windres-rc rc.exe' AR='ar-lib lib.exe' LD='link.exe -verbose' RANLIB=':' STRIP=': STRIP-disabled' NM='dumpbin.exe -symbols -headers' DLLTOOL='link.exe -verbose -dll' CCAS=': CCAS-disabled' AS=': AS-disabled' ./../src/freexl-2-9fef9c4332.clean/configure \"--host=x86_64-pc-mingw32\" \"--build=x86_64-pc-mingw32\""
Working Directory: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/x64-windows-dbg
Error code: 1
See logs for more information:
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\freexl\config-x64-windows-dbg-config.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\freexl\config-x64-windows-dbg-out.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\freexl\config-x64-windows-dbg-err.log
Call Stack (most recent call first):
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-make/vcpkg_make.cmake:41 (vcpkg_execute_required_process)
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-make/vcpkg_make.cmake:339 (vcpkg_run_shell)
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-make/vcpkg_make_configure.cmake:115 (vcpkg_make_run_configure)
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/f6e8a10b1dbd66c16c5ef6df2e6f4078db623678/portfile.cmake:16 (vcpkg_make_configure)
scripts/ports.cmake:206 (include)
error: building freexl:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle freexl:x64-windows: 1.4 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+freexl
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Bfreexl%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
Completed submission of libiconv:x64-windows@1.19 to 1 binary cache(s) in 104 ms
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.31/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:2 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

128
configure6.log Normal file
View File

@ -0,0 +1,128 @@
'vswhere.exe' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages are already installed:
* curl[core,non-http,ssl,sspi]:x64-windows@8.20.0#2 -- git+https://github.com/microsoft/vcpkg@7c6e682ec4c0c5f5e8359caeb08cd26830fbf276
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* expat:x64-windows@2.8.1 -- git+https://github.com/microsoft/vcpkg@92923916d226d340977bef606ce267474f6f57a4
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libpq[core,lz4,openssl,zlib]:x64-windows@18.4 -- git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* lz4:x64-windows@1.10.0 -- git+https://github.com/microsoft/vcpkg@4f01eec10f515a428e914107c5188366380f8dd9
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
openssl:x64-windows@3.6.2 -- git+https://github.com/microsoft/vcpkg@131700c32d3bdaa8b4862deb3113a8053793833f
* pcre2[core,jit,platform-default-features]:x64-windows@10.47 -- git+https://github.com/microsoft/vcpkg@753cc6dbffbcde00b0c10b8d594108beb320a183
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2 -- git+https://github.com/microsoft/vcpkg@9ed38c0dd88cb4a34bf3682362d9e4722d7453d6
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-tool-meson:x64-windows@1.9.0#9 -- git+https://github.com/microsoft/vcpkg@f85c7f81ae0d98611514765992e5a5769d398bde
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
Additional packages (*) will be modified to complete this operation.
Restored 0 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 544 us. Use --debug to see more details.
Installing 1/26 freexl:x64-windows@2.0.0#2...
Building freexl:x64-windows@2.0.0#2...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\f6e8a10b1dbd66c16c5ef6df2e6f4078db623678: info: installing from git registry git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
-- Using cached freexl-2.0.0.tar.gz
-- Cleaning sources at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/src/freexl-2-9fef9c4332.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/freexl-2.0.0.tar.gz
-- Applying patch dependencies.patch
-- Applying patch subdirs.patch
-- Applying patch android-builtin-iconv.diff
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/src/freexl-2-9fef9c4332.clean
-- Getting CMake variables for x64-windows
-- Loading CMake variables from E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/cmake-get-vars_C_CXX-x64-windows.cmake.log
-- Using cached msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst
-- Using cached msys2-automake-wrapper-20240607-1-any.pkg.tar.zst
-- Using cached msys2-autoconf-archive-2023.02.20-1-any.pkg.tar.zst
-- Using cached msys2-binutils-2.44-1-x86_64.pkg.tar.zst
-- Using cached msys2-libtool-2.5.4-1-x86_64.pkg.tar.zst
-- Using cached msys2-make-4.4.1-2-x86_64.pkg.tar.zst
-- Using cached msys2-which-2.23-4-x86_64.pkg.tar.zst
-- Using cached msys2-bash-5.2.037-2-x86_64.pkg.tar.zst
-- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst
-- Using cached msys2-file-5.46-2-x86_64.pkg.tar.zst
-- Using cached msys2-gawk-5.3.2-1-x86_64.pkg.tar.zst
-- Using cached msys2-grep-1~3.0-7-x86_64.pkg.tar.zst
-- Using cached msys2-gzip-1.14-1-x86_64.pkg.tar.zst
-- Using cached msys2-diffutils-3.12-1-x86_64.pkg.tar.zst
-- Using cached msys2-pkgconf-2.4.3-1-x86_64.pkg.tar.zst
-- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using cached msys2-autoconf2.72-2.72-3-any.pkg.tar.zst
-- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst
-- Using cached msys2-automake1.17-1.17-1-any.pkg.tar.zst
-- Using cached msys2-libiconv-1.18-1-x86_64.pkg.tar.zst
-- Using cached msys2-libintl-0.22.5-1-x86_64.pkg.tar.zst
-- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst
-- Using cached msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst
-- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst
-- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst
-- Using cached msys2-liblzma-5.8.1-1-x86_64.pkg.tar.zst
-- Using cached msys2-libzstd-1.5.7-1-x86_64.pkg.tar.zst
-- Using cached msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst
-- Using cached msys2-mpfr-4.2.2-1-x86_64.pkg.tar.zst
-- Using cached msys2-libpcre-8.45-5-x86_64.pkg.tar.zst
-- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst
-- Using cached msys2-perl-5.38.4-2-x86_64.pkg.tar.zst
-- Using cached msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst
-- Using cached msys2-libxcrypt-4.4.38-1-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/8392cd453c24d30d
-- Generating configure for x64-windows
-- Finished generating configure for x64-windows
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Configuring x64-windows-dbg
-- Configuring x64-windows-rel

254
configure_cmd.log Normal file
View File

@ -0,0 +1,254 @@
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE:FILEPATH="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages are already installed:
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
openssl:x64-windows@3.6.3 -- git+https://github.com/microsoft/vcpkg@b4a2360e8425d8d5e2a24436804b592bef26980b
* pcre2[core,jit,platform-default-features]:x64-windows@10.47#1 -- git+https://github.com/microsoft/vcpkg@4aadba4e9632486c9e7bbd5c9e701496c6170b10
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1 -- git+https://github.com/microsoft/vcpkg@2ccab6992dbd68ec1b0ebcb0bb13d92af37c7beb
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* curl[core,non-http,ssl,sspi]:x64-windows@8.21.0 -- git+https://github.com/microsoft/vcpkg@25691635999525c850519f780198b74ecb28354b
* expat:x64-windows@2.8.2 -- git+https://github.com/microsoft/vcpkg@d828778d8b6c0ea3cfd1dcd6c42618f5ffec7b49
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,qhull,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
* vcpkg-tool-meson:x64-windows@1.9.0#10 -- git+https://github.com/microsoft/vcpkg@86a0d388e3e72719eadc392e359ee80f2f8d8a16
Additional packages (*) will be modified to complete this operation.
Restored 7 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 1.1 s. Use --debug to see more details.
Installing 1/36 curl[core,non-http,ssl,sspi]:x64-windows@8.21.0...
Building curl[core,non-http,ssl,sspi]:x64-windows@8.21.0...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\25691635999525c850519f780198b74ecb28354b: info: installing from git registry git+https://github.com/microsoft/vcpkg@25691635999525c850519f780198b74ecb28354b
-- Using cached curl-curl-curl-8_21_0.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/curl-curl-curl-8_21_0.tar.gz
-- Applying patch dependencies.patch
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/curl/src/url-8_21_0-fb639eb98a.clean
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/curl_x64-windows/lib/pkgconfig/libcurl.pc
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/curl_x64-windows/debug/lib/pkgconfig/libcurl.pc
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/curl_x64-windows/share/curl/vcpkg-cmake-wrapper.cmake
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/curl_x64-windows/share/curl/usage
-- Performing post-build validation
Starting submission of curl[core,non-http,ssl,sspi]:x64-windows@8.21.0 to 1 binary cache(s) in the background
Elapsed time to handle curl:x64-windows: 46 s
curl:x64-windows package ABI: 8f498221142c16c5c08202f354489965352919c5cfecca631e972af1fb4638a4
Installing 2/36 tinyxml2:x64-windows@11.0.0...
Elapsed time to handle tinyxml2:x64-windows: 107 ms
tinyxml2:x64-windows package ABI: 029e9eb395c43d625a97922b760d78424399683f7555e9bb777cae18b6935041
Installing 3/36 netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3...
Building netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\c975887ccc47e534bdd79ddb29d7a11506f2d712: info: installing from git registry git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
-- Using cached windows-stat1-02ba4e90a8b7683277e353c92a6b1627bb8e3dfd.patch
-- Using cached windows-stat2-d97667994ecc8ac30d4f5ea59b440b4187ab5328.patch
-- Using cached windows-stat3-22a370fcf1332674f718395c889524b50ddb836a.patch
-- Using cached Unidata-netcdf-c-v4.9.3.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/Unidata-netcdf-c-v4.9.3.tar.gz
-- Applying patch no-install-deps.patch
-- Applying patch dependencies.diff
-- Applying patch fix-pkgconfig.patch
-- Applying patch mremap.diff
-- Applying patch plugin-install-dir.diff
-- Applying patch fstat.patch
-- Applying patch backport-d7895f6.diff
-- Applying patch C:/Users/zhangyu/AppData/Local/vcpkg/downloads/windows-stat1-02ba4e90a8b7683277e353c92a6b1627bb8e3dfd.patch
-- Applying patch C:/Users/zhangyu/AppData/Local/vcpkg/downloads/windows-stat2-d97667994ecc8ac30d4f5ea59b440b4187ab5328.patch
-- Applying patch C:/Users/zhangyu/AppData/Local/vcpkg/downloads/windows-stat3-22a370fcf1332674f718395c889524b50ddb836a.patch
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/netcdf-c/src/v4.9.3-d9b9e23e38.clean
-- Configuring x64-windows-dbg
-- Configuring x64-windows-rel
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/netcdf-c_x64-windows/lib/pkgconfig/netcdf.pc
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/netcdf-c_x64-windows/debug/lib/pkgconfig/netcdf.pc
-- Performing post-build validation
Starting submission of netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 to 1 binary cache(s) in the background
Elapsed time to handle netcdf-c:x64-windows: 2.9 min
netcdf-c:x64-windows package ABI: d1716cac3ef22a91fbf92a15d59b330bd2cd419faeaeac48402c8b273c3ad363
Completed submission of curl[core,non-http,ssl,sspi]:x64-windows@8.21.0 to 1 binary cache(s) in 1.4 s
Installing 4/36 liblzma:x64-windows@5.8.3...
Elapsed time to handle liblzma:x64-windows: 56 ms
liblzma:x64-windows package ABI: df057cdeff43a96f2d2acd85f0efb58adf2ba93bfb883b7e543bb6bc735c05d6
Installing 5/36 vcpkg-make:x64-windows@2026-01-01...
Elapsed time to handle vcpkg-make:x64-windows: 31 ms
vcpkg-make:x64-windows package ABI: 7de099112822d61085dcca6233c98e566cd12bc075472fb092c0218a2d633224
Installing 6/36 libiconv:x64-windows@1.19...
Elapsed time to handle libiconv:x64-windows: 40 ms
libiconv:x64-windows package ABI: f54b0adabecb4f7f4664b3135966e1afc5a3bea8c9a3a7c2be027e0c4f70d058
Installing 7/36 libxml2[core,iconv,zlib]:x64-windows@2.15.3...
Elapsed time to handle libxml2:x64-windows: 67.3 ms
libxml2:x64-windows package ABI: b70a973ac198e3be284a62577e74da5baf549ce69130bc02309a69a243940ed0
Installing 8/36 minizip:x64-windows@1.3.2...
Elapsed time to handle minizip:x64-windows: 43.4 ms
minizip:x64-windows package ABI: 4f71cfe3c0886de19de6a3b2f6c1c5872a6f7c13146f57f6ad86eb64e86e8945
Installing 9/36 expat:x64-windows@2.8.2...
Building expat:x64-windows@2.8.2...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\d828778d8b6c0ea3cfd1dcd6c42618f5ffec7b49: info: installing from git registry git+https://github.com/microsoft/vcpkg@d828778d8b6c0ea3cfd1dcd6c42618f5ffec7b49
Downloading https://github.com/libexpat/libexpat/archive/R_2_8_2.tar.gz -> libexpat-libexpat-R_2_8_2.tar.gz
Successfully downloaded libexpat-libexpat-R_2_8_2.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/libexpat-libexpat-R_2_8_2.tar.gz
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/expat/src/R_2_8_2-303f035c99.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/expat_x64-windows/lib/pkgconfig/expat.pc
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/expat_x64-windows/debug/lib/pkgconfig/expat.pc
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/expat_x64-windows/share/expat/copyright
-- Performing post-build validation
Starting submission of expat:x64-windows@2.8.2 to 1 binary cache(s) in the background
Elapsed time to handle expat:x64-windows: 58 s
expat:x64-windows package ABI: 202dd814f3d30b4fc14d275c3e27c4b48320eed156c3715897de8b8bfe7ea1fb
Completed submission of netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 to 1 binary cache(s) in 652 ms
Installing 10/36 freexl:x64-windows@2.0.0#2...
Building freexl:x64-windows@2.0.0#2...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\f6e8a10b1dbd66c16c5ef6df2e6f4078db623678: info: installing from git registry git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
-- Using cached freexl-2.0.0.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/freexl-2.0.0.tar.gz
-- Applying patch dependencies.patch
-- Applying patch subdirs.patch
-- Applying patch android-builtin-iconv.diff
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/src/freexl-2-9fef9c4332.clean
-- Getting CMake variables for x64-windows
-- Loading CMake variables from E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/cmake-get-vars_C_CXX-x64-windows.cmake.log
-- Using cached msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst
-- Using cached msys2-automake-wrapper-20240607-1-any.pkg.tar.zst
-- Using cached msys2-autoconf-archive-2023.02.20-1-any.pkg.tar.zst
-- Using cached msys2-binutils-2.44-1-x86_64.pkg.tar.zst
-- Using cached msys2-libtool-2.5.4-1-x86_64.pkg.tar.zst
-- Using cached msys2-make-4.4.1-2-x86_64.pkg.tar.zst
-- Using cached msys2-which-2.23-4-x86_64.pkg.tar.zst
-- Using cached msys2-bash-5.2.037-2-x86_64.pkg.tar.zst
-- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst
-- Using cached msys2-file-5.46-2-x86_64.pkg.tar.zst
-- Using cached msys2-gawk-5.3.2-1-x86_64.pkg.tar.zst
-- Using cached msys2-grep-1~3.0-7-x86_64.pkg.tar.zst
-- Using cached msys2-gzip-1.14-1-x86_64.pkg.tar.zst
-- Using cached msys2-diffutils-3.12-1-x86_64.pkg.tar.zst
-- Using cached msys2-pkgconf-2.4.3-1-x86_64.pkg.tar.zst
-- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using cached msys2-autoconf2.72-2.72-3-any.pkg.tar.zst
-- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst
-- Using cached msys2-automake1.17-1.17-1-any.pkg.tar.zst
-- Using cached msys2-libiconv-1.18-1-x86_64.pkg.tar.zst
-- Using cached msys2-libintl-0.22.5-1-x86_64.pkg.tar.zst
-- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst
-- Using cached msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst
-- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst
-- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst
-- Using cached msys2-liblzma-5.8.1-1-x86_64.pkg.tar.zst
-- Using cached msys2-libzstd-1.5.7-1-x86_64.pkg.tar.zst
-- Using cached msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst
-- Using cached msys2-mpfr-4.2.2-1-x86_64.pkg.tar.zst
-- Using cached msys2-libpcre-8.45-5-x86_64.pkg.tar.zst
-- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst
-- Using cached msys2-perl-5.38.4-2-x86_64.pkg.tar.zst
-- Using cached msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst
-- Using cached msys2-libxcrypt-4.4.38-1-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/8392cd453c24d30d
-- Generating configure for x64-windows
-- Finished generating configure for x64-windows
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Configuring x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/8392cd453c24d30d/usr/bin/bash.exe --noprofile --norc --debug -c "V=1 CPP='compile cl.exe -E' CC='compile cl.exe' CXX='compile cl.exe' CC_FOR_BUILD='compile cl.exe' CPP_FOR_BUILD='compile cl.exe -E' CXX_FOR_BUILD='compile cl.exe' RC='windres-rc rc.exe' WINDRES='windres-rc rc.exe' AR='ar-lib lib.exe' LD='link.exe -verbose' RANLIB=':' STRIP=': STRIP-disabled' NM='dumpbin.exe -symbols -headers' DLLTOOL='link.exe -verbose -dll' CCAS=': CCAS-disabled' AS=': AS-disabled' ./../src/freexl-2-9fef9c4332.clean/configure \"--host=x86_64-pc-mingw32\" \"--build=x86_64-pc-mingw32\""
Working Directory: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/x64-windows-dbg
Error code: 1
See logs for more information:
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\freexl\config-x64-windows-dbg-config.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\freexl\config-x64-windows-dbg-out.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\freexl\config-x64-windows-dbg-err.log
Call Stack (most recent call first):
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-make/vcpkg_make.cmake:41 (vcpkg_execute_required_process)
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-make/vcpkg_make.cmake:339 (vcpkg_run_shell)
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-make/vcpkg_make_configure.cmake:115 (vcpkg_make_run_configure)
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/f6e8a10b1dbd66c16c5ef6df2e6f4078db623678/portfile.cmake:16 (vcpkg_make_configure)
scripts/ports.cmake:206 (include)
error: building freexl:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle freexl:x64-windows: 1.5 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+freexl
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Bfreexl%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
Completed submission of expat:x64-windows@2.8.2 to 1 binary cache(s) in 270 ms
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Qt/Tools/CMake_64/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:8 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

375
configure_cmd2.log Normal file
View File

@ -0,0 +1,375 @@
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE:FILEPATH="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Fetching registry information from https://github.com/microsoft/vcpkg (HEAD)...
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* curl[core,non-http,ssl,sspi]:x64-windows@8.21.0 -- git+https://github.com/microsoft/vcpkg@25691635999525c850519f780198b74ecb28354b
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* expat:x64-windows@2.8.2 -- git+https://github.com/microsoft/vcpkg@d828778d8b6c0ea3cfd1dcd6c42618f5ffec7b49
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,qhull,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
openssl:x64-windows@3.6.3 -- git+https://github.com/microsoft/vcpkg@b4a2360e8425d8d5e2a24436804b592bef26980b
* pcre2[core,jit,platform-default-features]:x64-windows@10.47#1 -- git+https://github.com/microsoft/vcpkg@4aadba4e9632486c9e7bbd5c9e701496c6170b10
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1 -- git+https://github.com/microsoft/vcpkg@2ccab6992dbd68ec1b0ebcb0bb13d92af37c7beb
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
* vcpkg-tool-meson:x64-windows@1.9.0#10 -- git+https://github.com/microsoft/vcpkg@86a0d388e3e72719eadc392e359ee80f2f8d8a16
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
Additional packages (*) will be modified to complete this operation.
Restored 25 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 1.6 s. Use --debug to see more details.
Installing 1/49 vcpkg-cmake-config:x64-windows@2024-05-23...
Elapsed time to handle vcpkg-cmake-config:x64-windows: 9.27 ms
vcpkg-cmake-config:x64-windows package ABI: 04aa64ee18f611ef68c93242720edecdf11d85a9e34b6374b4b93fdb5c16669c
Installing 2/49 vcpkg-cmake:x64-windows@2024-04-23...
Elapsed time to handle vcpkg-cmake:x64-windows: 10.8 ms
vcpkg-cmake:x64-windows package ABI: 017a10e0d7e7984aacad72464d319cfd1a85908180db468f39841bdb1190a9c0
Installing 3/49 eigen3:x64-windows@5.0.1...
Elapsed time to handle eigen3:x64-windows: 265 ms
eigen3:x64-windows package ABI: c0bc91a52bab661f31b426880549af3f3d929a7eeceb3118d82b828edb4bda2a
Installing 4/49 zstd:x64-windows@1.5.7...
Elapsed time to handle zstd:x64-windows: 24.5 ms
zstd:x64-windows package ABI: e0aa816054b20be41b18a4cd28709eb3b324ebfc66d10886335566efbc2c315b
Installing 5/49 libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2...
Elapsed time to handle libwebp:x64-windows: 49 ms
libwebp:x64-windows package ABI: 4ed3a78306bbdb765f2f3e76cb64f97950e4e16318f71a274196c56c7beb9f6e
Installing 6/49 sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1...
Elapsed time to handle sqlite3:x64-windows: 30.8 ms
sqlite3:x64-windows package ABI: 8538c65eec1195c1120890c51c17022217b2613e666ac3c0442ff352c14ed9a6
Installing 7/49 qhull:x64-windows@8.0.2#6...
Elapsed time to handle qhull:x64-windows: 49 ms
qhull:x64-windows package ABI: e52a2a63147f7b926d7fd48d4aa8b26a66993f86d9961f1ca7da330314cabb5e
Installing 8/49 zlib:x64-windows@1.3.2#1...
Elapsed time to handle zlib:x64-windows: 25.8 ms
zlib:x64-windows package ABI: 6a88b93ee849b4a020534a2a14bd71452b33fc8cf0d3b9979cbd8f3a629a6bf5
Installing 9/49 libpng:x64-windows@1.6.58...
Elapsed time to handle libpng:x64-windows: 27.6 ms
libpng:x64-windows package ABI: fa118cd376e84825f546530184fcce19752670b5a2a5f11fb29d81594d0f9293
Installing 10/49 pcre2[core,jit,platform-default-features]:x64-windows@10.47#1...
Elapsed time to handle pcre2:x64-windows: 101 ms
pcre2:x64-windows package ABI: c49582ef6b78fc6749d5b7034525d6280d82ae83eaa899fe3afd903c453fbe44
Installing 11/49 vcpkg-cmake-get-vars:x64-windows@2025-05-29...
Elapsed time to handle vcpkg-cmake-get-vars:x64-windows: 19.8 ms
vcpkg-cmake-get-vars:x64-windows package ABI: 1aa590ec47b0afed6045265283d635fc69448539704eb2291cf9352d64b0f9f4
Installing 12/49 openssl:x64-windows@3.6.3...
Elapsed time to handle openssl:x64-windows: 112 ms
openssl:x64-windows package ABI: fd7d67d0bc4b5547378d31bb7bce420d44e6c6fc18229364a989432aa4a4c669
Installing 13/49 openjpeg:x64-windows@2.5.4...
Elapsed time to handle openjpeg:x64-windows: 18.8 ms
openjpeg:x64-windows package ABI: 6343fa22974f8fb5f7051d04a80b694e3886f7f90e6bfd3b8b28e835a296a339
Installing 14/49 libaec:x64-windows@1.1.6...
Elapsed time to handle libaec:x64-windows: 20.4 ms
libaec:x64-windows package ABI: efd7451de89ad7fc618104d6573a5d9446e2eed0028b07d4fc88968b143d5096
Installing 15/49 hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1...
Elapsed time to handle hdf5:x64-windows: 75.6 ms
hdf5:x64-windows package ABI: 70e83defdb92bea061fa9ff3f9939c11aa5b2cdeba61fffa63d2980c48ded349
Installing 16/49 curl[core,non-http,ssl,sspi]:x64-windows@8.21.0...
Elapsed time to handle curl:x64-windows: 47.7 ms
curl:x64-windows package ABI: 8f498221142c16c5c08202f354489965352919c5cfecca631e972af1fb4638a4
Installing 17/49 tinyxml2:x64-windows@11.0.0...
Elapsed time to handle tinyxml2:x64-windows: 21.5 ms
tinyxml2:x64-windows package ABI: 029e9eb395c43d625a97922b760d78424399683f7555e9bb777cae18b6935041
Installing 18/49 netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3...
Elapsed time to handle netcdf-c:x64-windows: 24.8 ms
netcdf-c:x64-windows package ABI: d1716cac3ef22a91fbf92a15d59b330bd2cd419faeaeac48402c8b273c3ad363
Installing 19/49 liblzma:x64-windows@5.8.3...
Elapsed time to handle liblzma:x64-windows: 30.4 ms
liblzma:x64-windows package ABI: df057cdeff43a96f2d2acd85f0efb58adf2ba93bfb883b7e543bb6bc735c05d6
Installing 20/49 vcpkg-make:x64-windows@2026-01-01...
Elapsed time to handle vcpkg-make:x64-windows: 20.6 ms
vcpkg-make:x64-windows package ABI: 7de099112822d61085dcca6233c98e566cd12bc075472fb092c0218a2d633224
Installing 21/49 libiconv:x64-windows@1.19...
Elapsed time to handle libiconv:x64-windows: 20.9 ms
libiconv:x64-windows package ABI: f54b0adabecb4f7f4664b3135966e1afc5a3bea8c9a3a7c2be027e0c4f70d058
Installing 22/49 libxml2[core,iconv,zlib]:x64-windows@2.15.3...
Elapsed time to handle libxml2:x64-windows: 41.4 ms
libxml2:x64-windows package ABI: b70a973ac198e3be284a62577e74da5baf549ce69130bc02309a69a243940ed0
Installing 23/49 uriparser:x64-windows@1.0.2...
Building uriparser:x64-windows@1.0.2...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\e4be433413c0dbaedf85eacfcaf998b00ad4e778: info: installing from git registry git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
Downloading https://github.com/uriparser/uriparser/archive/uriparser-1.0.2.tar.gz -> uriparser-uriparser-uriparser-1.0.2.tar.gz
Successfully downloaded uriparser-uriparser-uriparser-1.0.2.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/uriparser-uriparser-uriparser-1.0.2.tar.gz
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/uriparser/src/rser-1.0.2-ace1afec14.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/uriparser_x64-windows/share/uriparser/usage
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Performing post-build validation
Starting submission of uriparser:x64-windows@1.0.2 to 1 binary cache(s) in the background
Elapsed time to handle uriparser:x64-windows: 14 s
uriparser:x64-windows package ABI: b0766d9b577a43849ec87d62a8f62b10f962c2970953aa78d91d841aaa8487f2
Installing 24/49 minizip:x64-windows@1.3.2...
Elapsed time to handle minizip:x64-windows: 19.9 ms
minizip:x64-windows package ABI: 4f71cfe3c0886de19de6a3b2f6c1c5872a6f7c13146f57f6ad86eb64e86e8945
Installing 25/49 expat:x64-windows@2.8.2...
Elapsed time to handle expat:x64-windows: 15.7 ms
expat:x64-windows package ABI: 202dd814f3d30b4fc14d275c3e27c4b48320eed156c3715897de8b8bfe7ea1fb
Installing 26/49 vcpkg-boost:x64-windows@2025-03-29...
Building vcpkg-boost:x64-windows@2025-03-29...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\858b0333b773b5650c3f19ef271e3205542d7ceb: info: installing from git registry git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/vcpkg-boost_x64-windows/share/vcpkg-boost/usage.in
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/vcpkg-boost_x64-windows/share/vcpkg-boost/boost-install.cmake
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/vcpkg-boost_x64-windows/share/vcpkg-boost/vcpkg-port-config.cmake
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/vcpkg-boost_x64-windows/share/vcpkg-boost/copyright
-- Performing post-build validation
Starting submission of vcpkg-boost:x64-windows@2025-03-29 to 1 binary cache(s) in the background
Elapsed time to handle vcpkg-boost:x64-windows: 162 ms
vcpkg-boost:x64-windows package ABI: e44b1da4e819b5916ea181f6bd3cc2da1d39b5798d37f8c8f8877c0580a50441
Installing 27/49 boost-uninstall:x64-windows@1.91.0...
Building boost-uninstall:x64-windows@1.91.0...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\994edb0dd23a8128b406950af82b14c09aa2aa15: info: installing from git registry git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
--
Please use the following command when you need to remove all boost ports/components:
"./vcpkg remove boost-uninstall:x64-windows --recurse"
-- Skipping post-build validation due to VCPKG_POLICY_EMPTY_PACKAGE
Starting submission of boost-uninstall:x64-windows@1.91.0 to 1 binary cache(s) in the background
Elapsed time to handle boost-uninstall:x64-windows: 175 ms
boost-uninstall:x64-windows package ABI: 05ab766bdd7e15619e903a3d98b08c263c1a979ed37a70e92cb5678890c17617
Completed submission of uriparser:x64-windows@1.0.2 to 1 binary cache(s) in 243 ms
Completed submission of vcpkg-boost:x64-windows@2025-03-29 to 1 binary cache(s) in 51.4 ms
Installing 28/49 boost-cmake:x64-windows@1.91.0...
Building boost-cmake:x64-windows@1.91.0...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\d85de3550a34d3b4b17e3572cfbece52ec61d3d3: info: installing from git registry git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
Downloading https://github.com/boostorg/cmake/archive/boost-1.91.0.tar.gz -> boostorg-cmake-boost-1.91.0.tar.gz
Successfully downloaded boostorg-cmake-boost-1.91.0.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/boostorg-cmake-boost-1.91.0.tar.gz
-- Applying patch 0001-vcpkg-build.patch
-- Applying patch 0002-remove-prefix-and-suffix.patch
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/boost-cmake/src/ost-1.91.0-b98b86c516.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Up-to-date: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-cmake_x64-windows/share/boost/cmake-build
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-cmake_x64-windows/share/boost/cmake-build/BoostFetch.cmake
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-cmake_x64-windows/share/boost/cmake-build/BoostInstall.cmake
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-cmake_x64-windows/share/boost/cmake-build/BoostMessage.cmake
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-cmake_x64-windows/share/boost/cmake-build/BoostRoot.cmake
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-cmake_x64-windows/share/boost/cmake-build/BoostTest.cmake
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-cmake_x64-windows/share/boost/cmake-build/BoostTestJamfile.cmake
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-cmake_x64-windows/share/boost-cmake/vcpkg-port-config.cmake
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-cmake_x64-windows/share/boost-cmake/usage
Downloading https://raw.githubusercontent.com/boostorg/boost/refs/tags/boost-1.91.0/LICENSE_1_0.txt -> boost-1.91.0-LICENSE_1_0.txt
Successfully downloaded boost-1.91.0-LICENSE_1_0.txt
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-cmake_x64-windows/share/boost-cmake/copyright
-- Performing post-build validation
Starting submission of boost-cmake:x64-windows@1.91.0 to 1 binary cache(s) in the background
Elapsed time to handle boost-cmake:x64-windows: 4.4 s
boost-cmake:x64-windows package ABI: 2a61a432d791339eecbdc2850c438c8f69c2bd96a3d8dee8686f740d7315c4d5
Completed submission of boost-uninstall:x64-windows@1.91.0 to 1 binary cache(s) in 55.8 ms
Installing 29/49 boost-headers:x64-windows@1.91.0...
Building boost-headers:x64-windows@1.91.0...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\0e186786baeaa3e1270ddafcc137d5482974f6ac: info: installing from git registry git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
Downloading https://github.com/boostorg/headers/archive/boost-1.91.0.tar.gz -> boostorg-headers-boost-1.91.0.tar.gz
Successfully downloaded boostorg-headers-boost-1.91.0.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/boostorg-headers-boost-1.91.0.tar.gz
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/boost-headers/src/ost-1.91.0-deced4dad5.clean
-- Configuring x64-windows
-- Building x64-windows-rel
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-headers_x64-windows/share/boost-headers/copyright
-- Performing post-build validation
Starting submission of boost-headers:x64-windows@1.91.0 to 1 binary cache(s) in the background
Elapsed time to handle boost-headers:x64-windows: 3.5 s
boost-headers:x64-windows package ABI: 78ce58334053f65ae994299a487682d7edb3054f33f0ba3cb261a96566d11489
Completed submission of boost-cmake:x64-windows@1.91.0 to 1 binary cache(s) in 50.9 ms
Installing 30/49 boost-config:x64-windows@1.91.0...
Building boost-config:x64-windows@1.91.0...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\eb56fb562a14bc234514aeea5f9385036d994a92: info: installing from git registry git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
Downloading https://github.com/boostorg/config/archive/boost-1.91.0.tar.gz -> boostorg-config-boost-1.91.0.tar.gz
Successfully downloaded boostorg-config-boost-1.91.0.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/boostorg-config-boost-1.91.0.tar.gz
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/boost-config/src/ost-1.91.0-8c93c1936b.clean
-- Configuring x64-windows
-- Building x64-windows-rel
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-config_x64-windows/share/boost-config/copyright
-- Performing post-build validation
Starting submission of boost-config:x64-windows@1.91.0 to 1 binary cache(s) in the background
Elapsed time to handle boost-config:x64-windows: 6.5 s
boost-config:x64-windows package ABI: 913e85ce7a9466d224e055144f9a07bb56a07dd279b0e82c05b0f2cfce49d6b4
Completed submission of boost-headers:x64-windows@1.91.0 to 1 binary cache(s) in 47.9 ms
Installing 31/49 boost-assert:x64-windows@1.91.0...
Building boost-assert:x64-windows@1.91.0...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\793cfa5c94d9f1af2a3d9101482f37f19c9db3aa: info: installing from git registry git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
Downloading https://github.com/boostorg/assert/archive/boost-1.91.0.tar.gz -> boostorg-assert-boost-1.91.0.tar.gz
Successfully downloaded boostorg-assert-boost-1.91.0.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/boostorg-assert-boost-1.91.0.tar.gz
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/boost-assert/src/ost-1.91.0-cb8d01e109.clean
-- Configuring x64-windows
-- Building x64-windows-rel
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-assert_x64-windows/share/boost-assert/copyright
-- Performing post-build validation
Starting submission of boost-assert:x64-windows@1.91.0 to 1 binary cache(s) in the background
Elapsed time to handle boost-assert:x64-windows: 4.2 s
boost-assert:x64-windows package ABI: dbd5d118e5a27e8996c7aa93cf09606159138a2bd51cc1222377c3bee1c93a01
Completed submission of boost-config:x64-windows@1.91.0 to 1 binary cache(s) in 115 ms
Installing 32/49 boost-throw-exception:x64-windows@1.91.0...
Building boost-throw-exception:x64-windows@1.91.0...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\fbf7639111d30af2cd4c8c73796da803240b6ae0: info: installing from git registry git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
Downloading https://github.com/boostorg/throw_exception/archive/boost-1.91.0.tar.gz -> boostorg-throw_exception-boost-1.91.0.tar.gz
Successfully downloaded boostorg-throw_exception-boost-1.91.0.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/boostorg-throw_exception-boost-1.91.0.tar.gz
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/boost-throw-exception/src/ost-1.91.0-34cc1d0ecf.clean
-- Configuring x64-windows
-- Building x64-windows-rel
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-throw-exception_x64-windows/share/boost-throw-exception/copyright
-- Performing post-build validation
Starting submission of boost-throw-exception:x64-windows@1.91.0 to 1 binary cache(s) in the background
Elapsed time to handle boost-throw-exception:x64-windows: 4 s
boost-throw-exception:x64-windows package ABI: a4589e94a522339b1ee1b11492d6c8a5f34f615a2d3bb839a0abf8ab059fc301
Completed submission of boost-assert:x64-windows@1.91.0 to 1 binary cache(s) in 71.2 ms
Installing 33/49 boost-core:x64-windows@1.91.0...
Building boost-core:x64-windows@1.91.0...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d: info: installing from git registry git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
Downloading https://github.com/boostorg/core/archive/boost-1.91.0.tar.gz -> boostorg-core-boost-1.91.0.tar.gz
Successfully downloaded boostorg-core-boost-1.91.0.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/boostorg-core-boost-1.91.0.tar.gz
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/boost-core/src/ost-1.91.0-2ac64990bd.clean
-- Configuring x64-windows
-- Building x64-windows-rel
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-core_x64-windows/share/boost-core/copyright
-- Performing post-build validation
Starting submission of boost-core:x64-windows@1.91.0 to 1 binary cache(s) in the background
Elapsed time to handle boost-core:x64-windows: 5.1 s
boost-core:x64-windows package ABI: f9ee3a7680dc99a17525e78c0177c87deca5df6cf7f3c34c2d74470b3c4c371f
Completed submission of boost-throw-exception:x64-windows@1.91.0 to 1 binary cache(s) in 50.6 ms
Installing 34/49 boost-smart-ptr:x64-windows@1.91.0...
Building boost-smart-ptr:x64-windows@1.91.0...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\a28b0cf92a889724d989bf2f9d232bc9e64aa185: info: installing from git registry git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
Downloading https://github.com/boostorg/smart_ptr/archive/boost-1.91.0.tar.gz -> boostorg-smart_ptr-boost-1.91.0.tar.gz
Successfully downloaded boostorg-smart_ptr-boost-1.91.0.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/boostorg-smart_ptr-boost-1.91.0.tar.gz
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/boost-smart-ptr/src/ost-1.91.0-78dc9273c8.clean
-- Configuring x64-windows
-- Building x64-windows-rel
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/boost-smart-ptr_x64-windows/share/boost-smart-ptr/copyright
-- Performing post-build validation
Starting submission of boost-smart-ptr:x64-windows@1.91.0 to 1 binary cache(s) in the background
Elapsed time to handle boost-smart-ptr:x64-windows: 5.3 s
boost-smart-ptr:x64-windows package ABI: 77c6c48e487dd562933007a6df508d10c2f6b1503e1bc4063df98b64dde91242
Completed submission of boost-core:x64-windows@1.91.0 to 1 binary cache(s) in 108 ms
Installing 35/49 libkml:x64-windows@1.3.0#14...
Building libkml:x64-windows@1.3.0#14...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\36c36ef06ecd41819ab32ca2df9df39a577c256a: info: installing from git registry git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
-- Note: libkml only supports static library linkage. Building static library.
Downloading https://github.com/libkml/libkml/archive/1.3.0.tar.gz -> libkml-libkml-1.3.0.tar.gz
Successfully downloaded libkml-libkml-1.3.0.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/libkml-libkml-1.3.0.tar.gz
-- Applying patch fix-cmake-min-version.patch
-- Applying patch patch_empty_literal_on_vc.patch
-- Applying patch fix-mingw.patch
-- Applying patch fix-minizip.patch
-- Applying patch add-target-include-directories.patch
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libkml/src/1.3.0-3586090d5f.clean
-- Configuring x64-windows
CMake Warning at E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:344 (message):
The following variables are not used in CMakeLists.txt:
CMAKE_POLICY_DEFAULT_CMP0022
Please recheck them and remove the unnecessary options from the
`vcpkg_cmake_configure` call.
If these options should still be passed for whatever reason, please use the
`MAYBE_UNUSED_VARIABLES` argument.
Call Stack (most recent call first):
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/36c36ef06ecd41819ab32ca2df9df39a577c256a/portfile.cmake:28 (vcpkg_cmake_configure)
scripts/ports.cmake:206 (include)
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/libkml_x64-windows/lib/pkgconfig/libkml.pc
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/libkml_x64-windows/debug/lib/pkgconfig/libkml.pc
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/libkml_x64-windows/share/libkml/copyright
-- Performing post-build validation
Starting submission of libkml:x64-windows@1.3.0#14 to 1 binary cache(s) in the background
Elapsed time to handle libkml:x64-windows: 1 min
libkml:x64-windows package ABI: 6f20b4bb6f1ad3020ca5212cb05dee55af245b0f592ab0e3771efffc91f49c0a
Completed submission of boost-smart-ptr:x64-windows@1.91.0 to 1 binary cache(s) in 56.5 ms
Installing 36/49 lerc:x64-windows@4.1.1...
Building lerc:x64-windows@4.1.1...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\e7c27596860a7c5bb93a6d40df48bc871b29a717: info: installing from git registry git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
Downloading https://github.com/Esri/lerc/archive/js_v4.1.1.tar.gz -> Esri-lerc-js_v4.1.1.tar.gz
Successfully downloaded Esri-lerc-js_v4.1.1.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/Esri-lerc-js_v4.1.1.tar.gz
-- Applying patch create_package.patch
-- Applying patch cxx-linkage-pkgconfig.patch
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/lerc/src/js_v4.1.1-dcbd76cd16.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/lerc_x64-windows/lib/pkgconfig/Lerc.pc
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/lerc_x64-windows/debug/lib/pkgconfig/Lerc.pc
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/lerc_x64-windows/share/lerc/NOTICE
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/lerc_x64-windows/share/lerc/copyright
-- Performing post-build validation
Starting submission of lerc:x64-windows@4.1.1 to 1 binary cache(s) in the background
Elapsed time to handle lerc:x64-windows: 25 s
lerc:x64-windows package ABI: 2a70629b3212bea4da9ab37b08ebc90163f6e99568f501d101d425aba704b038
Completed submission of libkml:x64-windows@1.3.0#14 to 1 binary cache(s) in 6.9 s
Installing 37/49 libjpeg-turbo:x64-windows@3.1.4.1...
Building libjpeg-turbo:x64-windows@3.1.4.1...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\723593f24a8b38ac93a54667ccf36961646b4cc3: info: installing from git registry git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
Downloading https://github.com/libjpeg-turbo/libjpeg-turbo/archive/3.1.4.1.tar.gz -> libjpeg-turbo-libjpeg-turbo-3.1.4.1.tar.gz
Successfully downloaded libjpeg-turbo-libjpeg-turbo-3.1.4.1.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/libjpeg-turbo-libjpeg-turbo-3.1.4.1.tar.gz
-- Applying patch add-options-for-docs-headers.patch
-- Applying patch workaround_cmake_system_processor.patch
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libjpeg-turbo/src/3.1.4.1-815c95df54.clean
-- Configuring x64-windows
-- Building x64-windows-dbg

243
configure_current.log Normal file
View File

@ -0,0 +1,243 @@
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Fetching registry information from https://github.com/microsoft/vcpkg (HEAD)...
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* curl[core,non-http,ssl,sspi]:x64-windows@8.20.0#2 -- git+https://github.com/microsoft/vcpkg@7c6e682ec4c0c5f5e8359caeb08cd26830fbf276
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* expat:x64-windows@2.8.1 -- git+https://github.com/microsoft/vcpkg@92923916d226d340977bef606ce267474f6f57a4
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libpq[core,lz4,openssl,zlib]:x64-windows@18.4 -- git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* lz4:x64-windows@1.10.0 -- git+https://github.com/microsoft/vcpkg@4f01eec10f515a428e914107c5188366380f8dd9
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
openssl:x64-windows@3.6.2 -- git+https://github.com/microsoft/vcpkg@131700c32d3bdaa8b4862deb3113a8053793833f
* pcre2[core,jit,platform-default-features]:x64-windows@10.47 -- git+https://github.com/microsoft/vcpkg@753cc6dbffbcde00b0c10b8d594108beb320a183
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2 -- git+https://github.com/microsoft/vcpkg@9ed38c0dd88cb4a34bf3682362d9e4722d7453d6
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
* vcpkg-tool-meson:x64-windows@1.9.0#9 -- git+https://github.com/microsoft/vcpkg@f85c7f81ae0d98611514765992e5a5769d398bde
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
Additional packages (*) will be modified to complete this operation.
Restored 27 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 6.9 s. Use --debug to see more details.
Installing 1/53 vcpkg-cmake-config:x64-windows@2024-05-23...
Elapsed time to handle vcpkg-cmake-config:x64-windows: 10.1 ms
vcpkg-cmake-config:x64-windows package ABI: 04aa64ee18f611ef68c93242720edecdf11d85a9e34b6374b4b93fdb5c16669c
Installing 2/53 vcpkg-cmake:x64-windows@2024-04-23...
Elapsed time to handle vcpkg-cmake:x64-windows: 10.4 ms
vcpkg-cmake:x64-windows package ABI: 017a10e0d7e7984aacad72464d319cfd1a85908180db468f39841bdb1190a9c0
Installing 3/53 eigen3:x64-windows@5.0.1...
Elapsed time to handle eigen3:x64-windows: 600 ms
eigen3:x64-windows package ABI: c0bc91a52bab661f31b426880549af3f3d929a7eeceb3118d82b828edb4bda2a
Installing 4/53 zstd:x64-windows@1.5.7...
Elapsed time to handle zstd:x64-windows: 42.3 ms
zstd:x64-windows package ABI: e0aa816054b20be41b18a4cd28709eb3b324ebfc66d10886335566efbc2c315b
Installing 5/53 libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2...
Elapsed time to handle libwebp:x64-windows: 92.9 ms
libwebp:x64-windows package ABI: 4ed3a78306bbdb765f2f3e76cb64f97950e4e16318f71a274196c56c7beb9f6e
Installing 6/53 sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2...
Elapsed time to handle sqlite3:x64-windows: 55.4 ms
sqlite3:x64-windows package ABI: 478fd0ed2b5070cfd277f0aed04485e13025c58da349d032839cab663f3ff1cb
Installing 7/53 qhull:x64-windows@8.0.2#6...
Elapsed time to handle qhull:x64-windows: 75.5 ms
qhull:x64-windows package ABI: e52a2a63147f7b926d7fd48d4aa8b26a66993f86d9961f1ca7da330314cabb5e
Installing 8/53 zlib:x64-windows@1.3.2#1...
Elapsed time to handle zlib:x64-windows: 122 ms
zlib:x64-windows package ABI: 6a88b93ee849b4a020534a2a14bd71452b33fc8cf0d3b9979cbd8f3a629a6bf5
Installing 9/53 vcpkg-cmake-get-vars:x64-windows@2025-05-29...
Elapsed time to handle vcpkg-cmake-get-vars:x64-windows: 32.8 ms
vcpkg-cmake-get-vars:x64-windows package ABI: 1aa590ec47b0afed6045265283d635fc69448539704eb2291cf9352d64b0f9f4
Installing 10/53 openssl:x64-windows@3.6.2...
Elapsed time to handle openssl:x64-windows: 237 ms
openssl:x64-windows package ABI: f85a8cba22471184c22761d3c7fa599098652140efbddc768c71897432b33b33
Installing 11/53 lz4:x64-windows@1.10.0...
Elapsed time to handle lz4:x64-windows: 43.5 ms
lz4:x64-windows package ABI: 1a714a430977c6bb653e84567702f66c38206c1e382032fda503c1a94fc2074d
Installing 12/53 vcpkg-tool-meson:x64-windows@1.9.0#9...
Elapsed time to handle vcpkg-tool-meson:x64-windows: 30.5 ms
vcpkg-tool-meson:x64-windows package ABI: f5c43a5ddad4705adae3012ce8a95d778acfe034a720f8ce96814ca8f55d782b
Installing 13/53 libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
Elapsed time to handle libpq:x64-windows: 917 ms
libpq:x64-windows package ABI: d96d9215d973c31addec9079479bd9cd1427620077eaa158df4beb1fb63004a0
Installing 14/53 libpng:x64-windows@1.6.58...
Elapsed time to handle libpng:x64-windows: 53.4 ms
libpng:x64-windows package ABI: fa118cd376e84825f546530184fcce19752670b5a2a5f11fb29d81594d0f9293
Installing 15/53 pcre2[core,jit,platform-default-features]:x64-windows@10.47...
Elapsed time to handle pcre2:x64-windows: 156 ms
pcre2:x64-windows package ABI: f017833559070060bb0020d0df089e5c527d9a2211397fb1325348a4c3e6d28c
Installing 16/53 openjpeg:x64-windows@2.5.4...
Elapsed time to handle openjpeg:x64-windows: 56.7 ms
openjpeg:x64-windows package ABI: 6343fa22974f8fb5f7051d04a80b694e3886f7f90e6bfd3b8b28e835a296a339
Installing 17/53 libaec:x64-windows@1.1.6...
Elapsed time to handle libaec:x64-windows: 61.1 ms
libaec:x64-windows package ABI: efd7451de89ad7fc618104d6573a5d9446e2eed0028b07d4fc88968b143d5096
Installing 18/53 hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1...
Elapsed time to handle hdf5:x64-windows: 251 ms
hdf5:x64-windows package ABI: 70e83defdb92bea061fa9ff3f9939c11aa5b2cdeba61fffa63d2980c48ded349
Installing 19/53 curl[core,non-http,ssl,sspi]:x64-windows@8.20.0#2...
Elapsed time to handle curl:x64-windows: 197 ms
curl:x64-windows package ABI: fd8951b1f79ea2f0ee045d2eaac9cb732ebf0b8bcab9e1579fe801283a448589
Installing 20/53 tinyxml2:x64-windows@11.0.0...
Elapsed time to handle tinyxml2:x64-windows: 47.5 ms
tinyxml2:x64-windows package ABI: 029e9eb395c43d625a97922b760d78424399683f7555e9bb777cae18b6935041
Installing 21/53 netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3...
Elapsed time to handle netcdf-c:x64-windows: 93.8 ms
netcdf-c:x64-windows package ABI: ce2ed4942abf544f8c34916e44b085be6154dc29c33c226f9c196e0b607c04b8
Installing 22/53 liblzma:x64-windows@5.8.3...
Elapsed time to handle liblzma:x64-windows: 87.2 ms
liblzma:x64-windows package ABI: df057cdeff43a96f2d2acd85f0efb58adf2ba93bfb883b7e543bb6bc735c05d6
Installing 23/53 vcpkg-make:x64-windows@2026-01-01...
Elapsed time to handle vcpkg-make:x64-windows: 54.3 ms
vcpkg-make:x64-windows package ABI: 7de099112822d61085dcca6233c98e566cd12bc075472fb092c0218a2d633224
Installing 24/53 libiconv:x64-windows@1.19...
Elapsed time to handle libiconv:x64-windows: 70.1 ms
libiconv:x64-windows package ABI: f54b0adabecb4f7f4664b3135966e1afc5a3bea8c9a3a7c2be027e0c4f70d058
Installing 25/53 libxml2[core,iconv,zlib]:x64-windows@2.15.3...
Elapsed time to handle libxml2:x64-windows: 95.3 ms
libxml2:x64-windows package ABI: b70a973ac198e3be284a62577e74da5baf549ce69130bc02309a69a243940ed0
Installing 26/53 minizip:x64-windows@1.3.2...
Elapsed time to handle minizip:x64-windows: 45.3 ms
minizip:x64-windows package ABI: 4f71cfe3c0886de19de6a3b2f6c1c5872a6f7c13146f57f6ad86eb64e86e8945
Installing 27/53 expat:x64-windows@2.8.1...
Elapsed time to handle expat:x64-windows: 43.4 ms
expat:x64-windows package ABI: c3149fe537df897fcc96335c96a25bf282517856fba6f085d413fafc482d7b54
Installing 28/53 freexl:x64-windows@2.0.0#2...
Building freexl:x64-windows@2.0.0#2...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\f6e8a10b1dbd66c16c5ef6df2e6f4078db623678: info: installing from git registry git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
-- Using cached freexl-2.0.0.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/freexl-2.0.0.tar.gz
-- Applying patch dependencies.patch
-- Applying patch subdirs.patch
-- Applying patch android-builtin-iconv.diff
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/src/freexl-2-9fef9c4332.clean
-- Getting CMake variables for x64-windows
-- Loading CMake variables from E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/cmake-get-vars_C_CXX-x64-windows.cmake.log
-- Using cached msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst
-- Using cached msys2-automake-wrapper-20240607-1-any.pkg.tar.zst
-- Using cached msys2-autoconf-archive-2023.02.20-1-any.pkg.tar.zst
-- Using cached msys2-binutils-2.44-1-x86_64.pkg.tar.zst
-- Using cached msys2-libtool-2.5.4-1-x86_64.pkg.tar.zst
-- Using cached msys2-make-4.4.1-2-x86_64.pkg.tar.zst
-- Using cached msys2-which-2.23-4-x86_64.pkg.tar.zst
-- Using cached msys2-bash-5.2.037-2-x86_64.pkg.tar.zst
-- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst
-- Using cached msys2-file-5.46-2-x86_64.pkg.tar.zst
-- Using cached msys2-gawk-5.3.2-1-x86_64.pkg.tar.zst
-- Using cached msys2-grep-1~3.0-7-x86_64.pkg.tar.zst
-- Using cached msys2-gzip-1.14-1-x86_64.pkg.tar.zst
-- Using cached msys2-diffutils-3.12-1-x86_64.pkg.tar.zst
-- Using cached msys2-pkgconf-2.4.3-1-x86_64.pkg.tar.zst
-- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using cached msys2-autoconf2.72-2.72-3-any.pkg.tar.zst
-- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst
-- Using cached msys2-automake1.17-1.17-1-any.pkg.tar.zst
-- Using cached msys2-libiconv-1.18-1-x86_64.pkg.tar.zst
-- Using cached msys2-libintl-0.22.5-1-x86_64.pkg.tar.zst
-- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst
-- Using cached msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst
-- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst
-- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst
-- Using cached msys2-liblzma-5.8.1-1-x86_64.pkg.tar.zst
-- Using cached msys2-libzstd-1.5.7-1-x86_64.pkg.tar.zst
-- Using cached msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst
-- Using cached msys2-mpfr-4.2.2-1-x86_64.pkg.tar.zst
-- Using cached msys2-libpcre-8.45-5-x86_64.pkg.tar.zst
-- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst
-- Using cached msys2-perl-5.38.4-2-x86_64.pkg.tar.zst
-- Using cached msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst
-- Using cached msys2-libxcrypt-4.4.38-1-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/8392cd453c24d30d
-- Generating configure for x64-windows
-- Finished generating configure for x64-windows
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Configuring x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/8392cd453c24d30d/usr/bin/bash.exe --noprofile --norc --debug -c "V=1 CPP='compile cl.exe -E' CC='compile cl.exe' CXX='compile cl.exe' CC_FOR_BUILD='compile cl.exe' CPP_FOR_BUILD='compile cl.exe -E' CXX_FOR_BUILD='compile cl.exe' RC='windres-rc rc.exe' WINDRES='windres-rc rc.exe' AR='ar-lib lib.exe' LD='link.exe -verbose' RANLIB=':' STRIP=': STRIP-disabled' NM='dumpbin.exe -symbols -headers' DLLTOOL='link.exe -verbose -dll' CCAS=': CCAS-disabled' AS=': AS-disabled' ./../src/freexl-2-9fef9c4332.clean/configure \"--host=x86_64-pc-mingw32\" \"--build=x86_64-pc-mingw32\""
Working Directory: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/freexl/x64-windows-dbg
Error code: 1
See logs for more information:
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\freexl\config-x64-windows-dbg-config.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\freexl\config-x64-windows-dbg-out.log
E:\gitea\geopro\build\release\vcpkg_installed\vcpkg\blds\freexl\config-x64-windows-dbg-err.log
Call Stack (most recent call first):
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-make/vcpkg_make.cmake:41 (vcpkg_execute_required_process)
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-make/vcpkg_make.cmake:339 (vcpkg_run_shell)
E:/gitea/geopro/build/release/vcpkg_installed/x64-windows/share/vcpkg-make/vcpkg_make_configure.cmake:115 (vcpkg_make_run_configure)
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/f6e8a10b1dbd66c16c5ef6df2e6f4078db623678/portfile.cmake:16 (vcpkg_make_configure)
scripts/ports.cmake:206 (include)
error: building freexl:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle freexl:x64-windows: 1.9 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+freexl
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Bfreexl%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Qt/Tools/CMake_64/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:2 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

238
configure_current2.log Normal file
View File

@ -0,0 +1,238 @@
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Fetching registry information from https://github.com/microsoft/vcpkg (HEAD)...
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* curl[core,non-http,ssl,sspi]:x64-windows@8.21.0 -- git+https://github.com/microsoft/vcpkg@25691635999525c850519f780198b74ecb28354b
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* expat:x64-windows@2.8.2 -- git+https://github.com/microsoft/vcpkg@d828778d8b6c0ea3cfd1dcd6c42618f5ffec7b49
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libpq[core,lz4,openssl,zlib]:x64-windows@18.4 -- git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* lz4:x64-windows@1.10.0 -- git+https://github.com/microsoft/vcpkg@4f01eec10f515a428e914107c5188366380f8dd9
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
openssl:x64-windows@3.6.3 -- git+https://github.com/microsoft/vcpkg@b4a2360e8425d8d5e2a24436804b592bef26980b
* pcre2[core,jit,platform-default-features]:x64-windows@10.47#1 -- git+https://github.com/microsoft/vcpkg@4aadba4e9632486c9e7bbd5c9e701496c6170b10
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1 -- git+https://github.com/microsoft/vcpkg@2ccab6992dbd68ec1b0ebcb0bb13d92af37c7beb
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
* vcpkg-tool-meson:x64-windows@1.9.0#10 -- git+https://github.com/microsoft/vcpkg@86a0d388e3e72719eadc392e359ee80f2f8d8a16
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
Additional packages (*) will be modified to complete this operation.
Restored 19 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 5.1 s. Use --debug to see more details.
Installing 1/53 vcpkg-cmake-config:x64-windows@2024-05-23...
Elapsed time to handle vcpkg-cmake-config:x64-windows: 18.2 ms
vcpkg-cmake-config:x64-windows package ABI: 04aa64ee18f611ef68c93242720edecdf11d85a9e34b6374b4b93fdb5c16669c
Installing 2/53 vcpkg-cmake:x64-windows@2024-04-23...
Elapsed time to handle vcpkg-cmake:x64-windows: 16.3 ms
vcpkg-cmake:x64-windows package ABI: 017a10e0d7e7984aacad72464d319cfd1a85908180db468f39841bdb1190a9c0
Installing 3/53 eigen3:x64-windows@5.0.1...
Elapsed time to handle eigen3:x64-windows: 701 ms
eigen3:x64-windows package ABI: c0bc91a52bab661f31b426880549af3f3d929a7eeceb3118d82b828edb4bda2a
Installing 4/53 zstd:x64-windows@1.5.7...
Elapsed time to handle zstd:x64-windows: 63.9 ms
zstd:x64-windows package ABI: e0aa816054b20be41b18a4cd28709eb3b324ebfc66d10886335566efbc2c315b
Installing 5/53 libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2...
Elapsed time to handle libwebp:x64-windows: 132 ms
libwebp:x64-windows package ABI: 4ed3a78306bbdb765f2f3e76cb64f97950e4e16318f71a274196c56c7beb9f6e
Installing 6/53 sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1...
Building sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\2ccab6992dbd68ec1b0ebcb0bb13d92af37c7beb: info: installing from git registry git+https://github.com/microsoft/vcpkg@2ccab6992dbd68ec1b0ebcb0bb13d92af37c7beb
-- Using cached sqlite-autoconf-3530200.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/sqlite-autoconf-3530200.tar.gz
-- Applying patch fix-arm-uwp.patch
-- Applying patch add-config-include.patch
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/sqlite3/src/nf-3530200-9c7e3c6815.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/sqlite3_x64-windows/lib/pkgconfig/sqlite3.pc
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/sqlite3_x64-windows/debug/lib/pkgconfig/sqlite3.pc
CMake Warning at scripts/cmake/vcpkg_copy_pdbs.cmake:44 (message):
Could not find a matching pdb file for:
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/sqlite3_x64-windows/bin/sqlite3.dll
Call Stack (most recent call first):
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/2ccab6992dbd68ec1b0ebcb0bb13d92af37c7beb/portfile.cmake:102 (vcpkg_copy_pdbs)
scripts/ports.cmake:206 (include)
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/sqlite3_x64-windows/share/sqlite3/usage
-- Performing post-build validation
Starting submission of sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1 to 1 binary cache(s) in the background
Elapsed time to handle sqlite3:x64-windows: 46 s
sqlite3:x64-windows package ABI: 8538c65eec1195c1120890c51c17022217b2613e666ac3c0442ff352c14ed9a6
Installing 7/53 qhull:x64-windows@8.0.2#6...
Elapsed time to handle qhull:x64-windows: 49.2 ms
qhull:x64-windows package ABI: e52a2a63147f7b926d7fd48d4aa8b26a66993f86d9961f1ca7da330314cabb5e
Installing 8/53 zlib:x64-windows@1.3.2#1...
Elapsed time to handle zlib:x64-windows: 37.5 ms
zlib:x64-windows package ABI: 6a88b93ee849b4a020534a2a14bd71452b33fc8cf0d3b9979cbd8f3a629a6bf5
Installing 9/53 vcpkg-cmake-get-vars:x64-windows@2025-05-29...
Elapsed time to handle vcpkg-cmake-get-vars:x64-windows: 15 ms
vcpkg-cmake-get-vars:x64-windows package ABI: 1aa590ec47b0afed6045265283d635fc69448539704eb2291cf9352d64b0f9f4
Installing 10/53 openssl:x64-windows@3.6.3...
Building openssl:x64-windows@3.6.3...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\b4a2360e8425d8d5e2a24436804b592bef26980b: info: installing from git registry git+https://github.com/microsoft/vcpkg@b4a2360e8425d8d5e2a24436804b592bef26980b
Downloading https://github.com/openssl/openssl/archive/openssl-3.6.3.tar.gz -> openssl-openssl-openssl-3.6.3.tar.gz
Successfully downloaded openssl-openssl-openssl-3.6.3.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/openssl-openssl-openssl-3.6.3.tar.gz
-- Applying patch cmake-config.patch
-- Applying patch command-line-length.patch
-- Applying patch script-prefix.patch
-- Applying patch windows/install-layout.patch
-- Applying patch windows/install-pdbs.patch
-- Applying patch windows/install-programs.diff
-- Applying patch unix/android-cc.patch
-- Applying patch unix/move-openssldir.patch
-- Applying patch unix/no-empty-dirs.patch
-- Applying patch unix/no-static-libs-for-shared.patch
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/openssl/src/nssl-3.6.3-28a9d34a24.clean
-- Getting CMake variables for x64-windows
-- Loading CMake variables from E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/openssl/cmake-get-vars_C_CXX-x64-windows.cmake.log
-- Getting CMake variables for x64-windows
-- Prerunning x64-windows-dbg
-- Building x64-windows-dbg
-- Prerunning x64-windows-rel
-- Building x64-windows-rel
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/openssl_x64-windows/lib/pkgconfig/libcrypto.pc
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/openssl_x64-windows/lib/pkgconfig/libssl.pc
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/openssl_x64-windows/lib/pkgconfig/openssl.pc
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/openssl_x64-windows/debug/lib/pkgconfig/libcrypto.pc
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/openssl_x64-windows/debug/lib/pkgconfig/libssl.pc
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/openssl_x64-windows/debug/lib/pkgconfig/openssl.pc
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/openssl_x64-windows/share/openssl/usage
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/openssl_x64-windows/share/openssl/copyright
-- Performing post-build validation
Starting submission of openssl:x64-windows@3.6.3 to 1 binary cache(s) in the background
Elapsed time to handle openssl:x64-windows: 9.3 min
openssl:x64-windows package ABI: fd7d67d0bc4b5547378d31bb7bce420d44e6c6fc18229364a989432aa4a4c669
Completed submission of sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1 to 1 binary cache(s) in 796 ms
Installing 11/53 lz4:x64-windows@1.10.0...
Elapsed time to handle lz4:x64-windows: 34.4 ms
lz4:x64-windows package ABI: 1a714a430977c6bb653e84567702f66c38206c1e382032fda503c1a94fc2074d
Installing 12/53 vcpkg-tool-meson:x64-windows@1.9.0#10...
Building vcpkg-tool-meson:x64-windows@1.9.0#10...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\86a0d388e3e72719eadc392e359ee80f2f8d8a16: info: installing from git registry git+https://github.com/microsoft/vcpkg@86a0d388e3e72719eadc392e359ee80f2f8d8a16
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/vcpkg-tool-meson_x64-windows/share/vcpkg-tool-meson/copyright
-- Using cached meson-1.9.0.tar.gz
-- Applying patch E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/vcpkg-tool-meson_x64-windows/share/vcpkg-tool-meson/meson-intl.patch
-- Applying patch E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/vcpkg-tool-meson_x64-windows/share/vcpkg-tool-meson/adjust-python-dep.patch
-- Applying patch E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/vcpkg-tool-meson_x64-windows/share/vcpkg-tool-meson/adjust-args.patch
-- Applying patch E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/vcpkg-tool-meson_x64-windows/share/vcpkg-tool-meson/remove-pkgconfig-specialization.patch
-- Applying patch E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/vcpkg-tool-meson_x64-windows/share/vcpkg-tool-meson/meson-56879d5.diff
-- Found Python version '3.12.7 at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/python/python-3.12.7-x64-1/python.exe'
-- Using meson: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/meson-1.9.0-633807/meson.py
-- Performing post-build validation
Starting submission of vcpkg-tool-meson:x64-windows@1.9.0#10 to 1 binary cache(s) in the background
Elapsed time to handle vcpkg-tool-meson:x64-windows: 3.5 s
vcpkg-tool-meson:x64-windows package ABI: c9a75b65e2f03195dec3145bf0c188bea931c4f10ee565c2a5e84f7c7d11230c
Installing 13/53 libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
Building libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\8c165a9c39a43f72289e216677d33fdf161144f8: info: installing from git registry git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
-- Found Python version '3.12.7 at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/python/python-3.12.7-x64-1/python.exe'
-- Using meson: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/meson-1.9.0-633807/meson.py
-- Using cached postgresql-18.4.tar.bz2
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/postgresql-18.4.tar.bz2
-- Applying patch library-linkage.diff
-- Applying patch libpq-and-client-tools.diff
-- Applying patch libintl.diff
-- Applying patch zic.diff
-- Applying patch windows/macro-def.patch
-- Applying patch windows/spin_delay.patch
-- Applying patch windows/getopt.patch
CMake Error at scripts/cmake/vcpkg_extract_source_archive.cmake:153 (file):
file RENAME failed to rename
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean.tmp/postgresql-18.4
to
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean
because: 锟杰撅拷锟斤拷锟绞★拷
Call Stack (most recent call first):
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/8c165a9c39a43f72289e216677d33fdf161144f8/portfile.cmake:8 (vcpkg_extract_source_archive)
scripts/ports.cmake:206 (include)
error: building libpq:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle libpq:x64-windows: 1.4 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libpq
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Blibpq%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
Completed submission of openssl:x64-windows@3.6.3 to 1 binary cache(s) in 5.5 s
Completed submission of vcpkg-tool-meson:x64-windows@1.9.0#10 to 1 binary cache(s) in 61.5 ms
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Qt/Tools/CMake_64/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:2 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

122
configure_current3.log Normal file
View File

@ -0,0 +1,122 @@
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages are already installed:
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* lz4:x64-windows@1.10.0 -- git+https://github.com/microsoft/vcpkg@4f01eec10f515a428e914107c5188366380f8dd9
openssl:x64-windows@3.6.3 -- git+https://github.com/microsoft/vcpkg@b4a2360e8425d8d5e2a24436804b592bef26980b
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1 -- git+https://github.com/microsoft/vcpkg@2ccab6992dbd68ec1b0ebcb0bb13d92af37c7beb
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-tool-meson:x64-windows@1.9.0#10 -- git+https://github.com/microsoft/vcpkg@86a0d388e3e72719eadc392e359ee80f2f8d8a16
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* curl[core,non-http,ssl,sspi]:x64-windows@8.21.0 -- git+https://github.com/microsoft/vcpkg@25691635999525c850519f780198b74ecb28354b
* expat:x64-windows@2.8.2 -- git+https://github.com/microsoft/vcpkg@d828778d8b6c0ea3cfd1dcd6c42618f5ffec7b49
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libpq[core,lz4,openssl,zlib]:x64-windows@18.4 -- git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
* pcre2[core,jit,platform-default-features]:x64-windows@10.47#1 -- git+https://github.com/microsoft/vcpkg@4aadba4e9632486c9e7bbd5c9e701496c6170b10
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
Additional packages (*) will be modified to complete this operation.
Restored 10 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 1.9 s. Use --debug to see more details.
Installing 1/41 libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
Building libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\8c165a9c39a43f72289e216677d33fdf161144f8: info: installing from git registry git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
-- Found Python version '3.12.7 at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/python/python-3.12.7-x64-1/python.exe'
-- Using meson: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/meson-1.9.0-633807/meson.py
-- Using cached postgresql-18.4.tar.bz2
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/postgresql-18.4.tar.bz2
-- Applying patch library-linkage.diff
-- Applying patch libpq-and-client-tools.diff
-- Applying patch libintl.diff
-- Applying patch zic.diff
-- Applying patch windows/macro-def.patch
-- Applying patch windows/spin_delay.patch
-- Applying patch windows/getopt.patch
CMake Error at scripts/cmake/vcpkg_extract_source_archive.cmake:153 (file):
file RENAME failed to rename
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean.tmp/postgresql-18.4
to
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean
because: 锟杰撅拷锟斤拷锟绞★拷
Call Stack (most recent call first):
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/8c165a9c39a43f72289e216677d33fdf161144f8/portfile.cmake:8 (vcpkg_extract_source_archive)
scripts/ports.cmake:206 (include)
error: building libpq:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle libpq:x64-windows: 1.3 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libpq
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Blibpq%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Qt/Tools/CMake_64/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:2 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

122
configure_current4.log Normal file
View File

@ -0,0 +1,122 @@
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages are already installed:
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* lz4:x64-windows@1.10.0 -- git+https://github.com/microsoft/vcpkg@4f01eec10f515a428e914107c5188366380f8dd9
openssl:x64-windows@3.6.3 -- git+https://github.com/microsoft/vcpkg@b4a2360e8425d8d5e2a24436804b592bef26980b
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1 -- git+https://github.com/microsoft/vcpkg@2ccab6992dbd68ec1b0ebcb0bb13d92af37c7beb
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-tool-meson:x64-windows@1.9.0#10 -- git+https://github.com/microsoft/vcpkg@86a0d388e3e72719eadc392e359ee80f2f8d8a16
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* curl[core,non-http,ssl,sspi]:x64-windows@8.21.0 -- git+https://github.com/microsoft/vcpkg@25691635999525c850519f780198b74ecb28354b
* expat:x64-windows@2.8.2 -- git+https://github.com/microsoft/vcpkg@d828778d8b6c0ea3cfd1dcd6c42618f5ffec7b49
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libpq[core,lz4,openssl,zlib]:x64-windows@18.4 -- git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
* pcre2[core,jit,platform-default-features]:x64-windows@10.47#1 -- git+https://github.com/microsoft/vcpkg@4aadba4e9632486c9e7bbd5c9e701496c6170b10
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
Additional packages (*) will be modified to complete this operation.
Restored 10 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 2.5 s. Use --debug to see more details.
Installing 1/41 libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
Building libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\8c165a9c39a43f72289e216677d33fdf161144f8: info: installing from git registry git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
-- Found Python version '3.12.7 at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/python/python-3.12.7-x64-1/python.exe'
-- Using meson: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/meson-1.9.0-633807/meson.py
-- Using cached postgresql-18.4.tar.bz2
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/postgresql-18.4.tar.bz2
-- Applying patch library-linkage.diff
-- Applying patch libpq-and-client-tools.diff
-- Applying patch libintl.diff
-- Applying patch zic.diff
-- Applying patch windows/macro-def.patch
-- Applying patch windows/spin_delay.patch
-- Applying patch windows/getopt.patch
CMake Error at scripts/cmake/vcpkg_extract_source_archive.cmake:153 (file):
file RENAME failed to rename
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean.tmp/postgresql-18.4
to
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean
because: 锟杰撅拷锟斤拷锟绞★拷
Call Stack (most recent call first):
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/8c165a9c39a43f72289e216677d33fdf161144f8/portfile.cmake:8 (vcpkg_extract_source_archive)
scripts/ports.cmake:206 (include)
error: building libpq:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle libpq:x64-windows: 1.4 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libpq
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Blibpq%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Qt/Tools/CMake_64/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:2 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

4
configure_helper.bat Normal file
View File

@ -0,0 +1,4 @@
@echo off
call "D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
cmake --preset msvc-release > E:\gitea\geopro\configure_output.txt 2>&1
echo CONFIGURE_EXIT_CODE=%ERRORLEVEL% >> E:\gitea\geopro\configure_output.txt

7
configure_now.log Normal file
View File

@ -0,0 +1,7 @@
CMake Error: Could not read presets from E:/gitea/geopro:
JSON Parse Error: E:/gitea/geopro/CMakePresets.json:
* Line 15, Column 7
Missing ',' or '}' in object declaration
* Line 33, Column 57
Extra non-whitespace after JSON value.

12
configure_now2.log Normal file
View File

@ -0,0 +1,12 @@
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE:FILEPATH="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
CMake Error: Error: generator platform: x64
Does not match the platform used previously:
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.

18
configure_now3.log Normal file
View File

@ -0,0 +1,18 @@
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE:FILEPATH="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
CMake Error at CMakeLists.txt:4 (if):
if given arguments:
"DEFINED" "ENV{VCPKG_ROOT}AND" "NOT" "DEFINED" "CMAKE_TOOLCHAIN_FILE"
Unknown arguments specified
-- Configuring incomplete, errors occurred!

133
configure_now4.log Normal file
View File

@ -0,0 +1,133 @@
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE:FILEPATH="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages are already installed:
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* lz4:x64-windows@1.10.0 -- git+https://github.com/microsoft/vcpkg@4f01eec10f515a428e914107c5188366380f8dd9
openssl:x64-windows@3.6.3 -- git+https://github.com/microsoft/vcpkg@b4a2360e8425d8d5e2a24436804b592bef26980b
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1 -- git+https://github.com/microsoft/vcpkg@2ccab6992dbd68ec1b0ebcb0bb13d92af37c7beb
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-tool-meson:x64-windows@1.9.0#10 -- git+https://github.com/microsoft/vcpkg@86a0d388e3e72719eadc392e359ee80f2f8d8a16
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* curl[core,non-http,ssl,sspi]:x64-windows@8.21.0 -- git+https://github.com/microsoft/vcpkg@25691635999525c850519f780198b74ecb28354b
* expat:x64-windows@2.8.2 -- git+https://github.com/microsoft/vcpkg@d828778d8b6c0ea3cfd1dcd6c42618f5ffec7b49
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libpq[core,lz4,openssl,zlib]:x64-windows@18.4 -- git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
* pcre2[core,jit,platform-default-features]:x64-windows@10.47#1 -- git+https://github.com/microsoft/vcpkg@4aadba4e9632486c9e7bbd5c9e701496c6170b10
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
Additional packages (*) will be modified to complete this operation.
Restored 10 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 1.5 s. Use --debug to see more details.
Installing 1/41 libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
Building libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\8c165a9c39a43f72289e216677d33fdf161144f8: info: installing from git registry git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
-- Found Python version '3.12.7 at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/python/python-3.12.7-x64-1/python.exe'
-- Using meson: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/meson-1.9.0-633807/meson.py
-- Using cached postgresql-18.4.tar.bz2
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/postgresql-18.4.tar.bz2
-- Applying patch library-linkage.diff
-- Applying patch libpq-and-client-tools.diff
-- Applying patch libintl.diff
-- Applying patch zic.diff
-- Applying patch windows/macro-def.patch
-- Applying patch windows/spin_delay.patch
-- Applying patch windows/getopt.patch
CMake Error at scripts/cmake/vcpkg_extract_source_archive.cmake:153 (file):
file RENAME failed to rename
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean.tmp/postgresql-18.4
to
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean
because: 锟杰撅拷锟斤拷锟绞★拷
Call Stack (most recent call first):
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/8c165a9c39a43f72289e216677d33fdf161144f8/portfile.cmake:8 (vcpkg_extract_source_archive)
scripts/ports.cmake:206 (include)
error: building libpq:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle libpq:x64-windows: 1.7 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libpq
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Blibpq%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Qt/Tools/CMake_64/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:8 (project)
CMake Error at CMakeLists.txt:8 (project):
Generator
Ninja
does not support platform specification, but platform
x64
was specified.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

122
configure_now5.log Normal file
View File

@ -0,0 +1,122 @@
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE:FILEPATH="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages are already installed:
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* lz4:x64-windows@1.10.0 -- git+https://github.com/microsoft/vcpkg@4f01eec10f515a428e914107c5188366380f8dd9
openssl:x64-windows@3.6.3 -- git+https://github.com/microsoft/vcpkg@b4a2360e8425d8d5e2a24436804b592bef26980b
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1 -- git+https://github.com/microsoft/vcpkg@2ccab6992dbd68ec1b0ebcb0bb13d92af37c7beb
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-tool-meson:x64-windows@1.9.0#10 -- git+https://github.com/microsoft/vcpkg@86a0d388e3e72719eadc392e359ee80f2f8d8a16
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* curl[core,non-http,ssl,sspi]:x64-windows@8.21.0 -- git+https://github.com/microsoft/vcpkg@25691635999525c850519f780198b74ecb28354b
* expat:x64-windows@2.8.2 -- git+https://github.com/microsoft/vcpkg@d828778d8b6c0ea3cfd1dcd6c42618f5ffec7b49
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libpq[core,lz4,openssl,zlib]:x64-windows@18.4 -- git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
* pcre2[core,jit,platform-default-features]:x64-windows@10.47#1 -- git+https://github.com/microsoft/vcpkg@4aadba4e9632486c9e7bbd5c9e701496c6170b10
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
Additional packages (*) will be modified to complete this operation.
Restored 10 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 3.3 s. Use --debug to see more details.
Installing 1/41 libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
Building libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\8c165a9c39a43f72289e216677d33fdf161144f8: info: installing from git registry git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
-- Found Python version '3.12.7 at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/python/python-3.12.7-x64-1/python.exe'
-- Using meson: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/meson-1.9.0-633807/meson.py
-- Using cached postgresql-18.4.tar.bz2
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/postgresql-18.4.tar.bz2
-- Applying patch library-linkage.diff
-- Applying patch libpq-and-client-tools.diff
-- Applying patch libintl.diff
-- Applying patch zic.diff
-- Applying patch windows/macro-def.patch
-- Applying patch windows/spin_delay.patch
-- Applying patch windows/getopt.patch
CMake Error at scripts/cmake/vcpkg_extract_source_archive.cmake:153 (file):
file RENAME failed to rename
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean.tmp/postgresql-18.4
to
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean
because: 锟杰撅拷锟斤拷锟绞★拷
Call Stack (most recent call first):
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/8c165a9c39a43f72289e216677d33fdf161144f8/portfile.cmake:8 (vcpkg_extract_source_archive)
scripts/ports.cmake:206 (include)
error: building libpq:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle libpq:x64-windows: 1.4 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libpq
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Blibpq%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Qt/Tools/CMake_64/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:8 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

123
configure_now6.log Normal file
View File

@ -0,0 +1,123 @@
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE:FILEPATH="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages are already installed:
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* lz4:x64-windows@1.10.0 -- git+https://github.com/microsoft/vcpkg@4f01eec10f515a428e914107c5188366380f8dd9
openssl:x64-windows@3.6.3 -- git+https://github.com/microsoft/vcpkg@b4a2360e8425d8d5e2a24436804b592bef26980b
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1 -- git+https://github.com/microsoft/vcpkg@2ccab6992dbd68ec1b0ebcb0bb13d92af37c7beb
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-tool-meson:x64-windows@1.9.0#10 -- git+https://github.com/microsoft/vcpkg@86a0d388e3e72719eadc392e359ee80f2f8d8a16
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* curl[core,non-http,ssl,sspi]:x64-windows@8.21.0 -- git+https://github.com/microsoft/vcpkg@25691635999525c850519f780198b74ecb28354b
* expat:x64-windows@2.8.2 -- git+https://github.com/microsoft/vcpkg@d828778d8b6c0ea3cfd1dcd6c42618f5ffec7b49
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libpq[core,lz4,openssl,zlib]:x64-windows@18.4 -- git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
* pcre2[core,jit,platform-default-features]:x64-windows@10.47#1 -- git+https://github.com/microsoft/vcpkg@4aadba4e9632486c9e7bbd5c9e701496c6170b10
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
Additional packages (*) will be modified to complete this operation.
Restored 10 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 1.6 s. Use --debug to see more details.
Installing 1/41 libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
Building libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\8c165a9c39a43f72289e216677d33fdf161144f8: info: installing from git registry git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
-- Found Python version '3.12.7 at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/python/python-3.12.7-x64-1/python.exe'
-- Using meson: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/meson-1.9.0-633807/meson.py
-- Using cached postgresql-18.4.tar.bz2
-- Cleaning sources at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/postgresql-18.4.tar.bz2
-- Applying patch library-linkage.diff
-- Applying patch libpq-and-client-tools.diff
-- Applying patch libintl.diff
-- Applying patch zic.diff
-- Applying patch windows/macro-def.patch
-- Applying patch windows/spin_delay.patch
-- Applying patch windows/getopt.patch
CMake Error at scripts/cmake/vcpkg_extract_source_archive.cmake:153 (file):
file RENAME failed to rename
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean.tmp/postgresql-18.4
to
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean
because: 锟杰撅拷锟斤拷锟绞★拷
Call Stack (most recent call first):
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/8c165a9c39a43f72289e216677d33fdf161144f8/portfile.cmake:8 (vcpkg_extract_source_archive)
scripts/ports.cmake:206 (include)
error: building libpq:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle libpq:x64-windows: 1.5 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libpq
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Blibpq%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Qt/Tools/CMake_64/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:8 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

189
configure_now7.log Normal file
View File

@ -0,0 +1,189 @@
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE:FILEPATH="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Fetching registry information from https://github.com/microsoft/vcpkg (HEAD)...
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* curl[core,non-http,ssl,sspi]:x64-windows@8.21.0 -- git+https://github.com/microsoft/vcpkg@25691635999525c850519f780198b74ecb28354b
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* expat:x64-windows@2.8.2 -- git+https://github.com/microsoft/vcpkg@d828778d8b6c0ea3cfd1dcd6c42618f5ffec7b49
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,qhull,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
openssl:x64-windows@3.6.3 -- git+https://github.com/microsoft/vcpkg@b4a2360e8425d8d5e2a24436804b592bef26980b
* pcre2[core,jit,platform-default-features]:x64-windows@10.47#1 -- git+https://github.com/microsoft/vcpkg@4aadba4e9632486c9e7bbd5c9e701496c6170b10
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1 -- git+https://github.com/microsoft/vcpkg@2ccab6992dbd68ec1b0ebcb0bb13d92af37c7beb
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
* vcpkg-tool-meson:x64-windows@1.9.0#10 -- git+https://github.com/microsoft/vcpkg@86a0d388e3e72719eadc392e359ee80f2f8d8a16
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
Additional packages (*) will be modified to complete this operation.
Restored 21 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 7.4 s. Use --debug to see more details.
Installing 1/51 vcpkg-cmake-config:x64-windows@2024-05-23...
Elapsed time to handle vcpkg-cmake-config:x64-windows: 10.9 ms
vcpkg-cmake-config:x64-windows package ABI: 04aa64ee18f611ef68c93242720edecdf11d85a9e34b6374b4b93fdb5c16669c
Installing 2/51 vcpkg-cmake:x64-windows@2024-04-23...
Elapsed time to handle vcpkg-cmake:x64-windows: 15.8 ms
vcpkg-cmake:x64-windows package ABI: 017a10e0d7e7984aacad72464d319cfd1a85908180db468f39841bdb1190a9c0
Installing 3/51 eigen3:x64-windows@5.0.1...
Elapsed time to handle eigen3:x64-windows: 1.1 s
eigen3:x64-windows package ABI: c0bc91a52bab661f31b426880549af3f3d929a7eeceb3118d82b828edb4bda2a
Installing 4/51 zstd:x64-windows@1.5.7...
Elapsed time to handle zstd:x64-windows: 70.7 ms
zstd:x64-windows package ABI: e0aa816054b20be41b18a4cd28709eb3b324ebfc66d10886335566efbc2c315b
Installing 5/51 libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2...
Elapsed time to handle libwebp:x64-windows: 162 ms
libwebp:x64-windows package ABI: 4ed3a78306bbdb765f2f3e76cb64f97950e4e16318f71a274196c56c7beb9f6e
Installing 6/51 sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1...
Elapsed time to handle sqlite3:x64-windows: 92.6 ms
sqlite3:x64-windows package ABI: 8538c65eec1195c1120890c51c17022217b2613e666ac3c0442ff352c14ed9a6
Installing 7/51 qhull:x64-windows@8.0.2#6...
Elapsed time to handle qhull:x64-windows: 99.6 ms
qhull:x64-windows package ABI: e52a2a63147f7b926d7fd48d4aa8b26a66993f86d9961f1ca7da330314cabb5e
Installing 8/51 zlib:x64-windows@1.3.2#1...
Elapsed time to handle zlib:x64-windows: 45.3 ms
zlib:x64-windows package ABI: 6a88b93ee849b4a020534a2a14bd71452b33fc8cf0d3b9979cbd8f3a629a6bf5
Installing 9/51 libpng:x64-windows@1.6.58...
Elapsed time to handle libpng:x64-windows: 35.9 ms
libpng:x64-windows package ABI: fa118cd376e84825f546530184fcce19752670b5a2a5f11fb29d81594d0f9293
Installing 10/51 pcre2[core,jit,platform-default-features]:x64-windows@10.47#1...
Building pcre2[core,jit,platform-default-features]:x64-windows@10.47#1...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\4aadba4e9632486c9e7bbd5c9e701496c6170b10: info: installing from git registry git+https://github.com/microsoft/vcpkg@4aadba4e9632486c9e7bbd5c9e701496c6170b10
-- Using cached PCRE2Project-pcre2-pcre2-10.47.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/PCRE2Project-pcre2-pcre2-10.47.tar.gz
-- Applying patch pcre2-10.35_fix-uwp.patch
-- Applying patch no-static-suffix.patch
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/pcre2/src/cre2-10.47-7b8426e64a.clean
-- Using cached zherczeg-sljit-45f910b78c6605ebf5b53d3ec7cb00f2312fe417.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/zherczeg-sljit-45f910b78c6605ebf5b53d3ec7cb00f2312fe417.tar.gz
-- Using source at E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/pcre2/src/f2312fe417-2bbc527107.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/pcre2_x64-windows/lib/pkgconfig/libpcre2-16.pc
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/pcre2_x64-windows/lib/pkgconfig/libpcre2-32.pc
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/pcre2_x64-windows/lib/pkgconfig/libpcre2-8.pc
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/pcre2_x64-windows/lib/pkgconfig/libpcre2-posix.pc
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
-- Using msys root at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/pcre2_x64-windows/debug/lib/pkgconfig/libpcre2-16.pc
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/pcre2_x64-windows/debug/lib/pkgconfig/libpcre2-32.pc
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/pcre2_x64-windows/debug/lib/pkgconfig/libpcre2-8.pc
-- Fixing pkgconfig file: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/pcre2_x64-windows/debug/lib/pkgconfig/libpcre2-posix.pc
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/pcre2_x64-windows/share/pcre2/usage
-- Installing: E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/pkgs/pcre2_x64-windows/share/pcre2/copyright
-- Performing post-build validation
Starting submission of pcre2[core,jit,platform-default-features]:x64-windows@10.47#1 to 1 binary cache(s) in the background
Elapsed time to handle pcre2:x64-windows: 1.5 min
pcre2:x64-windows package ABI: c49582ef6b78fc6749d5b7034525d6280d82ae83eaa899fe3afd903c453fbe44
Installing 11/51 vcpkg-cmake-get-vars:x64-windows@2025-05-29...
Elapsed time to handle vcpkg-cmake-get-vars:x64-windows: 16.5 ms
vcpkg-cmake-get-vars:x64-windows package ABI: 1aa590ec47b0afed6045265283d635fc69448539704eb2291cf9352d64b0f9f4
Installing 12/51 openssl:x64-windows@3.6.3...
Elapsed time to handle openssl:x64-windows: 142 ms
openssl:x64-windows package ABI: fd7d67d0bc4b5547378d31bb7bce420d44e6c6fc18229364a989432aa4a4c669
Installing 13/51 openjpeg:x64-windows@2.5.4...
Elapsed time to handle openjpeg:x64-windows: 35.9 ms
openjpeg:x64-windows package ABI: 6343fa22974f8fb5f7051d04a80b694e3886f7f90e6bfd3b8b28e835a296a339
Installing 14/51 libaec:x64-windows@1.1.6...
Elapsed time to handle libaec:x64-windows: 33.8 ms
libaec:x64-windows package ABI: efd7451de89ad7fc618104d6573a5d9446e2eed0028b07d4fc88968b143d5096
Installing 15/51 hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1...
Elapsed time to handle hdf5:x64-windows: 135 ms
hdf5:x64-windows package ABI: 70e83defdb92bea061fa9ff3f9939c11aa5b2cdeba61fffa63d2980c48ded349
Installing 16/51 curl[core,non-http,ssl,sspi]:x64-windows@8.21.0...
Building curl[core,non-http,ssl,sspi]:x64-windows@8.21.0...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\25691635999525c850519f780198b74ecb28354b: info: installing from git registry git+https://github.com/microsoft/vcpkg@25691635999525c850519f780198b74ecb28354b
Downloading https://github.com/curl/curl/archive/curl-8_21_0.tar.gz -> curl-curl-curl-8_21_0.tar.gz
Successfully downloaded curl-curl-curl-8_21_0.tar.gz
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/curl-curl-curl-8_21_0.tar.gz
-- Applying patch dependencies.patch
CMake Error at scripts/cmake/vcpkg_extract_source_archive.cmake:153 (file):
file RENAME failed to rename
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/curl/src/url-8_21_0-fb639eb98a.clean.tmp/curl-curl-8_21_0
to
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/curl/src/url-8_21_0-fb639eb98a.clean
because: 锟杰撅拷锟斤拷锟绞★拷
Call Stack (most recent call first):
scripts/cmake/vcpkg_extract_source_archive_ex.cmake:8 (vcpkg_extract_source_archive)
scripts/cmake/vcpkg_from_github.cmake:127 (vcpkg_extract_source_archive_ex)
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/25691635999525c850519f780198b74ecb28354b/portfile.cmake:3 (vcpkg_from_github)
scripts/ports.cmake:206 (include)
error: building curl:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle curl:x64-windows: 1.3 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+curl
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Bcurl%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
Completed submission of pcre2[core,jit,platform-default-features]:x64-windows@10.47#1 to 1 binary cache(s) in 1.2 s
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Qt/Tools/CMake_64/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:8 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

158
configure_ps.log Normal file
View File

@ -0,0 +1,158 @@
Preset CMake variables:
CMAKE_BUILD_TYPE="Release"
CMAKE_EXPORT_COMPILE_COMMANDS="ON"
CMAKE_PREFIX_PATH="D:/Qt/6.11.1/msvc2022_64"
CMAKE_TOOLCHAIN_FILE="D:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg/scripts/buildsystems/vcpkg.cmake"
VCPKG_TARGET_TRIPLET="x64-windows"
VTK_DIR="E:/gitea/geopro/external/vtk-install/lib/cmake/vtk-9.6"
-- Running vcpkg install
Fetching registry information from https://github.com/microsoft/vcpkg (HEAD)...
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
The following packages will be built and installed:
* boost-assert:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@793cfa5c94d9f1af2a3d9101482f37f19c9db3aa
* boost-cmake:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@d85de3550a34d3b4b17e3572cfbece52ec61d3d3
* boost-config:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@eb56fb562a14bc234514aeea5f9385036d994a92
* boost-core:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@6183a03c55a1a3b79a8dcca9d5a0d2be48b87e3d
* boost-headers:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@0e186786baeaa3e1270ddafcc137d5482974f6ac
* boost-smart-ptr:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@a28b0cf92a889724d989bf2f9d232bc9e64aa185
* boost-throw-exception:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@fbf7639111d30af2cd4c8c73796da803240b6ae0
* boost-uninstall:x64-windows@1.91.0 -- git+https://github.com/microsoft/vcpkg@994edb0dd23a8128b406950af82b14c09aa2aa15
* curl[core,non-http,ssl,sspi]:x64-windows@8.21.0 -- git+https://github.com/microsoft/vcpkg@25691635999525c850519f780198b74ecb28354b
eigen3:x64-windows@5.0.1 -- git+https://github.com/microsoft/vcpkg@d76be65aad61fe24ae3d70c10fca0bd2c592308e
* expat:x64-windows@2.8.2 -- git+https://github.com/microsoft/vcpkg@d828778d8b6c0ea3cfd1dcd6c42618f5ffec7b49
* freexl:x64-windows@2.0.0#2 -- git+https://github.com/microsoft/vcpkg@f6e8a10b1dbd66c16c5ef6df2e6f4078db623678
gdal[core,curl,expat,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,postgresql,qhull,recommended-features,sqlite3,webp,zstd]:x64-windows@3.12.4#2 -- git+https://github.com/microsoft/vcpkg@8d51b5a24e3e607f5ea0f9085f6a0a1fe599df9a
* geos:x64-windows@3.14.1 -- git+https://github.com/microsoft/vcpkg@d2882448391784c2bcc1c90c98aba75c8b0a76f7
* giflib:x64-windows@6.1.3 -- git+https://github.com/microsoft/vcpkg@3e28cb896d7efeea3363a4bc4f924413aea72513
gtest:x64-windows@1.17.0#2 -- git+https://github.com/microsoft/vcpkg@b8a81820356e90917e5eb5dfe0092bfac57dbb12
* hdf5[core,cpp,hl,szip,zlib]:x64-windows@2.1.1#1 -- git+https://github.com/microsoft/vcpkg@488b04803484d74b9c630e43b0e6a86e9dd292f8
* json-c:x64-windows@0.18-20240915 -- git+https://github.com/microsoft/vcpkg@786a0712b7019e33da008008e17fb920932e9e8d
* lerc:x64-windows@4.1.1 -- git+https://github.com/microsoft/vcpkg@e7c27596860a7c5bb93a6d40df48bc871b29a717
* libaec:x64-windows@1.1.6 -- git+https://github.com/microsoft/vcpkg@079348776feca19139961c20a5cbd02b82512f02
* libgeotiff:x64-windows@1.7.4 -- git+https://github.com/microsoft/vcpkg@749705c57437e7cb122ca826ddfe7c7b8a23ddea
* libiconv:x64-windows@1.19 -- git+https://github.com/microsoft/vcpkg@eb4c96e3d66cfba5f75a09bc1c34fa628a822ca4
* libjpeg-turbo:x64-windows@3.1.4.1 -- git+https://github.com/microsoft/vcpkg@723593f24a8b38ac93a54667ccf36961646b4cc3
* libkml:x64-windows@1.3.0#14 -- git+https://github.com/microsoft/vcpkg@36c36ef06ecd41819ab32ca2df9df39a577c256a
* liblzma:x64-windows@5.8.3 -- git+https://github.com/microsoft/vcpkg@ae94eaf58eb64ce5b0dfba7769095c43c6c65d71
* libpng:x64-windows@1.6.58 -- git+https://github.com/microsoft/vcpkg@909d98e06046a0901fd11300b3d725d6a80d27bf
* libpq[core,lz4,openssl,zlib]:x64-windows@18.4 -- git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
* libspatialite[core,freexl]:x64-windows@5.1.0#7 -- git+https://github.com/microsoft/vcpkg@ebd8ba5e099ad0309f13c0de1b0216a5170dfb77
* libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2 -- git+https://github.com/microsoft/vcpkg@5366c6ab4c6a5ece31ab06309b9729d29a5d4da1
* libxml2[core,iconv,zlib]:x64-windows@2.15.3 -- git+https://github.com/microsoft/vcpkg@0cca8e1dccfcd04a2d0d34f6fcf10a33190d558f
* lz4:x64-windows@1.10.0 -- git+https://github.com/microsoft/vcpkg@4f01eec10f515a428e914107c5188366380f8dd9
* minizip:x64-windows@1.3.2 -- git+https://github.com/microsoft/vcpkg@b485c18ad5b9ce53d790be6875324577d308e8b1
* netcdf-c[core,dap,nczarr,netcdf-4]:x64-windows@4.9.3#3 -- git+https://github.com/microsoft/vcpkg@c975887ccc47e534bdd79ddb29d7a11506f2d712
nlohmann-json:x64-windows@3.12.0#2 -- git+https://github.com/microsoft/vcpkg@ac3b8821cf486e45dd543bef2a4ba1d1ba230258
* openjpeg:x64-windows@2.5.4 -- git+https://github.com/microsoft/vcpkg@e95aa6d786ed44b493017c574ac8e1b84ac65ffd
openssl:x64-windows@3.6.3 -- git+https://github.com/microsoft/vcpkg@b4a2360e8425d8d5e2a24436804b592bef26980b
* pcre2[core,jit,platform-default-features]:x64-windows@10.47#1 -- git+https://github.com/microsoft/vcpkg@4aadba4e9632486c9e7bbd5c9e701496c6170b10
* pkgconf:x64-windows@2.5.1#4 -- git+https://github.com/microsoft/vcpkg@0e3bcce12697924fae59f8567477d1a4cc2de04f
proj[core,net,tiff]:x64-windows@9.8.1 -- git+https://github.com/microsoft/vcpkg@1de15a0f14e29efa397eb6f1445c7658f42e459b
* qhull:x64-windows@8.0.2#6 -- git+https://github.com/microsoft/vcpkg@17b050822d49bfd33d3b44755597317ac49201ed
* sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1 -- git+https://github.com/microsoft/vcpkg@2ccab6992dbd68ec1b0ebcb0bb13d92af37c7beb
* tiff[core,jpeg,lzma,zip]:x64-windows@4.7.1 -- git+https://github.com/microsoft/vcpkg@9391305288677bb3959bf22a08218a61ffec0be0
* tinyxml2:x64-windows@11.0.0 -- git+https://github.com/microsoft/vcpkg@642c5abe1171318729a73bdf95ce6c2ca58e079c
* uriparser:x64-windows@1.0.2 -- git+https://github.com/microsoft/vcpkg@e4be433413c0dbaedf85eacfcaf998b00ad4e778
* vcpkg-boost:x64-windows@2025-03-29 -- git+https://github.com/microsoft/vcpkg@858b0333b773b5650c3f19ef271e3205542d7ceb
* vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
* vcpkg-cmake-config:x64-windows@2024-05-23 -- git+https://github.com/microsoft/vcpkg@97a63e4bc1a17422ffe4eff71da53b4b561a7841
* vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
* vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
* vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03 -- git+https://github.com/microsoft/vcpkg@6845369c8cb7d3c318e8e3ae92fd2b7570a756ca
* vcpkg-tool-meson:x64-windows@1.9.0#10 -- git+https://github.com/microsoft/vcpkg@86a0d388e3e72719eadc392e359ee80f2f8d8a16
* zlib:x64-windows@1.3.2#1 -- git+https://github.com/microsoft/vcpkg@f49b05c666425471a7f6dc8b6156e9b3675a3c90
* zstd:x64-windows@1.5.7 -- git+https://github.com/microsoft/vcpkg@31b7320fab13790c6861cb3c2d50dc8f60ca3602
Additional packages (*) will be modified to complete this operation.
Restored 22 package(s) from C:\Users\zhangyu\AppData\Local\vcpkg\archives in 7.6 s. Use --debug to see more details.
Installing 1/53 vcpkg-cmake-config:x64-windows@2024-05-23...
Elapsed time to handle vcpkg-cmake-config:x64-windows: 31.6 ms
vcpkg-cmake-config:x64-windows package ABI: 04aa64ee18f611ef68c93242720edecdf11d85a9e34b6374b4b93fdb5c16669c
Installing 2/53 vcpkg-cmake:x64-windows@2024-04-23...
Elapsed time to handle vcpkg-cmake:x64-windows: 16.3 ms
vcpkg-cmake:x64-windows package ABI: 017a10e0d7e7984aacad72464d319cfd1a85908180db468f39841bdb1190a9c0
Installing 3/53 eigen3:x64-windows@5.0.1...
Elapsed time to handle eigen3:x64-windows: 914 ms
eigen3:x64-windows package ABI: c0bc91a52bab661f31b426880549af3f3d929a7eeceb3118d82b828edb4bda2a
Installing 4/53 zstd:x64-windows@1.5.7...
Elapsed time to handle zstd:x64-windows: 40.1 ms
zstd:x64-windows package ABI: e0aa816054b20be41b18a4cd28709eb3b324ebfc66d10886335566efbc2c315b
Installing 5/53 libwebp[core,libwebpmux,nearlossless,simd,unicode]:x64-windows@1.6.0#2...
Elapsed time to handle libwebp:x64-windows: 92.2 ms
libwebp:x64-windows package ABI: 4ed3a78306bbdb765f2f3e76cb64f97950e4e16318f71a274196c56c7beb9f6e
Installing 6/53 sqlite3[core,json1,rtree,tool]:x64-windows@3.53.2#1...
Elapsed time to handle sqlite3:x64-windows: 58.5 ms
sqlite3:x64-windows package ABI: 8538c65eec1195c1120890c51c17022217b2613e666ac3c0442ff352c14ed9a6
Installing 7/53 qhull:x64-windows@8.0.2#6...
Elapsed time to handle qhull:x64-windows: 61.5 ms
qhull:x64-windows package ABI: e52a2a63147f7b926d7fd48d4aa8b26a66993f86d9961f1ca7da330314cabb5e
Installing 8/53 zlib:x64-windows@1.3.2#1...
Elapsed time to handle zlib:x64-windows: 43.9 ms
zlib:x64-windows package ABI: 6a88b93ee849b4a020534a2a14bd71452b33fc8cf0d3b9979cbd8f3a629a6bf5
Installing 9/53 vcpkg-cmake-get-vars:x64-windows@2025-05-29...
Elapsed time to handle vcpkg-cmake-get-vars:x64-windows: 21.2 ms
vcpkg-cmake-get-vars:x64-windows package ABI: 1aa590ec47b0afed6045265283d635fc69448539704eb2291cf9352d64b0f9f4
Installing 10/53 openssl:x64-windows@3.6.3...
Elapsed time to handle openssl:x64-windows: 139 ms
openssl:x64-windows package ABI: fd7d67d0bc4b5547378d31bb7bce420d44e6c6fc18229364a989432aa4a4c669
Installing 11/53 lz4:x64-windows@1.10.0...
Elapsed time to handle lz4:x64-windows: 32.3 ms
lz4:x64-windows package ABI: 1a714a430977c6bb653e84567702f66c38206c1e382032fda503c1a94fc2074d
Installing 12/53 vcpkg-tool-meson:x64-windows@1.9.0#10...
Elapsed time to handle vcpkg-tool-meson:x64-windows: 21.5 ms
vcpkg-tool-meson:x64-windows package ABI: c9a75b65e2f03195dec3145bf0c188bea931c4f10ee565c2a5e84f7c7d11230c
Installing 13/53 libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
Building libpq[core,lz4,openssl,zlib]:x64-windows@18.4...
C:\Users\zhangyu\AppData\Local\vcpkg\registries\git-trees\8c165a9c39a43f72289e216677d33fdf161144f8: info: installing from git registry git+https://github.com/microsoft/vcpkg@8c165a9c39a43f72289e216677d33fdf161144f8
-- Found Python version '3.12.7 at C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/python/python-3.12.7-x64-1/python.exe'
-- Using meson: C:/Users/zhangyu/AppData/Local/vcpkg/downloads/tools/meson-1.9.0-633807/meson.py
-- Using cached postgresql-18.4.tar.bz2
-- Extracting source C:/Users/zhangyu/AppData/Local/vcpkg/downloads/postgresql-18.4.tar.bz2
-- Applying patch library-linkage.diff
-- Applying patch libpq-and-client-tools.diff
-- Applying patch libintl.diff
-- Applying patch zic.diff
-- Applying patch windows/macro-def.patch
-- Applying patch windows/spin_delay.patch
-- Applying patch windows/getopt.patch
CMake Error at scripts/cmake/vcpkg_extract_source_archive.cmake:153 (file):
file RENAME failed to rename
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean.tmp/postgresql-18.4
to
E:/gitea/geopro/build/release/vcpkg_installed/vcpkg/blds/libpq/src/tgresql-18-548f0c89bf.clean
because: 锟杰撅拷锟斤拷锟绞★拷
Call Stack (most recent call first):
C:/Users/zhangyu/AppData/Local/vcpkg/registries/git-trees/8c165a9c39a43f72289e216677d33fdf161144f8/portfile.cmake:8 (vcpkg_extract_source_archive)
scripts/ports.cmake:206 (include)
error: building libpq:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle libpq:x64-windows: 1.6 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libpq
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Blibpq%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2Fgitea%2Fgeopro%2Fbuild%2Frelease%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
-- Running vcpkg install - failed
CMake Error at D:/Program Files/Microsoft Visual Studio/2022/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:953 (message):
vcpkg install failed. See logs for more information:
E:\gitea\geopro\build\release\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/Qt/Tools/CMake_64/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:2 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

View File

@ -0,0 +1,464 @@
# 雷达 B-Scan 详情页开发方案 — 2026-06-29
> 状态方案阶段待确认事项见第7节。确认后即可按第6节顺序开发。
> 基线分支:`radar`(基于 `fix/3d-volume-blanking-mask`)。
---
## 1. 一句话架构
**B-Scan 详情页 = 独立 ADS Dock 工作区(非底部页签)**,内部自含:
- 顶部控制栏23+ 处理参数 + 色阶/对比度/比例/模式切换)
- 主体 B-Scan 剖面图(灰度/彩色/Wiggle 可切换,支持框选异常、滚轮缩放、悬停读值)
- 右侧内嵌 A-Scan 单道波形(点击剖面任意位置联动)
- 右侧面板对象属性(采集参数只读表)+ 对象异常(异常列表+操作)
数据流:**本地文件/后端 → `io/gpr` 解析 → `core/gpr_proc` 信号处理管线 → `BScanProfileView` 自渲染QImage + QPainter非 Qwt/VTK→ 参数调整即时重绘**。
---
## 2. 关键决策与理由
| 决策 | 选择 | 理由 |
|---|---|---|
| 容器 | **独立 ADS CDockWidget**(类似 `MapViewPanel` | 底部 `DatasetDetailPanel` 空间(~200-300px高无法承载密集控制栏+大面积剖面交互+A-Scan波形。独立 dock 可最大化利用屏幕,且雷达分析是专业深度工作流,值得独占工作区。 |
| B-Scan 渲染 | **QImage + QPainter 自绘**(非 Qwt/VTK | B-Scan 是二维 raster 图像traces × samples 的像素矩阵),非曲线/等值线。Qwt 的 `QwtPlot` 面向函数曲线,不适合 rasterVTK 过重且离屏渲染延迟高。QImage 直接操作像素,处理管线输出 `std::vector<float>` → 映射色阶 → `setPixel`/`scanLine`,足够快且可控。 |
| A-Scan 渲染 | **QwtPlot 曲线**(复用现有 Qwt 基础设施) | A-Scan 是单道振幅-深度折线Qwt 的 `QwtPlotCurve` 完全匹配,且项目已链 Qwt。 |
| 处理管线 | **前端 C++ 实时计算**(内存常驻 + 多线程) | 用户明确要求"几分钟处理完公里级数据"。全量数据32MB/测线)驻内存,参数调整只重跑相关处理节点(脏链追踪),避免全量重算。重负载节点(滤波、偏移、反褶积)丢 `QtConcurrent::run` 后台线程,主线程保持 UI 响应。 |
| 数据入口 | **先本地文件(.iprb/.iprh/.ord后接后端 API** | API 和 ddCode 尚未设计。M1 先走本地文件入口验证处理管线和 UI后端契约确定后`data` 层补 `loadAsync` 分发即可,视图层不动。 |
| 异常标注 | **前端本地状态M1+ 后端同步接口M2** | 前端用 `std::vector<GprAnomaly>` 驻内存,支持增删改+截图关联;后端 API 就绪后,在 `data` 层补 `saveAnomalies/loadAnomalies`,控制器层补上传逻辑。 |
---
## 3. 数据流(端到端)
```
[用户双击雷达数据集]
DatasetListPanel::itemDoubleClicked
main.cpp ──► 判断 ddCode == "dd_gpr_data"(或雷达相关 ddCode
▼ 走独立路由(不走 DatasetDetailController 的页签引擎)
RadarWorkbenchController::openSurvey(dsId, ddCode, dsName, filePath)
▼ 如果本地文件已缓存,直接取;否则发请求/读本地文件
[io/gpr 层] readIprb / assembleGprSurvey / 未来 readRd3
│ 输出core::GprSurveyntraces×samples×channels 的 double 值数组)
[core/gpr_proc 层] GprProcessingPipeline
输入:原始 B-scan某通道的 traces×samples+ ProcessingParams
节点链ZeroTime ──► ZeroDrift ──► BackgroundRemove ──► Gain ──► Bandpass
──► Smooth ──► TraceBalance ──► SampleBalance ──► Hilbert
──► Migration ──► TopoCorrect ──► Resample ──► PredictiveDecon
输出processed B-scanfloat 矩阵,与输入同维度)
▼ 参数变更时只重算脏节点下游(缓存各节点输出)
[app/panels/radar/ BScanProfileView]
- 原始/处理后数据各一份(或处理后实时生成)
- ColorMapperfloat 值域 → ColorScale → RGBA 像素
- QPainter画像素矩阵 + 网格线 + 异常框 + 十字准星
- 交互:滚轮缩放/平移变换矩阵、框选QRectF 世界坐标、悬停mouseMove 转采样/道号)
▼ 点击剖面位置
[A-Scan 子视图] AScanWaveformViewQwtPlotCurve 实时更新)
▼ 右侧面板
[ObjectAttrPanel] 采集参数只读表(走现有 KeyValueView
[ObjectExceptionPanel] 异常列表(复用现有异常列表面板逻辑)
```
**注意**:此路由**绕过** `DatasetDetailController` / `ChartStrategyRegistry` / `DetailViewFactory` 的页签引擎。雷达详情页是**独立专业工作区**,非通用页签容器。未来若需把雷达也纳入底部页签(如只展示属性表格),可再补一个 `Table` 页签走现有引擎。
---
## 4. 分层设计
### 4.1 `core/gpr_proc` — 信号处理管线(纯 C++17零 Qt/VTK
**设计目标**可独立单元测试、可脏链追踪、SIMD/多线程友好。
**核心抽象**
```cpp
// 处理节点接口
class IGprProcNode {
public:
virtual ~IGprProcNode() = default;
// 输入输出:行主序 float 矩阵 [trace][sample],尺寸由 meta 描述
virtual void process(const float* in, float* out, const GprTraceMeta& meta) = 0;
virtual QString name() const = 0;
};
// 管线:持有节点链,支持脏链追踪与缓存
class GprProcessingPipeline {
public:
void setNodeEnabled(const QString& name, bool on);
void setNodeParams(const QString& name, const QVariantMap& params);
// 执行管线:从原始数据到处理后数据,只重算脏节点
std::vector<float> run(const std::vector<float>& raw, const GprTraceMeta& meta);
// 获取指定节点的输出(用于调试/中间结果展示)
const std::vector<float>& nodeOutput(const QString& name) const;
private:
std::vector<std::unique_ptr<IGprProcNode>> nodes_;
std::unordered_map<QString, std::vector<float>> cache_;
std::unordered_set<QString> dirty_;
};
```
**节点清单(按用户需求的 20+ 种处理)**
| # | 节点名 | 类名 | 复杂度 | 说明 |
|---|---|---|---|---|
| 1 | 时间零点校正 | `ZeroTimeCorrectionNode` | 低 | 自动/手动模式;自动:前 N 采样内噪声σ倍数阈值找起跳 |
| 2 | 去除零漂 | `ZeroDriftRemovalNode` | 低 | DC(整道均值) / Sliding(滑动窗口均值) |
| 3 | 背景去除 | `BackgroundRemovalNode` | 中 | MeanAverage(多道平均) / SingularityFilter(SVD) |
| 4 | 增益 | `GainNode` | 中 | AGC / SphericalDiffusion / AbsorptionCompensation 等 |
| 5 | 带通滤波 | `BandpassFilterNode` | 中 | FFT 实现(需 FFTW 或自实现 Cooley-Tukey自动/手动频带 |
| 6 | 剖面平滑 | `SmoothingNode` | 低 | 2D 均值/高斯滤波,可分别开关横向/纵向 |
| 7 | 道间均衡 | `TraceBalanceNode` | 中 | Global(全剖面RMS) / Local(滑动窗口RMS) |
| 8 | 道内增益 | `SampleBalanceNode` | 中 | TVG-like深度方向滑动RMS均衡 |
| 9 | 希尔伯特变换 | `HilbertTransformNode` | 中 | 包络/瞬时相位/瞬时频率FFT-based 或时域 FIR |
| 10 | 偏移处理 | `MigrationNode` | **高** | Kirchhoff / F-K 偏移;需速度模型 |
| 11 | 速度分析 | `VelocityAnalysisNode` | **高** | 双曲线拟合 → 速度谱;交互式拾取(后续迭代) |
| 12 | 地形校正 | `TopoCorrectionNode` | 中 | 高程→时深转换,波形整体平移/拉伸 |
| 13 | 里程归一化 | `DistanceNormalizationNode` | 低 | 打标处插桩号,固定道间距重采样 |
| 14 | 数据重采样 | `ResamplingNode` | 低 | 横向/纵向独立,线性插值 |
| 15 | 预测反褶积 | `PredictiveDeconNode` | **高** | 自相关 → Levinson-Durbin → 预测误差滤波 |
| 16 | 道编辑 | `TraceEditNode` | 低 | 废道删除/置零(前端 UI 传入废道索引列表) |
| 17 | 剖面反向 | `ReverseTraceNode` | 低 | 道序反转 |
**M1 阶段实现优先级**
- **P0必须**1, 2, 4(基础增益), 5(简化版), 6, 7, 8, 14, 16, 17
- **P1重要**3, 4(球面扩散), 9, 12, 13
- **P2后续迭代**10, 11, 15计算密集需更多测试数据验证
**性能策略**
- 节点输出缓存:`run()` 时比较参数 hash未变则直接返回缓存。
- 并行化:各道独立处理(零漂、增益、均衡等)用 `tbb::parallel_for``std::execution::par`C++17
- FFT带通滤波、希尔伯特变换需 FFT。可用 `fftw3`vcpkg 有或自实现基2-FFT数据量 516 采样点,很小,自实现也可接受)。推荐先自实现避免引入新依赖,性能不足再切 FFTW。
### 4.2 `app/panels/radar/` — B-Scan 视图层QtWidgets
**核心组件**
```
BScanWorkbenchADS::CDockWidget 外壳)
├── BScanProfileViewQWidget自绘主体
│ ├── 顶部工具栏:测线选择/通道选择/色阶/对比度/XY比例/显示异常/各处理参数按钮
│ ├── BScanCanvasQWidget自绘核心
│ │ ├── 原始数据缓存std::vector<float> raw_
│ │ ├── 处理后数据缓存std::vector<float> proc_或实时从管线取
│ │ ├── ColorMapperfloat min/max → ColorScale → QRgb
│ │ ├── ViewTransform世界坐标 ↔ 屏幕坐标:平移/缩放矩阵)
│ │ ├── 交互状态机Idle / Panning / Zooming / MarqueeSelect / Hover
│ │ └── 异常标注列表std::vector<BScanAnomaly>,世界坐标存储)
│ └── AScanWaveformViewQWidget内嵌右侧
│ └── QwtPlot + QwtPlotCurve单道波形实时刷新
├── ObjectAttrPanel右侧面板上— 复用现有 KeyValueView
└── ObjectExceptionPanel右侧面板下— 复用现有异常列表逻辑
```
**BScanCanvas 渲染管线**
```cpp
void BScanCanvas::paintEvent(QPaintEvent*) {
QPainter p(this);
// 1. 背景
p.fillRect(rect(), Qt::black);
// 2. 根据当前标签(rawdata/proc_data_1)选择数据源
const auto& data = (currentTab_ == Raw) ? raw_ : proc_;
// 3. 可见区域裁剪:由 viewTransform_ 计算当前窗口对应的 [t0,t1)×[s0,s1)
// 4. 逐像素/逐块映射float → ColorScale → QRgb
// - 若缩放比小(全景),聚合多采样取平均后上色(防混叠)
// - 若缩放比大(局部),单采样直接上色
// 5. 画网格线(里程/深度刻度,根据缩放动态抽稀)
// 6. 画异常框(世界坐标 → 屏幕坐标,红框+标签)
// 7. 画十字准星(鼠标悬停位置)
// 8. 画打标线(如果有打标数据)
}
```
**交互设计细节**
| 交互 | 实现 | 坐标系 |
|---|---|---|
| 左键拖动 | 平移(修改 viewTransform 的 offset | 屏幕 delta → 世界 delta |
| 滚轮 | 以鼠标位置为中心缩放(修改 viewTransform 的 scaleX/scaleY | 屏幕锚点 → 世界锚点保持不动 |
| 左键框选 | 释放时生成 `BScanAnomaly`(世界坐标矩形) | 屏幕 rect → 世界 rect |
| 鼠标悬停 | 状态栏显示:道号、里程、深度、振幅值;同时更新 A-Scan | 屏幕 pos → 道号 t + 采样 s |
| 双击异常框 | 弹出异常编辑对话框(类型/深度/尺寸/备注) | — |
| 右键菜单 | 切换 X 轴显示:道号 / 距离 / 里程;切换 Y 轴:时间 / 深度 | — |
**Wiggle 模式**:点击按钮切换。
- Off正常灰度/彩色 raster 图。
- On每道画波形线振幅→水平偏移正右负左填充正/负区域为不同颜色,背景透明/白色。参考地震勘探 wiggle trace 标准画法。
### 4.3 `controller` — 雷达工作区控制器
新增 `RadarWorkbenchController`(独立于 `DatasetDetailController`
```cpp
class RadarWorkbenchController : public QObject {
Q_OBJECT
public:
void openSurvey(const std::string& dsId, const std::string& ddCode,
const QString& name, const QString& filePath);
void switchChannel(int channelIndex);
void setProcessingParams(const GprProcessingParams& params);
void runProcessing(); // 触发管线,完成后 emit processedReady
void saveAnomalies(); // M2调后端 API 上传异常
signals:
void surveyLoaded(const GprSurveyInfo& info); // 采集参数、通道列表
void rawDataReady(const std::vector<float>& data, const GprTraceMeta& meta);
void processedReady(const std::vector<float>& data, const GprTraceMeta& meta);
void anomalyListChanged(const std::vector<GprAnomaly>& anomalies);
void progress(int percent, const QString& stage); // 长时间处理进度
};
```
---
## 5. 数据模型新增
### 5.1 `core/model/gpr_proc/`(新建目录)
```cpp
// GprTraceMeta.hpp — 单通道剖面的元数据(纯 C++17
struct GprTraceMeta {
int ntraces = 0;
int samples = 0;
double dx = 0; // 道距 (m)
double dz = 0; // 采样间隔 (m 或 ns)
double x0 = 0;
double z0 = 0;
bool zIsTime = false; // true=时间(ns), false=深度(m)
double velocityMPerNs = 0.12; // 雷达波速,时深转换用
};
// GprProcessingParams.hpp — 全部处理参数的结构化定义
struct GprProcessingParams {
// 零点校正
struct ZeroTime { bool autoDetect=true; int cutSamples=30; int frontSearchWindow=180; double noiseSigmaMultiple=3.0; } zeroTime;
// 零漂
enum class ZeroDriftMode { DC, Sliding };
struct ZeroDrift { ZeroDriftMode mode=ZeroDriftMode::Sliding; int slidingWindowSamples=100; } zeroDrift;
// 背景去除
enum class BgMode { MeanAverage, SingularityFilter };
struct Background { BgMode mode=BgMode::MeanAverage; int averageTraceCount=301; double singularityThreshold=1.8; } background;
// 增益(简化:先实现 SphericalDiffusion
struct Gain { bool enableSpherical=true; bool enableAbsorption=true; double velocityMPerNs=0.12; double referenceDepthM=0.01; double exponent=1.5; double absorptionBeta=1.0; double maxGain=30.0; } gain;
// 带通滤波
struct Bandpass { bool autoFreq=true; double lowFreqHz=1000; double highFreqHz=100; double antennaFreqMHz=200.0; } bandpass;
// 平滑
struct Smooth { int smoothWindow=2; bool verticalSmooth=true; bool horizontalSmooth=true; } smooth;
// 道间均衡
enum class TraceBalanceMode { Global, Local };
struct TraceBalance { TraceBalanceMode mode=TraceBalanceMode::Local; int horizontalWindowTraces=31; double targetRms=0.0; double maxGain=4.0; double epsilon=1.0; } traceBalance;
// 道内增益
struct SampleBalance { int windowSamples=120; double targetRms=0.0; double maxGain=6.0; double epsilon=1.0; } sampleBalance;
// 希尔伯特
struct Hilbert { bool computeEnvelope=true; } hilbert;
// 偏移
struct Migration { int sumWidth=64; double velocityMPerNs=0.12; } migration;
// 地形校正
struct Topo { bool useAverageElevation=true; double baseElevation=0.0; } topo;
// 重采样
struct Resample { bool resampleTraces=false; bool resampleSamples=false; int newTraces=0; int newSamples=0; } resample;
// 预测反褶积
struct PredictiveDecon { int predLag=1; int filterLen=10; } predictiveDecon;
};
// GprAnomaly.hpp — 雷达异常标注(前后端共用模型)
struct GprAnomaly {
QString id; // 后端返回或前端临时 UUID
QString surveyLineName;
int traceStart = 0, traceEnd = 0; // 道号范围
int sampleStart = 0, sampleEnd = 0; // 采样范围
double distanceStartM = 0, distanceEndM = 0; // 里程范围(m)
double depthStartM = 0, depthEndM = 0; // 深度范围(m)
QString typeCode; // cavity / loose / void / pipe ...
QString typeName;
double widthM = 0, heightM = 0, lengthM = 0; // 异常尺寸
double burialDepthM = 0; // 埋深
double clearanceM = 0; // 净空
double confidence = 0; // 置信度 0-1
QString remark;
QString sliceScreenshotPath; // 切片截图本地路径M1 先本地文件)
QString profileScreenshotPath; // 剖面截图本地路径
};
```
### 5.2 `io/gpr/` — rd3 解析器(未来扩展)
在现有 `IprbReader` / `IprHeader` / `GprSurveyAssembler` 旁新增:
```cpp
// Rd3Reader.hpp — MALA .rd3 / .rd7 三维雷达格式解析
namespace geopro::io::gpr {
struct Rd3Header { /* 天线频率、采样率、道数、通道数等 */ };
Rd3Header parseRd3Header(const std::string& headerText);
BScan readRd3(const std::string& path, const Rd3Header& h);
BScan readRd3Range(const std::string& path, const Rd3Header& h, std::int64_t t0, std::int64_t t1);
} // namespace geopro::io::gpr
```
> **注意**`.rd3` 格式细节需用户提供样例文件或格式文档。当前先以 `.iprb` 验证管线。
---
## 6. 文件清单与开发顺序
### Phase A基础设施无 UI可独立测试
| 顺序 | 文件 | 说明 |
|---|---|---|
| A1 | `src/core/model/gpr_proc/GprTraceMeta.hpp` | 元数据模型 |
| A2 | `src/core/model/gpr_proc/GprProcessingParams.hpp` | 参数结构体(对应用户需求的 20+ 参数) |
| A3 | `src/core/model/gpr_proc/GprAnomaly.hpp` | 异常标注模型 |
| A4 | `src/core/gpr_proc/IGprProcNode.hpp` | 节点接口 |
| A5 | `src/core/gpr_proc/GprProcessingPipeline.hpp/cpp` | 管线编排+脏链追踪 |
| A6 | `src/core/gpr_proc/ZeroTimeCorrectionNode.cpp` | 零点校正 |
| A7 | `src/core/gpr_proc/ZeroDriftRemovalNode.cpp` | 去零漂 |
| A8 | `src/core/gpr_proc/GainNode.cpp` | 基础增益(球面扩散+吸收补偿) |
| A9 | `src/core/gpr_proc/BandpassFilterNode.cpp` | 带通滤波(自实现 FFT |
| A10 | `src/core/gpr_proc/SmoothingNode.cpp` | 剖面平滑 |
| A11 | `src/core/gpr_proc/TraceBalanceNode.cpp` | 道间均衡 |
| A12 | `src/core/gpr_proc/SampleBalanceNode.cpp` | 道内增益 |
| A13 | `src/core/gpr_proc/ResamplingNode.cpp` | 数据重采样 |
| A14 | `tests/core/gpr_proc/test_gpr_pipeline.cpp` | 管线集成测试(用 fixture 数据断言输出) |
| A15 | `tests/core/gpr_proc/test_*.cpp` | 各节点单元测试 |
### Phase BB-Scan 视图UI 核心)
| 顺序 | 文件 | 说明 |
|---|---|---|
| B1 | `src/app/panels/radar/BScanCanvas.hpp/cpp` | 自绘核心QImage raster + 交互状态机) |
| B2 | `src/app/panels/radar/ColorMapper.hpp/cpp` | float → ColorScale → QRgb复用 core::ColorScale |
| B3 | `src/app/panels/radar/ViewTransform.hpp/cpp` | 世界↔屏幕坐标变换(纯几何,可单测) |
| B4 | `src/app/panels/radar/AScanWaveformView.hpp/cpp` | A-Scan 波形QwtPlotCurve |
| B5 | `src/app/panels/radar/BScanProfileView.hpp/cpp` | 总装:工具栏 + BScanCanvas + AScanWaveformView |
| B6 | `src/app/panels/radar/BScanToolbar.hpp/cpp` | 顶部控制栏(参数按钮+滑块+下拉) |
| B7 | `src/app/panels/radar/GprColorScaleDialog.hpp/cpp` | 色阶选择对话框(可复用 ColorScaleConfigDialog |
| B8 | `src/app/panels/radar/GprParamsDialog.hpp/cpp` | 参数配置对话框(各处理参数的表单) |
| B9 | `src/app/panels/radar/BScanAnomalyDialog.hpp/cpp` | 异常编辑对话框(类型/深度/尺寸/备注) |
| B10 | `src/app/panels/radar/BScanWorkbench.hpp/cpp` | ADS DockWidget 外壳 + 右侧面板布局 |
### Phase C控制器与集成
| 顺序 | 文件 | 说明 |
|---|---|---|
| C1 | `src/controller/RadarWorkbenchController.hpp/cpp` | 控制器:数据加载/处理调度/异常管理 |
| C2 | `src/app/main.cpp` | 修改新增雷达工作区路由、ADS dock 注册、信号接线 |
| C3 | `src/app/CMakeLists.txt` | 新增 Phase B 所有 .cpp 文件 |
| C4 | `src/core/CMakeLists.txt` | 新增 Phase A 所有 .cpp 文件gpr_proc 子目录) |
| C5 | `tests/...` | 补 UI 单元测试ViewTransform、ColorMapper和控制器测试 |
### Phase D后端对接M2API 就绪后)
| 顺序 | 文件 | 说明 |
|---|---|---|
| D1 | `src/data/api/ApiDatasetRepository.cpp` | 新增 loaderKey 分发:`gpr.profile`、`gpr.anomalies` 等 |
| D2 | `src/data/dto/GprDto.hpp/cpp` | 雷达采集参数、异常列表的 JSON DTO |
| D3 | `src/controller/RadarWorkbenchController.cpp` | 补 `saveAnomalies` / `loadAnomalies` 后端调用 |
---
## 7. 待确认事项(阻塞开发或影响架构)
### 🔴 高优先级(阻塞 Phase C 及之后)
1. **ddCode 命名**
- 雷达数据集在后端的 `ddCode` 是什么?例如 `dd_gpr_data`、`dd_radar_profile`、`dd_gpr_bscan`
- 是否按"三维雷达"vs"二维雷达"分不同 ddCode`.rd3` 是三维阵列雷达,`.iprb` 是二维单通道)
2. **数据集入口方式**
- 用户双击数据集后,前端如何获取雷达文件的本地路径?
- 方案A后端 `/business/dataset/detail` 返回 `filePath` 字段,前端直接读本地文件。
- 方案B后端提供 `/business/dd/gpr/download` 接口,前端先下载到临时目录再读。
- 方案C后端直接提供 `/business/dd/gpr/profile` 返回二进制 B-scan 数据,前端不碰文件系统。
- **推荐 A 或 B**(前端实时处理需要本地文件随机访问/seek
3. **雷达采集参数的数据来源**
- 用户的"对象属性"表格Date/Time/Antenna/Frequency/Traces/Channels 等)来自哪里?
- 方案A全从 `.iprh` / `.rd3` 头文件解析(已有 `IprHeader` 部分字段,需扩充)。
- 方案B后端 `/business/dd/gpr/info` 返回结构化 JSON前端解析填表。
- **推荐 AM1+ BM2 补充后端管理字段)**
4. **多通道数据模型**
- 阵列雷达16通道在界面上是"一次全载 16 通道到内存"还是"按需切换通道懒加载"
- 16 通道 × 3778 道 × 516 采样 × 4字节(float) ≈ **120MB**,全载可接受。
- 但处理管线是"每个通道独立跑"还是"跨通道联合处理"?(背景去除的 MeanAverage 是跨道,但这里用户描述是按通道的"同通道道数量"平均)
- **建议 M1 先全载,切换通道时即时换数据,处理管线按单通道跑**
### 🟡 中优先级(影响 UI 细节,不阻塞架构)
5. **异常标注的数据模型确认**
- 异常的世界坐标系:用 **道号+采样点**(原始索引)还是 **里程+深度**(物理坐标)?
- 用户说"上传点坐标,对应测线名称,距离和深度等"——建议**双存**:前端用道号/采样点(抗重采样不变性),显示和上传时转里程/深度。
- 异常类型枚举:用户提到"空洞/疏松/脱空/管线"——是否还有其他?需要完整列表。
- 截图要求:"切片截图和剖面截图"——M1 阶段用 `QWidget::grab()` 生成 `QPixmap` 存本地临时文件M2 上传时作为 multipart/form-data 附件?
6. **色阶方案**
- 用户提到"灰度图、彩虹色阶、冷暖色阶、振幅色阶"——这些是否已有定义?
- 复用现有 `core::ColorScale`(阶梯色阶)+ 预置几套默认 stopsGray/Rainbow/Seismic/Amplitude
- 是否支持与 2D/3D 视图色阶联动?(跨视图色阶真源 `DatasetViewState`)——建议 **M1 先独立M2 视需求接入联动**
7. **处理参数默认值**
- 用户给出了大量默认值(如 `cutSamples=30`、`slidingWindowSamples=100` 等)。
- 这些默认值是"写死在前端代码"还是"后端 `/business/dd/gpr/defaultParams` 返回"
- **建议 M1 写死M2 后端可覆盖**
8. **Wiggle 模式细节**
- Wiggle 画的波形线:正半周填充什么颜色?负半周填充什么颜色?线宽?背景色?
- 参考标准:地震勘探通常正半周填黑/红,负半周填白/蓝,背景白色。
9. **打标Marker数据格式**
- 用户说"第一列是道号,第二列是采样点,第三列是类型,第四列是可以插入的里程号"。
- 这个数据存在哪里?`.mrk` 文件?后端 API需要样例。
10. **rd3 格式文档/样例**
- `.rd3` 是 MALA 三维探地雷达格式,需要头文件结构说明或样例文件,才能写解析器。
- 是否与 `.iprb` 布局类似int16 道序存储)?
### 🟢 低优先级(可开发中迭代)
11. **独立工作区 vs 底部页签**
- 当前方案是独立 ADS Dock。如果产品坚持要走底部 `DatasetDetailPanel` 页签,需要大幅压缩 UI控制栏收进折叠面板A-Scan 弹窗或取消)。**请确认**。
12. **性能基准**
- "几分钟处理完公里级三维探地雷达数据"——具体数据量?
- 如10km 测线 × 20道/米 × 516 采样 × 16 通道 ≈ 3.2GB 原始数据int16。这个量级全内存+实时处理是否可行是否需要逐段流式处理Slab
- **建议先以单测线(~2MB/通道)验证管线性能,再评估大数据量策略**
---
## 8. 与现有架构的衔接点
| 现有组件 | 衔接方式 |
|---|---|
| `io/gpr/IprbReader` | 直接复用 `readIprb` / `readIprbRange` 读原始 B-scan |
| `io/gpr/IprHeader` | 解析采集参数frequency、samples、traces、timeWindow、distanceInterval需扩展字段date、time、antenna 型号等,如果头文件里有) |
| `io/gpr/GprSurveyAssembler` | 多通道时复用 `assembleGprSurvey` 装配 `core::GprSurvey` |
| `core::ColorScale` | B-Scan 上色直接复用,支持全局透明度和 under/over/nan |
| `core::GeoLocalFrame` / `GpsTrack` | 里程归一化、地形校正需要 GPS 轨迹 → 复用 `GpsTrack` 解析 `.gps` 文件 |
| `app/panels/KeyValueView` | 对象属性面板直接复用 |
| `app/panels/ObjectExceptionPanel` / `AnomalyTablePanel` | 异常列表 UI 复用,数据模型从 `core::Anomaly` 扩展为 `core::GprAnomaly` |
| `ads::CDockWidget` | BScanWorkbench 继承或封装 ADS 停靠 |
| `DatasetViewState` | M2 可选接入跨视图色阶联动 |
| `net::ApiClient` / `ApiBatch` | M2 后端对接复用现有网络基础设施 |
---
## 9. 风险评估
| 风险 | 等级 | 缓解措施 |
|---|---|---|
| FFT 实现性能不足(带通/希尔伯特) | 中 | 先自实现基2-FFT516点很小实测不足再引入 FFTW |
| 偏移/反褶积算法复杂M1 难以正确实现 | 高 | M1 不实现P2先留接口占位用简化版本或后端预处理过渡 |
| 大数据量(公里级)内存/性能不达标 | 中 | 单测线验证通过后,评估是否需要:① 分块加载Slab② 处理管线也分块 ③ 降采样预览 + 全精度导出 |
| rd3 格式无文档,解析器开发受阻 | 中 | 向用户/厂商索要格式说明或样例M1 先用 iprb 验证全链路 |
| UI 复杂度高,开发周期长 | 中 | 按 Phase A→B→C 分阶段交付每阶段可独立验证BScanCanvas 自绘虽然工作量大但可控 |
| API 未设计,后端对接延期 | 低 | M1 全走本地文件视图和控制器与后端解耦API 就绪后只改 data 层 |
---
_本文档为雷达 B-Scan 详情页的完整开发方案。待第 7 节高优先级事项确认后,按第 6 节 Phase A→B→C 顺序进入开发。_

View File

@ -0,0 +1,655 @@
# 雷达 B-Scan 详情页开发方案(修订版)— 2026-06-29
> 基于用户确认的 4 项关键决策修订:① 底部页签容器 ② dd_radar_2d/dd_radar_3d
> ③ 本地文件加载 ④ 单通道处理管线 + 用户提供算法代码。
> 基线分支:`radar`。上一版见同目录 `2026-06-29-radar-bscan-development-plan.md`
---
## 1. 一句话架构
**雷达 B-Scan = 现有底部页签引擎(`DatasetDetailController` + `ChartStrategyRegistry`)内的一个全新 `ViewKind::BScanProfile` 视图**。`BScanProfileView` 内部自含紧凑工具条 + 左右分割B-Scan 自绘 canvas + A-Scan Qwt 曲线)+ 底部状态栏。数据从前端本地 `.iprb/.iprh` 文件读取,处理管线在 `core/gpr_proc` 纯 C++ 层跑,用户提供各算法实现填入管线节点。
---
## 2. 相比上一版的关键调整
| 项 | 上一版 | 修订版 |
|---|---|---|
| 容器 | 独立 ADS Dock | **底部 `DatasetDetailPanel` 页签**(走 `DatasetDetailController` |
| ddCode | 待定 | **`dd_radar_2d`**(单通道)/**`dd_radar_3d`**(多通道阵列) |
| 数据入口 | 后端 API 或本地文件 | **纯本地文件**`ApiDatasetRepository` 对 radar loaderKey 本地处理) |
| 采集参数 | 后端 API 或头文件 | **全从 `.iprh` 头文件解析**(复用/扩展现有 `IprHeader` |
| 处理算法 | 我实现 | **用户提供代码**,我只定义接口 + 管线框架 |
| 多通道 | 单通道独立跑 | **全载内存,顶部工具条通道切换,处理管线按当前选中单通道跑** |
---
## 3. 数据流(底部页签路线,端到端)
```
[DatasetListPanel 双击雷达数据集 item]
main.cpp:1501 读 kDsIdRole + kDsDdCodeRole="dd_radar_2d"(或 dd_radar_3d
main.cpp:1509 detailCtrl.openDataset(dsId, "dd_radar_2d", dsName, tmObjectId)
[DatasetDetailController::openDataset]
registry_.find("dd_radar_2d") → Radar2dStrategy
strategy->tabs() → [
{ "B-Scan剖面", ViewKind::BScanProfile, "radar.profile", lazy=false },
{ "采集参数", ViewKind::Table, "radar.info", lazy=false },
{ "异常列表", ViewKind::Table, "radar.anomalies", lazy=false }
]
emit datasetOpened(...) → DatasetDetailPanel 建页
loadTab(dsId, "dd_radar_2d", 0) → loadTabImpl("radar.profile")
[ApiDatasetRepository::loadAsync("radar.profile", dsId)]
// 不走网络!本地文件直接读取:
1. 根据 dsId 推断本地路径(约定见 §4
2. io::gpr::parseIprHeader(iprhPath) → 采集参数
3. io::gpr::readIprb(iprbPath, header) → 单通道 B-scan2d
或 assembleGprSurvey(channelPaths, ordPath) → 多通道 GprSurvey3d
4. 组装 GprProfilePayload{原始数据, 头信息, 通道列表}
5. return new LocalDetailLoad(payload) // 同步完成,立即 emit done
[DatasetDetailController::tabReady]
emit tabReady(dsId, 0, payload)
[DatasetDetailPage::setTabPayload]
views_[0]->setPayload(payload) // BScanProfileView 自解包
[BScanProfileView]
1. 解包 GprProfilePayload → 填充通道选择下拉
2. 默认显示通道 0 的原始数据
3. 若用户切换到 proc_data_1 标签:
→ 用当前 ProcessingParams 跑 GprProcessingPipeline
→ 管线输出 proc_data → ColorMapper → 重绘 canvas
4. 用户调整参数 → 只重算脏节点 → 即时刷新
```
**懒加载/分页**:三个页签均 `lazy=false`(开页即载),`paginated=false`B-Scan 全量,采集参数/异常列表量小一次性返回)。异常列表量若大,后续可改 `paginated=true` + `DataTableView`
---
## 4. 本地文件加载方案
### 4.1 约定式本地路径
雷达数据集在前端本地项目目录下的固定结构:
```
{projectDir}/datasets/{dsId}/
├── data.iprh # 头文件(采集参数)
├── data.iprb # B-scan 二进制dd_radar_2d单通道
├── data.ord # 通道偏移dd_radar_3d 时需要)
└── data.gps # GPS 轨迹(可选,地形校正/里程归一化用)
```
`dd_radar_3d` 多通道扩展(若一个数据集含多线或多文件组):
```
{projectDir}/datasets/{dsId}/
├── data.iprh
├── ch01.iprb
├── ch02.iprb
...
├── ch16.iprb
└── channel.ord
```
### 4.2 `ApiDatasetRepository` 雷达分支(零架构改动)
在现有 `ApiDatasetRepository::loadAsync` 中,对 `"radar.*"` loaderKey 直接本地处理,**不发网络请求**。
```cpp
// src/data/api/ApiDatasetRepository.cpp
DetailLoad* ApiDatasetRepository::loadAsync(const std::string& key,
const std::string& dsId, ...) {
if (key == "radar.profile") return makeRadarProfile(dsId);
if (key == "radar.info") return makeRadarInfo(dsId);
if (key == "radar.anomalies") return makeRadarAnomalies(dsId);
// ... 现有网络请求逻辑不变
}
```
`makeRadarProfile` 内部:
1. 根据 `dsId` 组装本地目录路径(`LocalProjectPathResolver::datasetDir(dsId)`
2. 读 `.iprh``IprHeader`
3. `dd_radar_2d`:读单个 `.iprb``BScan` → 转 `float`
4. `dd_radar_3d`:读多通道 `.iprb` + `.ord``assembleGprSurvey``GprSurvey`
5. 返回 `LocalDetailLoad`(同步完成,`QTimer::singleShot(0, ...)` emit done
**优势**:零改动 `DatasetDetailController`、`IAsyncDatasetRepository` 接口、页签引擎。雷达数据只是 `ApiDatasetRepository` 内部的一个本地分支。
### 4.3 `IprHeader` 扩展(采集参数)
现有 `IprHeader` 只有 `samples/lastTrace/channels/timeWindowNs/soilVelocity/distanceInterval`。需要从 `.iprh` 中解析更多字段:
```cpp
// src/io/gpr/IprHeader.hpp 扩展
struct IprHeader {
// 已有字段
int samples = 0;
long lastTrace = 0;
int channels = 0;
double timeWindowNs = 0;
double soilVelocity = 0; // m/s
double distanceInterval = 0; // m
// 新增字段(从 .iprh 文本解析)
QString date; // 采集日期,如 "2022-03-10"
QString time; // 采集时刻,如 "10:46"
QString antennaModel; // 雷达硬件型号,如 "MALA MIRA"
double antennaFreqMHz = 0; // 天线中心频率 MHz
// ... 其他字段按需追加
};
```
**注意**`.iprh` 是文本头,字段名可能不固定。解析器用关键词模糊匹配(如 `"DATE"`、`"ANTENNA"`、`"FREQUENCY"`),缺失字段留空/0 不抛错。
---
## 5. 算法接口契约(用户代码接入点)
用户提供处理算法代码,我只负责**管线框架**(节点编排、参数传递、脏链追踪、缓存、线程调度)。
### 5.1 算法函数签名(用户需实现)
```cpp
// 所有算法统一签名:输入输出为行主序 float 矩阵 [trace][sample]
// meta 提供几何参数dx, dz, velocity 等)
// params 为各算法专属参数结构(见 §5.3
// 算法就地修改 outout 已由调用方分配,大小 = in.size()
using GprAlgoFunc = void(*)(const float* in, float* out,
const GprTraceMeta& meta,
const void* params);
```
**内存布局约定**(必须与用户提供代码一致):
- `in/out` 大小 = `meta.ntraces * meta.samples`
- 索引方式:`in[t * meta.samples + s]`,其中 `t=0..ntraces-1`(道号),`s=0..samples-1`(采样点)
- `t=0` 为测线起点,`s=0` 为地表(时间零点)
### 5.2 管线框架(我实现)
```cpp
// src/core/gpr_proc/GprProcessingPipeline.hpp
namespace geopro::core {
struct GprTraceMeta {
int ntraces = 0;
int samples = 0;
double dx = 0; // 道距 (m)
double dz = 0; // 深度采样间隔 (m 或 ns看 zIsTime)
double x0 = 0;
double z0 = 0;
bool zIsTime = true; // true=ns, false=m
double velocityMPerNs = 0.12;
};
// 节点描述(纯数据,无虚函数,零开销)
struct ProcNodeDesc {
QString name; // 唯一标识,如 "zero_time", "gain"
GprAlgoFunc algo; // 用户提供的算法函数指针
const void* params; // 指向参数结构体的指针(由调用方保证生命周期)
bool enabled = true; // 是否启用
};
class GprProcessingPipeline {
public:
// 注册节点按顺序。params 指针必须指向稳定内存(如 BScanProfileView 成员)。
void registerNode(const ProcNodeDesc& desc);
// 执行管线:从 raw 输入开始,按注册顺序逐节点处理,返回最终输出
// 内部缓存各节点输出,参数未变时直接返回缓存(脏链追踪)
std::vector<float> run(const std::vector<float>& raw,
const GprTraceMeta& meta);
// 标记某节点参数已变更(下次 run 时从该节点开始重算)
void markDirty(const QString& nodeName);
// 标记全部重算
void markAllDirty();
private:
std::vector<ProcNodeDesc> nodes_;
std::unordered_map<QString, std::vector<float>> cache_;
std::unordered_set<QString> dirty_;
};
} // namespace geopro::core
```
### 5.3 参数结构体(用户算法使用)
每个算法一个参数结构体,定义在 `core/model/gpr_proc/` 下。用户按这些结构体传参:
```cpp
// src/core/model/gpr_proc/GprAlgoParams.hpp
#pragma once
namespace geopro::core {
struct ZeroTimeParams {
bool autoDetect = true;
int cutSamples = 30;
int frontSearchWindow = 180;
double noiseSigmaMultiple = 3.0;
};
enum class ZeroDriftMode { DC, Sliding };
struct ZeroDriftParams {
ZeroDriftMode mode = ZeroDriftMode::Sliding;
int slidingWindowSamples = 100;
};
enum class BgMode { MeanAverage, SingularityFilter };
struct BackgroundParams {
BgMode mode = BgMode::MeanAverage;
int averageTraceCount = 301;
double singularityThreshold = 1.8;
};
struct GainParams {
bool enableSpherical = true;
bool enableAbsorption = true;
double velocityMPerNs = 0.12;
double referenceDepthM = 0.01;
double exponent = 1.5;
double absorptionBeta = 1.0;
double maxGain = 30.0;
};
struct BandpassParams {
bool autoFreq = true;
double lowFreqHz = 1000;
double highFreqHz = 100;
double antennaFreqMHz = 200.0;
};
struct SmoothParams {
int smoothWindow = 2;
bool verticalSmooth = true;
bool horizontalSmooth = true;
};
enum class TraceBalanceMode { Global, Local };
struct TraceBalanceParams {
TraceBalanceMode mode = TraceBalanceMode::Local;
int horizontalWindowTraces = 31;
double targetRms = 0.0;
double maxGain = 4.0;
double epsilon = 1.0;
};
struct SampleBalanceParams {
int windowSamples = 120;
double targetRms = 0.0;
double maxGain = 6.0;
double epsilon = 1.0;
};
struct HilbertParams {
bool computeEnvelope = true;
};
struct MigrationParams {
int sumWidth = 64;
double velocityMPerNs = 0.12;
};
struct TopoParams {
bool useAverageElevation = true;
double baseElevation = 0.0;
};
struct ResampleParams {
bool resampleTraces = false;
bool resampleSamples = false;
int newTraces = 0;
int newSamples = 0;
};
struct PredictiveDeconParams {
int predLag = 1;
int filterLen = 10;
};
// 总参数BScanProfileView 持有一个实例,各处理对话框修改子字段
struct GprProcessingParams {
ZeroTimeParams zeroTime;
ZeroDriftParams zeroDrift;
BackgroundParams background;
GainParams gain;
BandpassParams bandpass;
SmoothParams smooth;
TraceBalanceParams traceBalance;
SampleBalanceParams sampleBalance;
HilbertParams hilbert;
MigrationParams migration;
TopoParams topo;
ResampleParams resample;
PredictiveDeconParams predictiveDecon;
};
} // namespace geopro::core
```
### 5.4 用户提供代码的接入方式
**方式 A推荐函数指针**
用户把算法实现为 C 风格函数,放在 `src/core/gpr_proc/algo/` 下:
```cpp
// src/core/gpr_proc/algo/gpr_zero_time.cpp用户文件
#include "gpr_proc/GprAlgoParams.hpp"
void gprZeroTime(const float* in, float* out,
const geopro::core::GprTraceMeta& meta,
const void* params) {
const auto& p = *static_cast<const geopro::core::ZeroTimeParams*>(params);
// ... 用户算法实现 ...
}
```
管线注册:
```cpp
pipeline.registerNode({"zero_time", gprZeroTime, &params_.zeroTime});
```
**方式 B类接口若用户偏好 OOP**
```cpp
class IGprAlgorithm {
public:
virtual ~IGprAlgorithm() = default;
virtual void process(const float* in, float* out,
const GprTraceMeta& meta) = 0;
virtual QString name() const = 0;
};
```
**请用户确认偏好 A 还是 B**。A 更轻量C 风格函数指针B 更利于封装状态。
---
## 6. UI 组件架构(适配底部页签空间)
底部页签高度有限(默认 ~250px用户可拖拽拉大。BScanProfileView 内部必须紧凑。
```
BScanProfileViewQWidget实现 IDetailView
├── 顶部工具条单行QHBoxLayout
│ ├── [通道选择] QComboBox # dd_radar_3d 显示2d 隐藏
│ ├── [rawdata|proc_data_1] QButtonGroup # 切换原始/处理后
│ ├── [色阶] QComboBox # Gray / Rainbow / Seismic / ColdWarm
│ ├── [对比度] QSlider(0-200%) + QLabel
│ ├── [比例] QLabel("1:2") + QToolButton(调)
│ ├── [显示异常] QCheckBox
│ ├── [Wiggle] QToolButton(toggle)
│ ├── [道编辑] QToolButton
│ ├── [反向] QToolButton
│ └── [处理参数⚙] QToolButton # 点击弹出 GprProcessingDialog
├── 主体QSplitter水平
│ ├── BScanCanvasQWidget自绘占 80%
│ │ ├── 原始/处理后 float 数据缓存
│ │ ├── ColorMapperfloat→ColorScale→QImage
│ │ ├── ViewTransform世界↔屏幕
│ │ ├── 交互:滚轮缩放/左键平移/左键框选异常/悬停读值/右键菜单
│ │ └── 异常标注列表(屏幕坐标实时投影)
│ └── AScanWaveformViewQWidget占 20%,最小 120px
│ └── QwtPlot + QwtPlotCurve单道波形
└── 底部状态栏QHBoxLayout
├── 道号: 1234 | 里程: 123.45m | 深度: 2.34m | 振幅: -1234.5
└── 当前通道: CH01 | 当前数据: rawdata
```
### 6.1 空间压缩策略
| 原设计 | 底部页签适配 |
|---|---|
| 顶部多行控制栏23+参数) | **单行快捷栏** + "⚙处理参数"按钮弹出对话框 |
| 大面积剖面图 | BScanCanvas 占满可用空间,默认纵向压缩;用户拉大底部 panel 后自动扩展 |
| 右侧 A-Scan | QSplitter 水平分割,可拖拽调宽;默认窄条(~120px |
| 鼠标悬停信息面板 | 收进**底部状态栏**(单行文本),不盖剖面 |
| 异常编辑弹窗 | 模态对话框(`BScanAnomalyDialog`),不常驻 |
| 参数配置区 | `GprProcessingDialog`(模态/非模态对话框),分组折叠面板 |
### 6.2 BScanCanvas 自绘核心
```cpp
class BScanCanvas : public QWidget {
// 数据
std::vector<float> rawData_; // 当前通道原始数据
std::vector<float> procData_; // 处理后数据(由管线输出)
GprTraceMeta meta_;
// 渲染
QImage image_; // 当前显示的 RGB 图像(缓存)
ColorMapper mapper_; // float→QRgb复用 core::ColorScale
// 视图变换
ViewTransform view_; // 世界坐标(m,m) ↔ 屏幕坐标(px)
// 交互状态
enum class Mode { Idle, Panning, Zooming, Marquee, Hover } mode_ = Mode::Idle;
QPoint lastMousePos_;
QRectF marqueeRect_; // 框选异常(世界坐标)
// 异常
std::vector<GprAnomaly> anomalies_;
// A-Scan 联动
int hoverTrace_ = -1; // 当前悬停道号
signals:
void traceSelected(int traceIdx, const float* traceData, int samples);
void anomalySelected(const GprAnomaly& anomaly);
void hoverInfoChanged(const QString& info);
};
```
**paintEvent 管线**
1. 若数据/参数/视口变化 → 重新生成 `QImage``ColorMapper` float→QRgb
2. `QPainter::drawImage` 贴图
3. 画网格线(里程/深度刻度,根据缩放动态抽稀)
4. 画异常框(红框 + 标签)
5. 画十字准星(鼠标悬停位置)
6. 画打标线(如果有 Marker 数据)
**缩放策略**
- 滚轮:以鼠标位置为中心,缩放 `view_.scaleX``view_.scaleY`(可独立锁比例)
- XY 比例按钮:固定 `scaleY / scaleX = ratio`(如 1:2 表示纵向放大 2 倍)
- 全景:一键重置 view 到 fit
**Wiggle 模式**
- 关闭:`drawImage` 正常 raster 图
- 开启:每道画波形线(`QPainter::drawPolyline`),正半周填充色(如黑/红),负半周填充另一色(白/蓝),背景白
### 6.3 A-Scan 联动
```cpp
// BScanCanvas 悬停/点击某道时 emit traceSelected
connect(canvas_, &BScanCanvas::traceSelected, this, [this](int t, const float* data, int n) {
aScanCurve_->setSamples(data, n); // QwtPlotCurve 更新
aScanPlot_->replot();
});
```
---
## 7. Payload、ViewKind 与策略
### 7.1 新增 ViewKind
```cpp
// src/controller/DatasetDetailTab.hpp
enum class ViewKind {
Scatter, FilledContour, Bar, LineProfile, PolylineMap, Table, WebMap,
BScanProfile // ← 新增
};
```
### 7.2 新增 Payload
```cpp
// src/core/model/detail/DetailPayloads.hpp
// 单通道剖面数据B-Scan 核心载荷)
struct GprChannelData {
QString channelName; // 如 "CH01"
std::vector<float> data; // traces × samples行主序
};
struct GprProfilePayload {
GprTraceMeta meta; // 几何参数
std::vector<GprChannelData> channels; // 多通道数据2d 时 size=1
int currentChannel = 0; // 默认显示通道
// 采集参数(从头文件解析,供采集参数页签展示)
QString date, time, antennaModel;
double antennaFreqMHz = 0;
// 色阶(默认 Gray
ColorScale defaultScale;
};
// 雷达异常标注前后端共用M1 先本地)
struct GprAnomaly {
QString id;
QString typeCode; // cavity / loose / void / pipe
QString typeName;
int traceStart = 0, traceEnd = 0;
int sampleStart = 0, sampleEnd = 0;
double distStartM = 0, distEndM = 0;
double depthStartM = 0, depthEndM = 0;
double widthM = 0, heightM = 0, lengthM = 0;
double burialDepthM = 0, clearanceM = 0;
double confidence = 0;
QString remark;
};
Q_DECLARE_METATYPE(geopro::core::GprProfilePayload)
```
### 7.3 策略
```cpp
// src/app/panels/chart/Radar2dStrategy.hpp
struct Radar2dStrategy : controller::IDatasetChartStrategy {
std::string ddCode() const override { return "dd_radar_2d"; }
std::vector<controller::TabSpec> tabs() const override {
return {
{QStringLiteral("B-Scan剖面"), controller::ViewKind::BScanProfile,
QStringLiteral("radar.profile"), false, false},
{QStringLiteral("采集参数"), controller::ViewKind::Table,
QStringLiteral("radar.info"), false, false},
{QStringLiteral("异常列表"), controller::ViewKind::Table,
QStringLiteral("radar.anomalies"), false, false},
};
}
};
// Radar3dStrategy.hpp同结构ddCode="dd_radar_3d"
```
### 7.4 工厂分支
```cpp
// src/app/panels/chart/DetailViewFactory.cpp
case controller::ViewKind::BScanProfile: {
auto* bscan = new BScanProfileView(parent);
// 注入所需仓储/回调(如需)
return std::unique_ptr<IDetailView>(bscan);
}
```
---
## 8. 文件清单与开发顺序
### Phase 1数据模型 + 管线框架(无算法,无 UI
| # | 文件 | 说明 |
|---|---|---|
| 1.1 | `src/core/model/gpr_proc/GprTraceMeta.hpp` | 几何元数据 |
| 1.2 | `src/core/model/gpr_proc/GprAlgoParams.hpp` | 全部算法参数结构体 |
| 1.3 | `src/core/model/gpr_proc/GprAnomaly.hpp` | 异常标注模型 |
| 1.4 | `src/core/model/detail/DetailPayloads.hpp` | 追加 `GprProfilePayload` + `Q_DECLARE_METATYPE` |
| 1.5 | `src/core/gpr_proc/GprProcessingPipeline.hpp/cpp` | 管线框架(注册/执行/缓存/脏链) |
| 1.6 | `src/io/gpr/IprHeader.hpp/cpp` | 扩展头文件字段date/time/antenna/freq |
| 1.7 | `tests/core/gpr_proc/test_pipeline.cpp` | 管线框架测试(用 stub 算法) |
### Phase 2页签引擎接入策略 + 本地加载 + 工厂)
| # | 文件 | 说明 |
|---|---|---|
| 2.1 | `src/controller/DatasetDetailTab.hpp` | 追加 `BScanProfile` ViewKind |
| 2.2 | `src/app/panels/chart/Radar2dStrategy.hpp` | 2d 策略 |
| 2.3 | `src/app/panels/chart/Radar3dStrategy.hpp` | 3d 策略 |
| 2.4 | `src/app/panels/chart/BScanProfileView.hpp/cpp` | 壳子(先空白 QWidget |
| 2.5 | `src/app/panels/chart/DetailViewFactory.cpp` | 追加 `BScanProfile` 分支 |
| 2.6 | `src/data/api/ApiDatasetRepository.hpp/cpp` | 追加 `makeRadarProfile/Info/Anomalies` |
| 2.7 | `src/app/main.cpp` | 注册 Radar2d/3d 策略 |
| 2.8 | `src/app/CMakeLists.txt` | 追加新 .cpp |
| 2.9 | `src/core/CMakeLists.txt` | 追加 gpr_proc 子目录 |
### Phase 3B-Scan 自绘核心
| # | 文件 | 说明 |
|---|---|---|
| 3.1 | `src/app/panels/radar/ViewTransform.hpp/cpp` | 世界↔屏幕坐标变换(纯几何,可单测) |
| 3.2 | `src/app/panels/radar/ColorMapper.hpp/cpp` | float→ColorScale→QRgb复用 core::ColorScale |
| 3.3 | `src/app/panels/radar/BScanCanvas.hpp/cpp` | 自绘核心paintEvent + 数据缓存) |
| 3.4 | `src/app/panels/radar/AScanWaveformView.hpp/cpp` | QwtPlot + QwtPlotCurve |
| 3.5 | `src/app/panels/radar/BScanToolbar.hpp/cpp` | 顶部单行工具条 |
| 3.6 | `tests/render/test_bscan_canvas.cpp` | 自绘单元测试(用 fixture 数据画参考图) |
### Phase 4交互 + 处理对话框
| # | 文件 | 说明 |
|---|---|---|
| 4.1 | `src/app/panels/radar/BScanCanvas.cpp` | 补交互:滚轮/平移/框选/悬停/右键菜单 |
| 4.2 | `src/app/panels/radar/GprProcessingDialog.hpp/cpp` | 处理参数对话框(分组折叠面板) |
| 4.3 | `src/app/panels/radar/BScanAnomalyDialog.hpp/cpp` | 异常编辑对话框 |
| 4.4 | `src/app/panels/radar/BScanProfileView.cpp` | 总装:工具条 + Canvas + A-Scan + 状态栏 + 管线集成 |
### Phase 5算法接入用户提供代码后
| # | 文件 | 说明 |
|---|---|---|
| 5.1 | `src/core/gpr_proc/algo/` | 用户算法文件目录(函数实现) |
| 5.2 | `src/app/panels/radar/BScanProfileView.cpp` | 管线注册各节点,绑定参数 |
| 5.3 | `tests/core/gpr_proc/test_algo_*.cpp` | 各算法单元测试 |
---
## 9. 仍需确认的事项
### 🔴 接入方式确认1 项,阻塞 Phase 5
**算法接入方式**:用户提供处理代码时,偏好哪种接口?
- **A推荐**C 风格函数指针 `void algo(const float* in, float* out, const GprTraceMeta& meta, const void* params)`,放在 `src/core/gpr_proc/algo/*.cpp`
- **B**C++ 抽象类 `IGprAlgorithm`,用户继承实现 `process()` 方法
### 🟡 中优先级(影响细节,不阻塞框架开发)
2. **`.iprh` 头文件完整字段列表**:现有头文件只有 samples/lastTrace/channels/timeWindow/soilVelocity/distanceInterval。用户的"采集参数"还需要 Date/Time/Antenna/Frequency。`.iprh` 文本中这些字段的**精确关键词**是什么?(如 `"DATE"`、`"TIME"`、`"ANTENNA"`、`"FREQUENCY"`?)缺失字段是否允许留空?
3. **色阶预置方案**:用户提到"灰度图、彩虹色阶、冷暖色阶、振幅色阶"。这些是否已有标准定义?我可以先预置几套 `core::ColorScale` stops
- Gray: 黑(0) → 白(max)
- Rainbow: 紫→蓝→青→绿→黄→红
- Seismic/ColdWarm: 蓝(负) → 白(0) → 红(正)
请确认或提供具体 RGB 断点。
4. **Wiggle 模式配色**:正半周填什么色?负半周填什么色?线色?背景色?(标准地震勘探:正=黑/红,负=白/蓝,背景白)
5. **异常类型完整枚举**:用户提到"空洞/疏松/脱空/管线",是否还有其他类型?需要完整列表用于下拉选择。
6. **本地文件路径约定**`{projectDir}/datasets/{dsId}/data.iprb` 这个约定是否 OK还是需要从项目配置中读某个字段来确定根目录
---
## 10. 下一步行动建议
1. **你确认算法接入方式A 函数指针 / B 抽象类)** → 我锁定管线接口
2. **我启动 Phase 1 + Phase 2**(数据模型 + 管线框架 + 页签引擎接入)
3. **Phase 1/2 完成后,我给你一个可运行的空白 B-Scan 页签**(能双击雷达数据集打开页签、加载本地文件、显示空白画布)
4. **你同步准备算法代码**(按我定义的接口签名实现)
5. **我接 Phase 3/4**(自绘核心 + 交互 + 对话框)
6. **你提供算法代码后Phase 5 接入**
是否按此顺序推进?还是先确认完所有事项再开始编码?

3
dump_env.bat Normal file
View File

@ -0,0 +1,3 @@
@echo off
call "D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" > nul
set > E:\gitea\geopro\vcvars_env.txt

View File

@ -14,9 +14,8 @@ find_package(VTK REQUIRED COMPONENTS
find_package(nlohmann_json CONFIG REQUIRED) find_package(nlohmann_json CONFIG REQUIRED)
find_package(Qt6 REQUIRED COMPONENTS Svg) find_package(Qt6 REQUIRED COMPONENTS Svg)
# trajectory QWebEngineView + Leaflet + TrajectoryMapView.{hpp,cpp} + # trajectory QWebEngineView + Leaflet + TrajectoryMapView.{hpp,cpp} +
# resources/map/WebEngine Qt6WebChannel / Qt6Positioning find_package/link/ # resources/map/ Qt WebEngine /
# deploy + main.cpp DetailViewFactory WebMap TrajectoryMapView find_package(Qt6 COMPONENTS WebEngineWidgets WebEngineQuick)
find_package(Qt6 REQUIRED COMPONENTS WebEngineWidgets WebEngineQuick)
add_executable(geopro_desktop WIN32 add_executable(geopro_desktop WIN32
main.cpp main.cpp
@ -63,11 +62,9 @@ add_executable(geopro_desktop WIN32
panels/chart/DataTableView.cpp panels/chart/DataTableView.cpp
panels/chart/TablePager.cpp panels/chart/TablePager.cpp
panels/chart/BarChartView.cpp panels/chart/BarChartView.cpp
panels/chart/BScanProfileView.cpp
panels/chart/LineChartView.cpp panels/chart/LineChartView.cpp
panels/chart/TrajectoryMapView.cpp
panels/web/ProjectWebView.cpp
panels/chart/DetailViewFactory.cpp panels/chart/DetailViewFactory.cpp
resources/map/map.qrc
resources/keys.qrc resources/keys.qrc
resources/icons.qrc resources/icons.qrc
panels/chart/ChartTheme.cpp panels/chart/ChartTheme.cpp
@ -122,7 +119,6 @@ target_include_directories(geopro_desktop PRIVATE ${qtkeychain_SOURCE_DIR} ${qtk
target_link_libraries(geopro_desktop PRIVATE target_link_libraries(geopro_desktop PRIVATE
Qt6::Core Qt6::Gui Qt6::Widgets Qt6::Svg Qt6::Network Qt6::Core Qt6::Gui Qt6::Widgets Qt6::Svg Qt6::Network
Qt6::WebEngineWidgets Qt6::WebEngineQuick
${VTK_LIBRARIES} ${VTK_LIBRARIES}
ads::qt6advanceddocking ads::qt6advanceddocking
qt6keychain qt6keychain
@ -134,6 +130,15 @@ target_link_libraries(geopro_desktop PRIVATE
geopro_controller # Phase 5WorkbenchNavController geopro_controller # Phase 5WorkbenchNavController
) )
if(Qt6WebEngineWidgets_FOUND AND Qt6WebEngineQuick_FOUND)
target_sources(geopro_desktop PRIVATE
panels/chart/TrajectoryMapView.cpp
panels/web/ProjectWebView.cpp
resources/map/map.qrc)
target_compile_definitions(geopro_desktop PRIVATE GEOPRO_HAS_WEBENGINE)
target_link_libraries(geopro_desktop PRIVATE Qt6::WebEngineWidgets Qt6::WebEngineQuick)
endif()
# Qwt CMake qwt # Qwt CMake qwt
# cmake/qwt.cmake QWT_MOC_INCLUDE=1Qwt Q_OBJECT MOC .cpp.obj # cmake/qwt.cmake QWT_MOC_INCLUDE=1Qwt Q_OBJECT MOC .cpp.obj
# MOC /WHOLEARCHIVE # MOC /WHOLEARCHIVE
@ -165,17 +170,15 @@ if(WIN32)
endforeach() endforeach()
# Qt WebEngine # Qt WebEngine
# WebEngine QtWebEngineProcess.exeChromium 宿 exe PATH if(Qt6WebEngineWidgets_FOUND AND Qt6WebEngineQuick_FOUND)
# resources/*.pak + icudtl.dat + v8 qtwebengine_locales/*.pakdev-build set(_qt_bin "$<TARGET_FILE_DIR:Qt6::Core>")
# windeployqtWebEngine DLLQt6WebEngineCore/Widgets/QuickWebChannelPositioning add_custom_command(TARGET geopro_desktop POST_BUILD
# QmlQuickQuickWidgets TARGET_RUNTIME_DLLS COMMAND ${CMAKE_COMMAND} -E copy_if_different
set(_qt_bin "$<TARGET_FILE_DIR:Qt6::Core>") "${_qt_bin}/QtWebEngineProcess.exe" "$<TARGET_FILE_DIR:geopro_desktop>"
add_custom_command(TARGET geopro_desktop POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_directory
COMMAND ${CMAKE_COMMAND} -E copy_if_different "${_qt_bin}/../resources" "$<TARGET_FILE_DIR:geopro_desktop>/resources"
"${_qt_bin}/QtWebEngineProcess.exe" "$<TARGET_FILE_DIR:geopro_desktop>" COMMAND ${CMAKE_COMMAND} -E copy_directory
COMMAND ${CMAKE_COMMAND} -E copy_directory "${_qt_bin}/../translations/qtwebengine_locales"
"${_qt_bin}/../resources" "$<TARGET_FILE_DIR:geopro_desktop>/resources" "$<TARGET_FILE_DIR:geopro_desktop>/qtwebengine_locales")
COMMAND ${CMAKE_COMMAND} -E copy_directory endif()
"${_qt_bin}/../translations/qtwebengine_locales"
"$<TARGET_FILE_DIR:geopro_desktop>/qtwebengine_locales")
endif() endif()

View File

@ -79,7 +79,9 @@
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QWidget> #include <QWidget>
#ifdef GEOPRO_HAS_WEBENGINE
#include <QtWebEngineQuick/QtWebEngineQuick> #include <QtWebEngineQuick/QtWebEngineQuick>
#endif
#include <DockAreaTitleBar.h> #include <DockAreaTitleBar.h>
#include <DockAreaWidget.h> #include <DockAreaWidget.h>
@ -115,7 +117,9 @@
#include "ProjectListDialog.hpp" #include "ProjectListDialog.hpp"
#include "ObjectFormDialog.hpp" #include "ObjectFormDialog.hpp"
#include "ImportDatasetDialog.hpp" #include "ImportDatasetDialog.hpp"
#ifdef GEOPRO_HAS_WEBENGINE
#include "panels/web/ProjectWebView.hpp" #include "panels/web/ProjectWebView.hpp"
#endif
#include "WorkbenchNavController.hpp" #include "WorkbenchNavController.hpp"
#include "DatasetViewState.hpp" #include "DatasetViewState.hpp"
#include "VtkSceneController.hpp" #include "VtkSceneController.hpp"
@ -128,6 +132,8 @@
#include "panels/chart/GrMeasurementStrategy.hpp" #include "panels/chart/GrMeasurementStrategy.hpp"
#include "panels/chart/TrajectoryStrategy.hpp" #include "panels/chart/TrajectoryStrategy.hpp"
#include "panels/chart/GridStrategy.hpp" #include "panels/chart/GridStrategy.hpp"
#include "panels/chart/Radar2dStrategy.hpp"
#include "panels/chart/Radar3dStrategy.hpp"
#include "api/ApiProjectRepository.hpp" #include "api/ApiProjectRepository.hpp"
#include "api/ApiDatasetRepository.hpp" #include "api/ApiDatasetRepository.hpp"
#include "api/ApiColorTemplateRepository.hpp" #include "api/ApiColorTemplateRepository.hpp"
@ -1382,8 +1388,12 @@ void buildWorkbench(QMainWindow& window, geopro::data::LocalSampleRepository& re
// 项目管理「直接嵌入」web 页:作为中央 QStackedWidget 的第二页,整窗加载(覆盖整个工作台)。 // 项目管理「直接嵌入」web 页:作为中央 QStackedWidget 的第二页,整窗加载(覆盖整个工作台)。
// 单实例复用——点不同菜单项时重新 loadtoken 已注入页面 localStorage。 // 单实例复用——点不同菜单项时重新 loadtoken 已注入页面 localStorage。
#ifdef GEOPRO_HAS_WEBENGINE
auto* projectWebView = new geopro::app::ProjectWebView(sessionToken); auto* projectWebView = new geopro::app::ProjectWebView(sessionToken);
centralStack->addWidget(projectWebView); // index 1项目管理 web 整窗 centralStack->addWidget(projectWebView); // index 1项目管理 web 整窗
#else
centralStack->addWidget(new QLabel(QStringLiteral("Qt WebEngine 未安装,项目管理页暂不可用")));
#endif
// ── 下方「数据详情」dock平面图表多 Tab 面板QGraphicsViewVTK 仅算几何)── // ── 下方「数据详情」dock平面图表多 Tab 面板QGraphicsViewVTK 仅算几何)──
// 单击数据集 → 聚焦已开页;双击 → 新建/聚焦页(真实反演剖面/散点/异常/色阶)。 // 单击数据集 → 聚焦已开页;双击 → 新建/聚焦页(真实反演剖面/散点/异常/色阶)。
@ -1638,6 +1648,7 @@ void buildWorkbench(QMainWindow& window, geopro::data::LocalSampleRepository& re
// 项目管理「直接嵌入」web 页:拼当前项目的嵌入 URL在中央区整窗加载切到 web 页)。 // 项目管理「直接嵌入」web 页:拼当前项目的嵌入 URL在中央区整窗加载切到 web 页)。
// space=3 为「项目空间(projectSpace)」固定常量——Excel 所有 projectSpace 页均 space=3 // space=3 为「项目空间(projectSpace)」固定常量——Excel 所有 projectSpace 页均 space=3
// 与租户/工作空间 id 无关(误用工作空间 snowflake 会被后端拒space 参数无效)。 // 与租户/工作空间 id 无关(误用工作空间 snowflake 会被后端拒space 参数无效)。
#ifdef GEOPRO_HAS_WEBENGINE
QObject::connect( QObject::connect(
topBar, &geopro::app::TopBar::webPageRequested, &window, topBar, &geopro::app::TopBar::webPageRequested, &window,
[projectWebView, centralStack, &nav](const QString& /*title*/, const QString& target) { [projectWebView, centralStack, &nav](const QString& /*title*/, const QString& target) {
@ -1647,6 +1658,7 @@ void buildWorkbench(QMainWindow& window, geopro::data::LocalSampleRepository& re
projectWebView->load(url); projectWebView->load(url);
centralStack->setCurrentWidget(projectWebView); // 整窗切到 web 页 centralStack->setCurrentWidget(projectWebView); // 整窗切到 web 页
}); });
#endif
// 视图菜单「分析视图」:中央区切回工作台(默认视图)。 // 视图菜单「分析视图」:中央区切回工作台(默认视图)。
QObject::connect(topBar, &geopro::app::TopBar::analysisViewRequested, &window, QObject::connect(topBar, &geopro::app::TopBar::analysisViewRequested, &window,
[centralStack, dockManager]() { [centralStack, dockManager]() {
@ -2251,7 +2263,9 @@ int main(int argc, char* argv[])
// 且需启用跨上下文共享 OpenGLQtWebEngine 与 QVTK 同进程共用 GL context避免黑屏/崩溃)。 // 且需启用跨上下文共享 OpenGLQtWebEngine 与 QVTK 同进程共用 GL context避免黑屏/崩溃)。
// AA_ShareOpenGLContexts 须在 QApplication 之前设置QtWebEngineQuick::initialize() 同样须前置。 // AA_ShareOpenGLContexts 须在 QApplication 之前设置QtWebEngineQuick::initialize() 同样须前置。
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts); QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
#ifdef GEOPRO_HAS_WEBENGINE
QtWebEngineQuick::initialize(); QtWebEngineQuick::initialize();
#endif
// 高 DPI 缩放采用直通策略:在 125%/150% 等分数缩放下字体/图标按真实比例渲染,更清晰。 // 高 DPI 缩放采用直通策略:在 125%/150% 等分数缩放下字体/图标按真实比例渲染,更清晰。
// 必须在 QApplication 构造前设置。 // 必须在 QApplication 构造前设置。
@ -2381,6 +2395,8 @@ int main(int argc, char* argv[])
chartRegistry.add(std::make_unique<geopro::app::GrMeasurementStrategy>()); chartRegistry.add(std::make_unique<geopro::app::GrMeasurementStrategy>());
chartRegistry.add(std::make_unique<geopro::app::TrajectoryStrategy>()); chartRegistry.add(std::make_unique<geopro::app::TrajectoryStrategy>());
chartRegistry.add(std::make_unique<geopro::app::GridStrategy>()); chartRegistry.add(std::make_unique<geopro::app::GridStrategy>());
chartRegistry.add(std::make_unique<geopro::app::Radar2dStrategy>());
chartRegistry.add(std::make_unique<geopro::app::Radar3dStrategy>());
geopro::controller::DatasetDetailController detailCtrl(datasetRepo, chartRegistry); geopro::controller::DatasetDetailController detailCtrl(datasetRepo, chartRegistry);
// ── 外壳:标准 QMainWindow原生标题栏。buildWorkbench 直接用其 // ── 外壳:标准 QMainWindow原生标题栏。buildWorkbench 直接用其

View File

@ -0,0 +1,30 @@
#include "panels/chart/BScanProfileView.hpp"
#include <QVBoxLayout>
#include <QLabel>
#include <QVariant>
#include "model/detail/DetailPayloads.hpp"
namespace geopro::app {
BScanProfileView::BScanProfileView(QWidget* parent) : QWidget(parent) {
setupUi();
}
BScanProfileView::~BScanProfileView() = default;
void BScanProfileView::setupUi() {
auto* lay = new QVBoxLayout(this);
lay->addWidget(new QLabel(QStringLiteral("B-Scan Profile (placeholder)"), this));
lay->addStretch();
}
void BScanProfileView::setPayload(const QVariant& payload) {
if (!payload.canConvert<geopro::core::GprProfilePayload>()) return;
const auto p = payload.value<geopro::core::GprProfilePayload>();
hasData_ = true;
// Phase 2 壳子仅记录数据Phase 3/4 补渲染。
Q_UNUSED(p)
}
} // namespace geopro::app

View File

@ -0,0 +1,25 @@
#pragma once
#include <QWidget>
#include "panels/chart/IDetailView.hpp"
namespace geopro::app {
// 雷达 B-Scan 剖面详情视图IDetailView 实现)。
// Phase 2 先放壳子:实现接口、解包 GprProfilePayload、显示通道数和基本信息。
// Phase 3/4 补自绘 Canvas + A-Scan + 交互。
class BScanProfileView : public QWidget, public IDetailView {
Q_OBJECT
public:
explicit BScanProfileView(QWidget* parent = nullptr);
~BScanProfileView() override;
QWidget* widget() override { return this; }
void setPayload(const QVariant& payload) override;
private:
void setupUi();
bool hasData_ = false;
};
} // namespace geopro::app

View File

@ -1,14 +1,40 @@
#include "panels/chart/DetailViewFactory.hpp" #include "panels/chart/DetailViewFactory.hpp"
#include <QLabel>
#include <QVBoxLayout>
#include <stdexcept> #include <stdexcept>
#include <utility> #include <utility>
#ifndef GEOPRO_HAS_WEBENGINE
#include "panels/chart/IDetailView.hpp"
#endif
#include "panels/chart/BarChartView.hpp" #include "panels/chart/BarChartView.hpp"
#include "panels/chart/BScanProfileView.hpp"
#include "panels/chart/DataTableView.hpp" #include "panels/chart/DataTableView.hpp"
#include "panels/chart/GridDataChartView.hpp" #include "panels/chart/GridDataChartView.hpp"
#include "panels/chart/LineChartView.hpp" #include "panels/chart/LineChartView.hpp"
#include "panels/chart/RawDataChartView.hpp" #include "panels/chart/RawDataChartView.hpp"
#ifdef GEOPRO_HAS_WEBENGINE
#include "panels/chart/TrajectoryMapView.hpp" #include "panels/chart/TrajectoryMapView.hpp"
#endif
#ifndef GEOPRO_HAS_WEBENGINE
namespace {
class PlaceholderDetailView : public QWidget, public geopro::app::IDetailView {
public:
explicit PlaceholderDetailView(const QString& text, QWidget* parent = nullptr)
: QWidget(parent) {
auto* lay = new QVBoxLayout(this);
auto* lbl = new QLabel(text, this);
lbl->setAlignment(Qt::AlignCenter);
lay->addWidget(lbl);
}
QWidget* widget() override { return this; }
void setPayload(const QVariant&) override {}
};
} // namespace
#endif
namespace geopro::app { namespace geopro::app {
@ -55,8 +81,15 @@ std::unique_ptr<IDetailView> makeDetailView(controller::ViewKind kind, QWidget*
case controller::ViewKind::LineProfile: case controller::ViewKind::LineProfile:
return std::unique_ptr<IDetailView>(new LineChartView(parent)); return std::unique_ptr<IDetailView>(new LineChartView(parent));
case controller::ViewKind::WebMap: case controller::ViewKind::WebMap:
#ifdef GEOPRO_HAS_WEBENGINE
// trajectory 地图QWebEngineView + Leaflet + 天地图瓦片,电极经纬点画橙色空心圈并取景。 // trajectory 地图QWebEngineView + Leaflet + 天地图瓦片,电极经纬点画橙色空心圈并取景。
return std::unique_ptr<IDetailView>(new TrajectoryMapView(parent)); return std::unique_ptr<IDetailView>(new TrajectoryMapView(parent));
#else
return std::unique_ptr<IDetailView>(
new PlaceholderDetailView(QStringLiteral("Qt WebEngine 未安装,地图视图暂不可用"), parent));
#endif
case controller::ViewKind::BScanProfile:
return std::unique_ptr<IDetailView>(new BScanProfileView(parent));
case controller::ViewKind::PolylineMap: case controller::ViewKind::PolylineMap:
// 后续阶段补PolylineMap。 // 后续阶段补PolylineMap。
throw std::runtime_error("makeDetailView: ViewKind not yet implemented"); throw std::runtime_error("makeDetailView: ViewKind not yet implemented");

View File

@ -0,0 +1,22 @@
#pragma once
#include <vector>
#include "IDatasetChartStrategy.hpp"
namespace geopro::app {
// dd_radar_2d单通道雷达策略B-Scan 剖面 + 采集参数 + 异常列表。
struct Radar2dStrategy : controller::IDatasetChartStrategy {
std::string ddCode() const override { return "dd_radar_2d"; }
std::vector<controller::TabSpec> tabs() const override {
return {
{QStringLiteral("B-Scan剖面"), controller::ViewKind::BScanProfile,
QStringLiteral("radar.profile"), /*lazy*/ false, /*paginated*/ false},
{QStringLiteral("采集参数"), controller::ViewKind::Table,
QStringLiteral("radar.info"), /*lazy*/ false, /*paginated*/ false},
{QStringLiteral("异常列表"), controller::ViewKind::Table,
QStringLiteral("radar.anomalies"), /*lazy*/ false, /*paginated*/ false},
};
}
};
} // namespace geopro::app

View File

@ -0,0 +1,23 @@
#pragma once
#include <vector>
#include "IDatasetChartStrategy.hpp"
namespace geopro::app {
// dd_radar_3d多通道阵列雷达策略B-Scan 剖面 + 采集参数 + 异常列表。
// 与 2d 页签结构相同,区别在数据加载(多通道)和处理管线细节。
struct Radar3dStrategy : controller::IDatasetChartStrategy {
std::string ddCode() const override { return "dd_radar_3d"; }
std::vector<controller::TabSpec> tabs() const override {
return {
{QStringLiteral("B-Scan剖面"), controller::ViewKind::BScanProfile,
QStringLiteral("radar.profile"), /*lazy*/ false, /*paginated*/ false},
{QStringLiteral("采集参数"), controller::ViewKind::Table,
QStringLiteral("radar.info"), /*lazy*/ false, /*paginated*/ false},
{QStringLiteral("异常列表"), controller::ViewKind::Table,
QStringLiteral("radar.anomalies"), /*lazy*/ false, /*paginated*/ false},
};
}
};
} // namespace geopro::app

View File

@ -7,7 +7,7 @@ namespace geopro::controller {
// 详情页签的渲染 kind 全集Image/GISMap 待 GPR/radar 有活样本再加YAGNI // 详情页签的渲染 kind 全集Image/GISMap 待 GPR/radar 有活样本再加YAGNI
// WebMap = trajectory 地图页签占位(真实 GIS 地图待 Qt WebEngine 模块安装后接 QWebEngineView 替换)。 // WebMap = trajectory 地图页签占位(真实 GIS 地图待 Qt WebEngine 模块安装后接 QWebEngineView 替换)。
enum class ViewKind { Scatter, FilledContour, Bar, LineProfile, PolylineMap, Table, WebMap }; enum class ViewKind { Scatter, FilledContour, Bar, LineProfile, PolylineMap, Table, WebMap, BScanProfile };
// 页签描述符:策略声明每个 dd 类型的页签集(标题/kind/加载键/惰性/分页)。 // 页签描述符:策略声明每个 dd 类型的页签集(标题/kind/加载键/惰性/分页)。
struct TabSpec { struct TabSpec {

View File

@ -9,6 +9,7 @@ add_library(geopro_core STATIC
algo/IdwInterpolator.cpp algo/IdwInterpolator.cpp
algo/VolumeBuilder.cpp algo/VolumeBuilder.cpp
algo/GprVolumeBuilder.cpp algo/GprVolumeBuilder.cpp
gpr_proc/GprProcessingPipeline.cpp
) )
target_include_directories(geopro_core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) target_include_directories(geopro_core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

View File

@ -0,0 +1,111 @@
#include "gpr_proc/GprProcessingPipeline.hpp"
#include <algorithm>
#include <stdexcept>
namespace geopro::core {
void GprProcessingPipeline::registerNode(const ProcNodeDesc& desc) {
if (desc.name.empty()) throw std::invalid_argument("registerNode: name empty");
nodes_.push_back(desc);
dirty_.insert(desc.name);
}
void GprProcessingPipeline::setNodeParams(const std::string& name, const void* params) {
for (auto& n : nodes_) {
if (n.name == name) {
n.params = params;
markDirty(name);
return;
}
}
}
void GprProcessingPipeline::setNodeEnabled(const std::string& name, bool on) {
for (auto& n : nodes_) {
if (n.name == name) {
if (n.enabled != on) {
n.enabled = on;
markDirty(name);
}
return;
}
}
}
std::vector<float> GprProcessingPipeline::run(const std::vector<float>& raw,
const GprTraceMeta& meta) {
if (nodes_.empty()) return raw;
const std::size_t expected = static_cast<std::size_t>(meta.ntraces) * meta.samples;
if (raw.size() != expected) {
throw std::invalid_argument("run: raw size mismatch with meta");
}
std::vector<float> working = raw;
bool downstreamDirty = false;
for (const auto& node : nodes_) {
if (!node.enabled) {
// 禁用节点:透传上一节点输出,但缓存中仍保留该节点名以便下游追踪。
cache_[node.name] = working;
continue;
}
// 若该节点或其上游有脏标记,则需重算。
if (downstreamDirty || dirty_.count(node.name)) {
std::vector<float> out(working.size());
if (node.algo) {
node.algo(working.data(), out.data(), meta, node.params);
} else {
out = working; // nullptr = 透传
}
cache_[node.name] = out;
working = std::move(out);
downstreamDirty = true;
} else {
// 未脏:复用缓存
auto it = cache_.find(node.name);
if (it != cache_.end()) {
working = it->second;
} else {
// 缓存缺失(不应发生): fallback 重算
std::vector<float> out(working.size());
if (node.algo) {
node.algo(working.data(), out.data(), meta, node.params);
} else {
out = working;
}
cache_[node.name] = out;
working = std::move(out);
downstreamDirty = true;
}
}
}
dirty_.clear();
return working;
}
const std::vector<float>* GprProcessingPipeline::nodeOutput(const std::string& name) const {
auto it = cache_.find(name);
if (it != cache_.end()) return &(it->second);
return nullptr;
}
void GprProcessingPipeline::markDirty(const std::string& name) {
dirty_.insert(name);
}
void GprProcessingPipeline::markAllDirty() {
for (const auto& n : nodes_) {
dirty_.insert(n.name);
}
}
void GprProcessingPipeline::clear() {
nodes_.clear();
cache_.clear();
dirty_.clear();
}
} // namespace geopro::core

View File

@ -0,0 +1,70 @@
#ifndef GEOPRO_CORE_GPR_PROCESSING_PIPELINE_HPP
#define GEOPRO_CORE_GPR_PROCESSING_PIPELINE_HPP
#include <functional>
#include <string>
#include <memory>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "model/gpr_proc/GprTraceMeta.hpp"
namespace geopro::core {
// C 风格算法函数签名:用户提供处理函数,管线负责编排。
// in/out 大小 = meta.ntraces * meta.samples行主序 [t*samples + s]。
// params 指向各算法专属参数结构体(由调用方保证生命周期)。
using GprAlgoFunc = void (*)(const float* in, float* out,
const GprTraceMeta& meta,
const void* params);
// 管线节点描述(纯数据,零虚函数开销)。
struct ProcNodeDesc {
std::string name; // 唯一标识,如 "zero_time", "gain"
GprAlgoFunc algo; // 用户算法函数指针nullptr = 透传)
const void* params; // 指向参数结构体BScanProfileView 成员保证生命周期)
bool enabled = true;
};
// GPR 信号处理管线:节点编排 + 脏链追踪 + 输出缓存。
// 纯 C++17零 Qt/VTKstd::string 仅用于标识,可替换为 std::string
class GprProcessingPipeline {
public:
GprProcessingPipeline() = default;
// 注册节点(按执行顺序追加)。注册后自动标记脏。
void registerNode(const ProcNodeDesc& desc);
// 设置某节点参数指针(参数结构体内存变更后需重设)。
void setNodeParams(const std::string& name, const void* params);
// 启用/禁用节点。
void setNodeEnabled(const std::string& name, bool on);
// 执行管线:从 raw 输入开始,逐节点处理,返回最终输出。
// 内部缓存各节点输出,未变更节点直接复用缓存。
std::vector<float> run(const std::vector<float>& raw,
const GprTraceMeta& meta);
// 获取指定节点的中间输出(调试用)。空表示该节点尚未执行。
const std::vector<float>* nodeOutput(const std::string& name) const;
// 标记某节点参数已变更(下次 run 时从该节点开始重算)。
void markDirty(const std::string& name);
// 标记全部重算。
void markAllDirty();
// 清空所有注册节点和缓存。
void clear();
private:
std::vector<ProcNodeDesc> nodes_;
std::unordered_map<std::string, std::vector<float>> cache_;
std::unordered_set<std::string> dirty_;
};
} // namespace geopro::core
#endif // GEOPRO_CORE_GPR_PROCESSING_PIPELINE_HPP

View File

@ -6,6 +6,7 @@
#include "model/Field.hpp" #include "model/Field.hpp"
#include "model/ColorScale.hpp" #include "model/ColorScale.hpp"
#include "model/Anomaly.hpp" #include "model/Anomaly.hpp"
#include "model/gpr_proc/GprTraceMeta.hpp"
// 详情渲染载荷(纯数据,跨 QVariant 类型擦除传递)。无 Qt-widget 依赖。 // 详情渲染载荷(纯数据,跨 QVariant 类型擦除传递)。无 Qt-widget 依赖。
// 命名空间 geopro::core与同目录 Field.hpp/ColorScale.hpp 一致)。 // 命名空间 geopro::core与同目录 Field.hpp/ColorScale.hpp 一致)。
@ -139,6 +140,24 @@ struct MapPayload {
std::vector<MapPoint> points; std::vector<MapPoint> points;
}; };
// 雷达 B-Scan 单通道数据
struct GprChannelData {
QString channelName;
std::vector<float> data; // traces * samples行主序
};
// 雷达 B-Scan 剖面载荷rawdata / proc_data_1 切换由视图内部管理)。
struct GprProfilePayload {
geopro::core::GprTraceMeta meta;
std::vector<GprChannelData> channels; // 2d 时 size=1
int currentChannel = 0;
// 采集参数(从 .iprh 解析)
QString date, time, antennaModel;
double antennaFreqMHz = 0;
// 默认 Gray 色阶(视图可覆盖)
geopro::core::ColorScale defaultScale;
};
} // namespace geopro::core } // namespace geopro::core
Q_DECLARE_METATYPE(geopro::core::ScatterPayload) Q_DECLARE_METATYPE(geopro::core::ScatterPayload)
@ -147,3 +166,4 @@ Q_DECLARE_METATYPE(geopro::core::TablePayload)
Q_DECLARE_METATYPE(geopro::core::BarPayload) Q_DECLARE_METATYPE(geopro::core::BarPayload)
Q_DECLARE_METATYPE(geopro::core::LinePayload) Q_DECLARE_METATYPE(geopro::core::LinePayload)
Q_DECLARE_METATYPE(geopro::core::MapPayload) Q_DECLARE_METATYPE(geopro::core::MapPayload)
Q_DECLARE_METATYPE(geopro::core::GprProfilePayload)

View File

@ -0,0 +1,130 @@
#ifndef GEOPRO_CORE_MODEL_GPR_ALGO_PARAMS_HPP
#define GEOPRO_CORE_MODEL_GPR_ALGO_PARAMS_HPP
namespace geopro::core {
// 时间零点校正
struct ZeroTimeParams {
bool autoDetect = true;
int cutSamples = 30;
int frontSearchWindow = 180;
double noiseSigmaMultiple = 3.0;
};
// 去除零漂
enum class ZeroDriftMode { DC, Sliding };
struct ZeroDriftParams {
ZeroDriftMode mode = ZeroDriftMode::Sliding;
int slidingWindowSamples = 100;
};
// 背景去除
enum class BgMode { MeanAverage, SingularityFilter };
struct BackgroundParams {
BgMode mode = BgMode::MeanAverage;
int averageTraceCount = 301;
double singularityThreshold = 1.8;
};
// 增益
struct GainParams {
bool enableSpherical = true;
bool enableAbsorption = true;
double velocityMPerNs = 0.12;
double referenceDepthM = 0.01;
double exponent = 1.5;
double absorptionBeta = 1.0;
double maxGain = 30.0;
};
// 带通滤波
struct BandpassParams {
bool autoFreq = true;
double lowFreqHz = 1000;
double highFreqHz = 100;
double antennaFreqMHz = 200.0;
};
// 剖面平滑
struct SmoothParams {
int smoothWindow = 2;
bool verticalSmooth = true;
bool horizontalSmooth = true;
};
// 道间均衡
enum class TraceBalanceMode { Global, Local };
struct TraceBalanceParams {
TraceBalanceMode mode = TraceBalanceMode::Local;
int horizontalWindowTraces = 31;
double targetRms = 0.0;
double maxGain = 4.0;
double epsilon = 1.0;
};
// 道内增益
struct SampleBalanceParams {
int windowSamples = 120;
double targetRms = 0.0;
double maxGain = 6.0;
double epsilon = 1.0;
};
// 希尔伯特变换
struct HilbertParams {
bool computeEnvelope = true;
};
// 偏移处理
struct MigrationParams {
int sumWidth = 64;
double velocityMPerNs = 0.12;
};
// 地形校正
struct TopoParams {
bool useAverageElevation = true;
double baseElevation = 0.0;
};
// 里程归一化
struct DistanceNormalizationParams {
bool enable = false;
double targetIntervalM = 0.05; // 每米道数 = 1/targetIntervalM如 0.05m=20道/米)
};
// 数据重采样
struct ResampleParams {
bool resampleTraces = false;
bool resampleSamples = false;
int newTraces = 0;
int newSamples = 0;
};
// 预测反褶积
struct PredictiveDeconParams {
int predLag = 1;
int filterLen = 10;
};
// 全部处理参数总装BScanProfileView 持有一个实例,各处理对话框修改子字段。
struct GprProcessingParams {
ZeroTimeParams zeroTime;
ZeroDriftParams zeroDrift;
BackgroundParams background;
GainParams gain;
BandpassParams bandpass;
SmoothParams smooth;
TraceBalanceParams traceBalance;
SampleBalanceParams sampleBalance;
HilbertParams hilbert;
MigrationParams migration;
TopoParams topo;
DistanceNormalizationParams distanceNorm;
ResampleParams resample;
PredictiveDeconParams predictiveDecon;
};
} // namespace geopro::core
#endif // GEOPRO_CORE_MODEL_GPR_ALGO_PARAMS_HPP

View File

@ -0,0 +1,43 @@
#ifndef GEOPRO_CORE_MODEL_GPR_ANOMALY_HPP
#define GEOPRO_CORE_MODEL_GPR_ANOMALY_HPP
#include <QString>
namespace geopro::core {
// 雷达 B-Scan 异常标注M1 先前端本地状态M2 同步后端)。
struct GprAnomaly {
QString id; // 前端临时 UUID 或后端返回 id
QString surveyLineName; // 所属测线名称
// 原始索引坐标(抗重采样不变性)
int traceStart = 0;
int traceEnd = 0;
int sampleStart = 0;
int sampleEnd = 0;
// 物理坐标(显示/上传用)
double distanceStartM = 0;
double distanceEndM = 0;
double depthStartM = 0;
double depthEndM = 0;
// 异常属性
QString typeCode; // cavity / loose / void / pipe / ...
QString typeName;
double widthM = 0;
double heightM = 0;
double lengthM = 0;
double burialDepthM = 0; // 埋深
double clearanceM = 0; // 净空
double confidence = 0; // 0-1
QString remark;
// 截图M1 本地路径M2 上传后替换为 URL
QString sliceScreenshotPath;
QString profileScreenshotPath;
};
} // namespace geopro::core
#endif // GEOPRO_CORE_MODEL_GPR_ANOMALY_HPP

View File

@ -0,0 +1,20 @@
#ifndef GEOPRO_CORE_MODEL_GPR_TRACE_META_HPP
#define GEOPRO_CORE_MODEL_GPR_TRACE_META_HPP
namespace geopro::core {
// B-Scan 剖面几何元数据(纯 C++17零 Qt/VTK
struct GprTraceMeta {
int ntraces = 0; // 沿测线道数X
int samples = 0; // 每道采样数Z 深度/时间)
double dx = 0; // 道距m
double dz = 0; // 采样间隔m 或 ns看 zIsTime
double x0 = 0; // 测线起点里程m
double z0 = 0; // 深度/时间起点
bool zIsTime = true; // true=时间(ns)false=深度(m)
double velocityMPerNs = 0.12; // 雷达波速m/ns时深转换用
};
} // namespace geopro::core
#endif // GEOPRO_CORE_MODEL_GPR_TRACE_META_HPP

View File

@ -1,5 +1,6 @@
#include "api/ApiDatasetRepository.hpp" #include "api/ApiDatasetRepository.hpp"
#include <stdexcept> #include <stdexcept>
#include <QFile>
#include <QJsonArray> #include <QJsonArray>
#include <QJsonObject> #include <QJsonObject>
#include <QString> #include <QString>
@ -13,6 +14,8 @@
#include "dto/GridDto.hpp" #include "dto/GridDto.hpp"
#include "dto/MeasurementDto.hpp" #include "dto/MeasurementDto.hpp"
#include "dto/TrajectoryDto.hpp" #include "dto/TrajectoryDto.hpp"
#include "io/gpr/IprHeader.hpp"
#include "io/gpr/IprbReader.hpp"
#include "model/detail/DetailPayloads.hpp" #include "model/detail/DetailPayloads.hpp"
namespace geopro::data { namespace geopro::data {
@ -169,6 +172,9 @@ DetailLoad* ApiDatasetRepository::loadAsync(const std::string& loaderKey, const
if (loaderKey == "traj.elev") return makeTrajectoryElevation(dsId); if (loaderKey == "traj.elev") return makeTrajectoryElevation(dsId);
if (loaderKey == "traj.map") return makeTrajectoryMap(dsId); if (loaderKey == "traj.map") return makeTrajectoryMap(dsId);
if (loaderKey == "grid.rows") return makeGridRows(dsId, pageNo, pageSize); if (loaderKey == "grid.rows") return makeGridRows(dsId, pageNo, pageSize);
if (loaderKey == "radar.profile") return makeRadarProfile(dsId);
if (loaderKey == "radar.info") return makeRadarInfo(dsId);
if (loaderKey == "radar.anomalies") return makeRadarAnomalies(dsId);
throw std::runtime_error("unknown loaderKey: " + loaderKey); throw std::runtime_error("unknown loaderKey: " + loaderKey);
} }
@ -246,4 +252,73 @@ DetailLoad* ApiDatasetRepository::makeGridRows(const std::string& dsId, int page
}); });
} }
// ── 雷达数据集:本地文件加载(零网络请求)。 ──
// M1 阶段:路径未注册时返回空 payload视图层显示占位提示。
// 后续 app 层注入 radarPaths_ 映射后自动读取。
namespace {
// 读取文本文件全部内容UTF-8
std::string readTextFile(const QString& path) {
QFile f(path);
if (!f.open(QIODevice::ReadOnly | QIODevice::Text)) {
throw std::runtime_error("无法打开文件: " + path.toStdString());
}
return f.readAll().toStdString();
}
// 从 .iprh + .iprb 组装 GprProfilePayload单通道 2d
geopro::core::GprProfilePayload buildRadar2dPayload(const QString& iprhPath,
const QString& iprbPath) {
using namespace geopro::io::gpr;
const std::string headerText = readTextFile(iprhPath);
const IprHeader h = parseIprHeader(headerText);
const BScan bscan = readIprb(iprbPath.toStdString(), h);
geopro::core::GprProfilePayload payload;
payload.meta.ntraces = static_cast<int>(bscan.traces);
payload.meta.samples = bscan.samples;
payload.meta.dx = h.distanceInterval;
payload.meta.dz = h.timeWindowNs / (h.samples > 1 ? h.samples - 1 : 1);
payload.meta.velocityMPerNs = h.soilVelocity / 1e9; // m/s → m/ns
payload.date = QString::fromStdString(h.date);
payload.time = QString::fromStdString(h.startTime);
payload.antennaModel = QString::fromStdString(h.antennas);
payload.antennaFreqMHz = h.frequency;
// int16 → float行主序。
geopro::core::GprChannelData ch;
ch.channelName = QStringLiteral("CH01");
ch.data.reserve(bscan.data.size());
for (int16_t v : bscan.data) ch.data.push_back(static_cast<float>(v));
payload.channels.push_back(std::move(ch));
return payload;
}
} // namespace
DetailLoad* ApiDatasetRepository::makeRadarProfile(const std::string& dsId) {
// M1路径未配置时返回空 payload视图显示占位
// TODO: 从 app 层注入的 radarPaths_ 映射读取真实路径。
Q_UNUSED(dsId)
geopro::core::GprProfilePayload payload;
return new LocalDetailLoad(QVariant::fromValue(payload));
}
DetailLoad* ApiDatasetRepository::makeRadarInfo(const std::string& dsId) {
Q_UNUSED(dsId)
// 采集参数页签TablePayload从 .iprh 解析的字段。
// M1 先返回空表格占位。
geopro::core::TablePayload payload;
return new LocalDetailLoad(QVariant::fromValue(payload));
}
DetailLoad* ApiDatasetRepository::makeRadarAnomalies(const std::string& dsId) {
Q_UNUSED(dsId)
// 异常列表页签:空列表占位。
geopro::core::TablePayload payload;
return new LocalDetailLoad(QVariant::fromValue(payload));
}
} // namespace geopro::data } // namespace geopro::data

View File

@ -20,6 +20,12 @@ private:
DetailLoad* makeTrajectoryElevation(const std::string& dsId); DetailLoad* makeTrajectoryElevation(const std::string& dsId);
DetailLoad* makeTrajectoryMap(const std::string& dsId); DetailLoad* makeTrajectoryMap(const std::string& dsId);
DetailLoad* makeGridRows(const std::string& dsId, int pageNo, int pageSize); DetailLoad* makeGridRows(const std::string& dsId, int pageNo, int pageSize);
// 雷达数据集:本地文件加载(零网络)。
DetailLoad* makeRadarProfile(const std::string& dsId);
DetailLoad* makeRadarInfo(const std::string& dsId);
DetailLoad* makeRadarAnomalies(const std::string& dsId);
net::ApiClient& api_; net::ApiClient& api_;
}; };
} // namespace geopro::data } // namespace geopro::data

View File

@ -44,4 +44,22 @@ void ApiDetailLoad::abort() {
deleteLater(); deleteLater();
} }
LocalDetailLoad::LocalDetailLoad(const QVariant& payload, QObject* parent)
: DetailLoad(parent) {
emit done(payload);
deleteLater();
}
LocalDetailLoad::LocalDetailLoad(const QString& errorMessage, QObject* parent)
: DetailLoad(parent) {
emit failed(errorMessage);
deleteLater();
}
void LocalDetailLoad::abort() {
if (aborted_) return;
aborted_ = true;
deleteLater();
}
} // namespace geopro::data } // namespace geopro::data

View File

@ -35,4 +35,16 @@ private:
bool aborted_ = false; bool aborted_ = false;
}; };
// 本地同步实现:无网络,构造时立即 emit done或 failed
// 供雷达等本地文件加载场景使用。
class LocalDetailLoad : public DetailLoad {
Q_OBJECT
public:
explicit LocalDetailLoad(const QVariant& payload, QObject* parent = nullptr);
explicit LocalDetailLoad(const QString& errorMessage, QObject* parent = nullptr);
void abort() override;
private:
bool aborted_ = false;
};
} // namespace geopro::data } // namespace geopro::data

View File

@ -8,57 +8,125 @@ namespace geopro::io::gpr {
namespace { namespace {
// SOIL VELOCITY 原文单位 m/µs本层统一换算成 m/s 存储。
constexpr double kSoilVelocityToMetersPerSecond = 1e6; constexpr double kSoilVelocityToMetersPerSecond = 1e6;
std::string trim(const std::string& s) { std::string trim(const std::string& s) {
std::size_t b = 0; std::size_t b = 0;
std::size_t e = s.size(); std::size_t e = s.size();
while (b < e && std::isspace(static_cast<unsigned char>(s[b]))) ++b; while (b < e && std::isspace(static_cast<unsigned char>(s[b]))) ++b;
while (e > b && std::isspace(static_cast<unsigned char>(s[e - 1]))) --e; while (e > b && std::isspace(static_cast<unsigned char>(s[e - 1]))) --e;
return s.substr(b, e - b); return s.substr(b, e - b);
}
// 大小写不敏感比较
bool iequals(const std::string& a, const std::string& b) {
if (a.size() != b.size()) return false;
for (std::size_t i = 0; i < a.size(); ++i) {
if (std::tolower(static_cast<unsigned char>(a[i])) !=
std::tolower(static_cast<unsigned char>(b[i]))) {
return false;
}
}
return true;
} }
} // namespace } // namespace
IprHeader parseIprHeader(const std::string& text) { IprHeader parseIprHeader(const std::string& text) {
IprHeader header; IprHeader header;
bool hasSamples = false; bool hasSamples = false;
bool hasLastTrace = false; bool hasLastTrace = false;
bool hasChannels = false; bool hasChannels = false;
std::istringstream stream(text); std::istringstream stream(text);
std::string line; std::string line;
while (std::getline(stream, line)) { while (std::getline(stream, line)) {
const std::size_t colon = line.find(':'); const std::size_t colon = line.find(':');
if (colon == std::string::npos) continue; if (colon == std::string::npos) continue;
const std::string key = trim(line.substr(0, colon)); const std::string key = trim(line.substr(0, colon));
const std::string value = trim(line.substr(colon + 1)); const std::string value = trim(line.substr(colon + 1));
if (value.empty()) continue; if (value.empty()) continue;
if (key == "SAMPLES") { // 大小写不敏感匹配
header.samples = std::stoi(value); if (iequals(key, "SAMPLES")) {
hasSamples = true; header.samples = std::stoi(value);
} else if (key == "LAST TRACE") { hasSamples = true;
header.lastTrace = std::stol(value); } else if (iequals(key, "LAST TRACE")) {
hasLastTrace = true; header.lastTrace = std::stol(value);
} else if (key == "CHANNELS") { hasLastTrace = true;
header.channels = std::stoi(value); } else if (iequals(key, "CHANNELS")) {
hasChannels = true; header.channels = std::stoi(value);
} else if (key == "TIMEWINDOW") { hasChannels = true;
header.timeWindowNs = std::stod(value); } else if (iequals(key, "TIMEWINDOW")) {
} else if (key == "SOIL VELOCITY") { header.timeWindowNs = std::stod(value);
header.soilVelocity = std::stod(value) * kSoilVelocityToMetersPerSecond; } else if (iequals(key, "SOIL VELOCITY")) {
} else if (key == "DISTANCE INTERVAL") { header.soilVelocity = std::stod(value) * kSoilVelocityToMetersPerSecond;
header.distanceInterval = std::stod(value); } else if (iequals(key, "DISTANCE INTERVAL")) {
header.distanceInterval = std::stod(value);
} else if (iequals(key, "Date")) {
header.date = value;
} else if (iequals(key, "Start Time")) {
header.startTime = value;
} else if (iequals(key, "Stop Time")) {
header.stopTime = value;
} else if (iequals(key, "Units")) {
header.units = value;
} else if (iequals(key, "Mode")) {
header.mode = value;
} else if (iequals(key, "Antennas")) {
header.antennas = value;
} else if (iequals(key, "Frequency")) {
header.frequency = std::stod(value);
} else if (iequals(key, "Stacks")) {
header.stacks = std::stoi(value);
} else if (iequals(key, "Positive Direction")) {
header.positiveDirection = value;
} else if (iequals(key, "Time Interval")) {
header.timeInterval = std::stod(value);
} else if (iequals(key, "Depth")) {
header.depth = std::stod(value);
} else if (iequals(key, "Zero Position")) {
header.zeroPosition = std::stod(value);
} else if (iequals(key, "Dielectric")) {
header.dielectric = std::stod(value);
} else if (iequals(key, "Soil Type")) {
header.soilType = value;
} else if (iequals(key, "Bits")) {
header.bits = std::stoi(value);
} else if (iequals(key, "Mark")) {
header.mark = value;
} else if (iequals(key, "Incident Angle")) {
header.incidentAngle = std::stod(value);
} else if (iequals(key, "Start Position")) {
header.startPosition = std::stod(value);
} else if (iequals(key, "Stop Position")) {
header.stopPosition = std::stod(value);
} else if (iequals(key, "Wheel/GPS")) {
header.wheelGps = value;
} else if (iequals(key, "Wheel Calibration")) {
header.wheelCalibration = std::stod(value);
} else if (iequals(key, "Scan/Second")) {
header.scanPerSecond = std::stod(value);
} else if (iequals(key, "Position")) {
header.position = std::stod(value);
} else if (iequals(key, "Number_of_ch")) {
header.numberOfCh = std::stoi(value);
} else if (iequals(key, "Ch_X_offsets")) {
header.chXOffsets = value;
} else if (iequals(key, "RTK_X_offset")) {
header.rtkXOffset = std::stod(value);
} else if (iequals(key, "RTK_Y_offset")) {
header.rtkYOffset = std::stod(value);
} else if (iequals(key, "RTK_Z_offset")) {
header.rtkZOffset = std::stod(value);
}
} }
}
if (!hasSamples || !hasLastTrace || !hasChannels) { if (!hasSamples || !hasLastTrace || !hasChannels) {
throw std::runtime_error("parseIprHeader: missing required field(s) (SAMPLES/LAST TRACE/CHANNELS)"); throw std::runtime_error("parseIprHeader: missing required field(s) (SAMPLES/LAST TRACE/CHANNELS)");
} }
return header; return header;
} }
} // namespace geopro::io::gpr } // namespace geopro::io::gpr

View File

@ -6,13 +6,45 @@
namespace geopro::io::gpr { namespace geopro::io::gpr {
// 探地雷达 .iprh 文本头的关键字段(纯解析,零 Qt/VTK 依赖)。 // 探地雷达 .iprh 文本头的关键字段(纯解析,零 Qt/VTK 依赖)。
// 大小写不敏感解析;非关键字段缺失时留空/0。
struct IprHeader { struct IprHeader {
int samples = 0; // 每道采样点数 (SAMPLES) // ---- 原有字段(关键字段) ----
long lastTrace = 0; // 最后一道索引 (LAST TRACE);道数 = lastTrace+1 int samples = 0;
int channels = 0; // 通道数 (CHANNELS) long lastTrace = 0;
double timeWindowNs = 0; // 时窗 ns (TIMEWINDOW) int channels = 0;
double soilVelocity = 0; // 土速,统一存 m/s原文 SOIL VELOCITY 单位 m/µs读入后 ×1e6 double timeWindowNs = 0;
double distanceInterval = 0; // 道距 m (DISTANCE INTERVAL) double soilVelocity = 0; // m/s原文 m/µs读入后 ×1e6
double distanceInterval = 0; // m
// ---- 新增字段(采集参数,大小写不敏感解析) ----
std::string date; // Date
std::string startTime; // Start Time
std::string stopTime; // Stop Time
std::string units; // Units
std::string mode; // Mode
std::string antennas; // Antennas
double frequency = 0; // FrequencyMHz
int stacks = 0; // Stacks
std::string positiveDirection; // Positive Direction
double timeInterval = 0; // Time Interval
double depth = 0; // Depth
double zeroPosition = 0; // Zero Position
double dielectric = 0; // Dielectric
std::string soilType; // Soil Type
int bits = 0; // Bits
std::string mark; // Mark
double incidentAngle = 0; // Incident Angle
double startPosition = 0; // Start Position
double stopPosition = 0; // Stop Position
std::string wheelGps; // Wheel/GPS
double wheelCalibration = 0; // Wheel Calibration
double scanPerSecond = 0; // Scan/Second
double position = 0; // Position
int numberOfCh = 0; // Number_of_ch
std::string chXOffsets; // Ch_X_offsets原始文本逗号分隔
double rtkXOffset = 0; // RTK_X_offset
double rtkYOffset = 0; // RTK_Y_offset
double rtkZOffset = 0; // RTK_Z_offset
}; };
// 解析 .iprh 头文本。samples/lastTrace/channels 缺任一抛 std::runtime_error。 // 解析 .iprh 头文本。samples/lastTrace/channels 缺任一抛 std::runtime_error。

View File

@ -74,6 +74,9 @@ target_sources(geopro_tests PRIVATE data/test_streaming_builder.cpp)
target_sources(geopro_tests PRIVATE core/test_geo_volume_builder.cpp) target_sources(geopro_tests PRIVATE core/test_geo_volume_builder.cpp)
target_link_libraries(geopro_tests PRIVATE geopro_store) target_link_libraries(geopro_tests PRIVATE geopro_store)
# gpr_proc 线 +
target_sources(geopro_tests PRIVATE core/gpr_proc/test_pipeline.cpp)
# net RSA OpenSSL / find_package # net RSA OpenSSL / find_package
# OpenSSLgeopro_net PUBLIC # OpenSSLgeopro_net PUBLIC
find_package(OpenSSL REQUIRED) find_package(OpenSSL REQUIRED)
@ -231,6 +234,8 @@ target_link_libraries(geopro_tests PRIVATE geopro_io_gpr)
# Gpr3dvVolumeBridge(P2)gpr3dv geopro 量化体( X=道/Y=通道/Z=样本) # Gpr3dvVolumeBridge(P2)gpr3dv geopro 量化体( X=道/Y=通道/Z=样本)
# geopro_gpr3dv_bridge( vendored gpr3dv + Qt) # geopro_gpr3dv_bridge( vendored gpr3dv + Qt)
target_sources(geopro_tests PRIVATE io/gpr/test_gpr3dv_volume_bridge.cpp) target_sources(geopro_tests PRIVATE io/gpr/test_gpr3dv_volume_bridge.cpp)
# io/gprIprHeader
target_sources(geopro_tests PRIVATE io/gpr/test_ipr_header_extended.cpp)
target_link_libraries(geopro_tests PRIVATE geopro_gpr3dv_bridge) target_link_libraries(geopro_tests PRIVATE geopro_gpr3dv_bridge)
add_subdirectory(spike) # spike S3: banded contour add_subdirectory(spike) # spike S3: banded contour

View File

@ -0,0 +1,100 @@
#include <gtest/gtest.h>
#include "gpr_proc/GprProcessingPipeline.hpp"
#include "model/gpr_proc/GprAlgoParams.hpp"
using namespace geopro::core;
// 桩算法:加法器(每元素 + offset
static void stubAdd(const float* in, float* out, const GprTraceMeta& meta, const void* params) {
const int n = meta.ntraces * meta.samples;
const float offset = *static_cast<const float*>(params);
for (int i = 0; i < n; ++i) out[i] = in[i] + offset;
}
// 桩算法:乘法器(每元素 * scale
static void stubMul(const float* in, float* out, const GprTraceMeta& meta, const void* params) {
const int n = meta.ntraces * meta.samples;
const float scale = *static_cast<const float*>(params);
for (int i = 0; i < n; ++i) out[i] = in[i] * scale;
}
class GprPipelineTest : public ::testing::Test {
protected:
GprTraceMeta meta{4, 3, 1.0, 1.0, 0.0, 0.0, true, 0.12};
std::vector<float> raw = {1,2,3, 4,5,6, 7,8,9, 10,11,12};
float addVal = 10.0f;
float mulVal = 2.0f;
};
TEST_F(GprPipelineTest, basicRun) {
GprProcessingPipeline pipe;
pipe.registerNode({"add", stubAdd, &addVal});
pipe.registerNode({"mul", stubMul, &mulVal});
auto out = pipe.run(raw, meta);
ASSERT_EQ(out.size(), raw.size());
// (raw + 10) * 2
EXPECT_FLOAT_EQ(out[0], 22.0f); // (1+10)*2
EXPECT_FLOAT_EQ(out[1], 24.0f); // (2+10)*2
EXPECT_FLOAT_EQ(out[11], 44.0f); // (12+10)*2
}
TEST_F(GprPipelineTest, cachingNoDirty) {
GprProcessingPipeline pipe;
pipe.registerNode({"add", stubAdd, &addVal});
auto out1 = pipe.run(raw, meta);
auto out2 = pipe.run(raw, meta);
// 第二次应复用缓存,结果相同
EXPECT_EQ(out1, out2);
}
TEST_F(GprPipelineTest, dirtyChain) {
GprProcessingPipeline pipe;
pipe.registerNode({"add", stubAdd, &addVal});
pipe.registerNode({"mul", stubMul, &mulVal});
auto out1 = pipe.run(raw, meta);
EXPECT_FLOAT_EQ(out1[0], 22.0f);
// 只改 mul 参数add 应复用缓存
mulVal = 3.0f;
pipe.markDirty("mul");
auto out2 = pipe.run(raw, meta);
EXPECT_FLOAT_EQ(out2[0], 33.0f); // (1+10)*3
// 改 add 参数add 和 mul 都应重算
addVal = 5.0f;
pipe.markDirty("add");
auto out3 = pipe.run(raw, meta);
EXPECT_FLOAT_EQ(out3[0], 18.0f); // (1+5)*3
}
TEST_F(GprPipelineTest, disableNode) {
GprProcessingPipeline pipe;
pipe.registerNode({"add", stubAdd, &addVal});
pipe.registerNode({"mul", stubMul, &mulVal});
pipe.setNodeEnabled("add", false);
auto out = pipe.run(raw, meta);
// add 禁用,只跑 mulraw * 2
EXPECT_FLOAT_EQ(out[0], 2.0f);
EXPECT_FLOAT_EQ(out[11], 24.0f);
}
TEST_F(GprPipelineTest, nodeOutputDebug) {
GprProcessingPipeline pipe;
pipe.registerNode({"add", stubAdd, &addVal});
pipe.run(raw, meta);
const auto* p = pipe.nodeOutput("add");
ASSERT_NE(p, nullptr);
EXPECT_FLOAT_EQ((*p)[0], 11.0f);
}
TEST_F(GprPipelineTest, sizeMismatchThrows) {
GprProcessingPipeline pipe;
pipe.registerNode({"add", stubAdd, &addVal});
std::vector<float> bad(5);
EXPECT_THROW(pipe.run(bad, meta), std::invalid_argument);
}

View File

@ -0,0 +1,95 @@
#include <gtest/gtest.h>
#include "io/gpr/IprHeader.hpp"
using namespace geopro::io::gpr;
TEST(IprHeaderExtended, parsesAllFieldsCaseInsensitive) {
const std::string text =
"Date: 2022-03-10\n"
"START TIME: 10:46\n"
"stop time: 11:30\n"
"Units: ns\n"
"MODE: continuous\n"
"Antennas: MALA MIRA\n"
"FREQUENCY: 200\n"
"Stacks: 4\n"
"Last Trace: 3777\n"
"Positive Direction: forward\n"
"Samples: 516\n"
"Time Interval: 0.187\n"
"TimeWindow: 96.4196\n"
"Depth: 5.0\n"
"Zero Position: 0\n"
"Dielectric: 9\n"
"Soil Type: clay\n"
"Bits: 16\n"
"Mark: none\n"
"Incident Angle: 0\n"
"Distance Interval: 0.099194\n"
"Start Position: 0\n"
"Stop Position: 375\n"
"Wheel/GPS: wheel\n"
"Wheel Calibration: 1.0\n"
"Scan/Second: 50\n"
"Position: 0\n"
"Number_of_ch: 16\n"
"Ch_X_offsets: 0.0,0.2,0.4\n"
"RTK_X_offset: 0.1\n"
"RTK_Y_offset: 0.2\n"
"RTK_Z_offset: 0.3\n"
"Channels: 1\n";
const IprHeader h = parseIprHeader(text);
EXPECT_EQ(h.samples, 516);
EXPECT_EQ(h.lastTrace, 3777);
EXPECT_EQ(h.channels, 1);
EXPECT_DOUBLE_EQ(h.timeWindowNs, 96.4196);
EXPECT_DOUBLE_EQ(h.distanceInterval, 0.099194);
EXPECT_EQ(h.date, "2022-03-10");
EXPECT_EQ(h.startTime, "10:46");
EXPECT_EQ(h.stopTime, "11:30");
EXPECT_EQ(h.units, "ns");
EXPECT_EQ(h.mode, "continuous");
EXPECT_EQ(h.antennas, "MALA MIRA");
EXPECT_DOUBLE_EQ(h.frequency, 200.0);
EXPECT_EQ(h.stacks, 4);
EXPECT_EQ(h.positiveDirection, "forward");
EXPECT_DOUBLE_EQ(h.timeInterval, 0.187);
EXPECT_DOUBLE_EQ(h.depth, 5.0);
EXPECT_DOUBLE_EQ(h.zeroPosition, 0.0);
EXPECT_DOUBLE_EQ(h.dielectric, 9.0);
EXPECT_EQ(h.soilType, "clay");
EXPECT_EQ(h.bits, 16);
EXPECT_EQ(h.mark, "none");
EXPECT_DOUBLE_EQ(h.incidentAngle, 0.0);
EXPECT_DOUBLE_EQ(h.startPosition, 0.0);
EXPECT_DOUBLE_EQ(h.stopPosition, 375.0);
EXPECT_EQ(h.wheelGps, "wheel");
EXPECT_DOUBLE_EQ(h.wheelCalibration, 1.0);
EXPECT_DOUBLE_EQ(h.scanPerSecond, 50.0);
EXPECT_DOUBLE_EQ(h.position, 0.0);
EXPECT_EQ(h.numberOfCh, 16);
EXPECT_EQ(h.chXOffsets, "0.0,0.2,0.4");
EXPECT_DOUBLE_EQ(h.rtkXOffset, 0.1);
EXPECT_DOUBLE_EQ(h.rtkYOffset, 0.2);
EXPECT_DOUBLE_EQ(h.rtkZOffset, 0.3);
}
TEST(IprHeaderExtended, missingOptionalFieldsAllowed) {
const std::string text =
"Samples: 100\n"
"Last Trace: 99\n"
"Channels: 1\n";
const IprHeader h = parseIprHeader(text);
EXPECT_EQ(h.samples, 100);
EXPECT_TRUE(h.date.isEmpty());
EXPECT_DOUBLE_EQ(h.frequency, 0.0);
}
TEST(IprHeaderExtended, missingRequiredThrows) {
const std::string text = "Samples: 100\n";
EXPECT_THROW(parseIprHeader(text), std::runtime_error);
}

View File

@ -5,7 +5,32 @@
"builtin-baseline": "10ceb139a610ebf3c6aa49cdc4a4b7f3db5d3f2b", "builtin-baseline": "10ceb139a610ebf3c6aa49cdc4a4b7f3db5d3f2b",
"dependencies": [ "dependencies": [
"eigen3", "eigen3",
"gdal", {
"name": "gdal",
"default-features": false,
"features": [
"curl",
"expat",
"geos",
"gif",
"hdf5",
"iconv",
"jpeg",
"lerc",
"libkml",
"libxml2",
"lzma",
"netcdf",
"openjpeg",
"openssl",
"pcre2",
"png",
"qhull",
"sqlite3",
"webp",
"zstd"
]
},
"gtest", "gtest",
"nlohmann-json", "nlohmann-json",
"openssl", "openssl",

4
vcvars_env.txt Normal file
View File

@ -0,0 +1,4 @@
Microsoft Windows [版本 10.0.19045.6466]
(c) Microsoft Corporation。保留所有权利。
E:\gitea\geopro>