gptoolbox matlab工具箱cmake 调试笔记

news2025/2/25 11:12:15

一、问题描述

起因:在matlab中运行Offset surface of triangle mesh in matlab的时候报错:

不支持将脚本 signed_distance 作为函数执行:
E:\MATLAB_File\gptoolbox\mex\signed_distance.m>
出错 offset_bunny (第 22 行)
D = signed_distance(BC,V,F);

二、查找解决方案

官网答疑STL-offset issue #44中说

alecjacobson commented on Jan 3, 2018
This function is needs to be compiled. Travel to the mex/ folder and checkout the README there.
这个函数是需要编译的。前往 mex/ 文件夹并在那里查看README文件。
It might take a little effort to compile these on Windows, but you could have a look at compile_gptoolbox.
在 Windows 上编译这些内容可能需要一些努力,但您可以查看 compile_gptoolbox .
You’ll definitely need to install libigl and make sure those are properly included.
您肯定需要安装 libigl 并确保正确包含这些内容。

翻到gptoolbox/mex/,README中这样写:

I’ve abandoned trying to build a “pure-matlab” build system. I now use cmake. So the build routine is:
我已经放弃了构建“纯matlab”构建系统的尝试。我现在使用 cmake。因此,构建例程为:

所以要想用signed_distance就必须使用cmake构建,cmake好久不用,要重新学了!!!-_-

很久之前配置的时候用的是cmake的gui界面,这次以为要重新学了,实际上不用!!!直接在cmd中输入cmake指令就可以啦,思维转变受此博文启发Windows下通过CMake编译项目(2种方法)。

在这里插入图片描述
简单好用的cmd界面

在这里插入图片描述
超难用的cmake gui。。。

三、解决过程

1.官网编译教程原文

Compiling (mexing) 编译 (mexing)
I’ve abandoned trying to build a “pure-matlab” build system. I now use cmake. So the build routine is:
我已经放弃了构建“纯matlab”构建系统的尝试。我现在使用 cmake。因此,构建例程为:
bash:

mkdir build 
cd build
cmake ..
make

powershell (or cmd):

mkdir build && cd build
cmake ..
cmake --build . --config Release

This will output the mex functions in this (mex/) directory.
这将输出此 ( mex/ ) 目录中的 mex 函数。

CMake’s FindMatlab.cmake is not very good. You might have to do something like:
CMake的 FindMatlab.cmake 不是很好。您可能需要执行以下操作:

cmake ../ -DMatlab_ROOT_DIR=/apps/matlab-R2019b/
  • 注意:
  • cmake ..是编译上层目录的源码;
  • cmake --build .是在本目录下(.)生成可执行文件。此处的build是命令,与建的文件夹名无关。
  • 我是windows 10, 用的cmd。

2.编译过程

编译过程总计约2个小时。

输入cmake…后,是漫长的等待。。。

官网介绍构建项目所需的依赖有:

Dependencies 依赖
Nearly all of the functions depend on stl, Eigen and libigl. Beyond that some may depend on CGAL, Embree, and El Topo. The cmake … command above should take care of downloading these dependencies into gptoolbox/mex/external/ using vcpkg (including vcpkg itself).
几乎所有的函数都依赖于 stl、Eigen 和 libigl。除此之外,有些人可能依赖于 CGAL、Embree 和 El Topo。上面 cmake … 的命令应该负责下载这些依赖项以 gptoolbox/mex/external/ 使用 vcpkg(包括 vcpkg 本身)。

You may already have vcpgk installed in your system. In order to use it, call cmake with additional parameter on configuration step, pointing at your vcpgk executable:
您的系统中可能已经安装了 vcpgk。要使用它,请在配置步骤中使用附加参数调用 cmake,指向您的 vcpgk 可执行文件:
cmake .. -D
TODO: 待办:
As soon as libigl is updated to 2.4.0 in vcpkg (see microsoft/vcpkg#26029), we could switch to vcpkg dependency management also regarding to libigl.
一旦 libigl 在 vcpkg 中更新到 2.4.0(请参阅 microsoft/vcpkg#26029 ),我们就可以切换到 vcpkg 依赖项管理,也与 libigl 有关。

指令cmake..产生的所有日志附在最后面了。

(base) D:\E20220227\CurvedLayerSlicing>cmake --version
cmake version 3.26.0-rc6

CMake suite maintained and supported by Kitware (kitware.com/cmake).

(base) D:\E20220227\CurvedLayerSlicing>E:
(base) E:\>cd E:\MATLAB_File\gptoolbox
(base) E:\MATLAB_File\gptoolbox>cd mex
(base) E:\MATLAB_File\gptoolbox\mex>    mkdir build && cd build
(base) E:\MATLAB_File\gptoolbox\mex\build>    cmake ..
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.29.30148.0
-- The CXX compiler identification is MSVC 19.29.30148.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_MARCH_NATIVE
-- Performing Test COMPILER_SUPPORTS_MARCH_NATIVE - Failed
-- MSVC -> forcing use of statically-linked runtime.
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.40.0.windows.1")
-- vcpkg was not found in system and will be installed to E:/MATLAB_File/gptoolbox/mex/external/vcpkg ...
Cloning into 'E:/MATLAB_File/gptoolbox/mex/external/vcpkg'...
Updating files: 100% (11435/11435), done.
Downloading https://github.com/microsoft/vcpkg-tool/releases/download/2024-06-10/vcpkg.exe -> E:\MATLAB_File\gptoolbox\mex\external\vcpkg\vcpkg.exe (using IE proxy: 127.0.0.1:7890)... done.
Validating signature... done.

vcpkg package management program version 2024-06-10-02590c430e4ed9215d27870138c2e579cc338772

See LICENSE.txt for license information.
-- Running vcpkg install
A suitable version of cmake was not found (required v3.29.2) Downloading portable cmake 3.29.2...
Downloading cmake...
https://github.com/Kitware/CMake/releases/download/v3.29.2/cmake-3.29.2-windows-i386.zip->E:\MATLAB_File\gptoolbox\mex\external\vcpkg\downloads\cmake-3.29.2-windows-i386.zip
Downloading https://github.com/Kitware/CMake/releases/download/v3.29.2/cmake-3.29.2-windows-i386.zip
Extracting cmake...
Detecting compiler hash for triplet x64-windows...
-- Automatically setting %HTTP(S)_PROXY% environment variables to "127.0.0.1:7890".
A suitable version of powershell-core was not found (required v7.2.16) Downloading portable powershell-core 7.2.16...
Downloading powershell-core...
https://github.com/PowerShell/PowerShell/releases/download/v7.2.16/PowerShell-7.2.16-win-x64.zip->E:\MATLAB_File\gptoolbox\mex\external\vcpkg\downloads\PowerShell-7.2.16-win-x64.zip
Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.2.16/PowerShell-7.2.16-win-x64.zip
Extracting powershell-core...
Compiler found: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
The following packages will be built and installed:
    blas:x64-windows@2023-04-14#1
    lapack:x64-windows@2023-06-10#2
  * lapack-reference[blas-select,core,noblas]:x64-windows@3.11.0#6
  * openblas:x64-windows@0.3.27#1
  * vcpkg-cmake:x64-windows@2024-04-23
  * vcpkg-cmake-config:x64-windows@2024-05-23
  * vcpkg-gfortran:x64-windows@3#3
Additional packages (*) will be modified to complete this operation.
A suitable version of 7zip was not found (required v24.6.0) Downloading portable 7zip 24.6.0...
Downloading 7zip...
https://github.com/ip7z/7zip/releases/download/24.06/7z2406-extra.7z->E:\MATLAB_File\gptoolbox\mex\external\vcpkg\downloads\7z2406-extra.7z
Downloading https://github.com/ip7z/7zip/releases/download/24.06/7z2406-extra.7z
Extracting 7zip...
Restored 0 package(s) from C:\Users\26735\AppData\Local\vcpkg\archives in 704 us. Use --debug to see more details.
Installing 1/7 vcpkg-cmake:x64-windows@2024-04-23...
Building vcpkg-cmake:x64-windows@2024-04-23...
-- Installing: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake
-- Installing: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake
-- Installing: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake
-- Installing: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake
-- Installing: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 123 ms.
Elapsed time to handle vcpkg-cmake:x64-windows: 257 ms
vcpkg-cmake:x64-windows package ABI: 2822b17c008535651f0b50dd44b9846d7fa42d83da855e03e43e458fbe8da15f
Installing 2/7 vcpkg-cmake-config:x64-windows@2024-05-23...
Building vcpkg-cmake-config:x64-windows@2024-05-23...
-- Installing: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake
-- Installing: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake
-- Installing: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/copyright
-- Skipping post-build validation due to VCPKG_POLICY_EMPTY_PACKAGE
Stored binaries in 1 destinations in 42.5 ms.
Elapsed time to handle vcpkg-cmake-config:x64-windows: 137 ms
vcpkg-cmake-config:x64-windows package ABI: 6a9ebe9a572a5927e8c864d4c75db500f00152c83d69a5f62dc7cb687aaf0a65
Installing 3/7 openblas:x64-windows@0.3.27#1...
Building openblas:x64-windows@0.3.27#1...
-- Downloading https://github.com/OpenMathLib/OpenBLAS/archive/v0.3.27.tar.gz -> OpenMathLib-OpenBLAS-v0.3.27.tar.gz...
-- Extracting source E:/MATLAB_File/gptoolbox/mex/external/vcpkg/downloads/OpenMathLib-OpenBLAS-v0.3.27.tar.gz
-- Applying patch uwp.patch
-- Applying patch fix-redefinition-function.patch
-- Applying patch install-tools.patch
-- Applying patch gcc14.patch
-- Using source at E:/MATLAB_File/gptoolbox/mex/external/vcpkg/buildtrees/openblas/src/v0.3.27-2f0a3701cf.clean
-- Downloading https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_5380_5361/strawberry-perl-5.38.0.1-64bit-portable.zip -> strawberry-perl-5.38.0.1-64bit-portable.zip...
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
CMake Warning at scripts/cmake/vcpkg_copy_pdbs.cmake:44 (message):
  Could not find a matching pdb file for:

      E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/openblas_x64-windows/bin/openblas.dll
      E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/openblas_x64-windows/debug/bin/openblas.dll

Call Stack (most recent call first):
  ports/openblas/portfile.cmake:74 (vcpkg_copy_pdbs)
  scripts/ports.cmake:191 (include)


-- Fixing pkgconfig file: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/openblas_x64-windows/lib/pkgconfig/openblas.pc
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst -> msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst...
-- Using msys root at E:/MATLAB_File/gptoolbox/mex/external/vcpkg/downloads/tools/msys2/1e74ca60daa10104
-- Fixing pkgconfig file: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/openblas_x64-windows/debug/lib/pkgconfig/openblas.pc
-- Installing: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/openblas_x64-windows/share/openblas/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 419 ms.
Elapsed time to handle openblas:x64-windows: 8.3 min
openblas:x64-windows package ABI: b20b0db24ea4cb1966cb06b42b4bae2bc4afacf2352f7646bd575d9be898885f
Installing 4/7 blas:x64-windows@2023-04-14#1...
Building blas:x64-windows@2023-04-14#1...
-- Skipping post-build validation due to VCPKG_POLICY_EMPTY_PACKAGE
Stored binaries in 1 destinations in 35.7 ms.
Elapsed time to handle blas:x64-windows: 180 ms
blas:x64-windows package ABI: b7450f32051708abad8c4f19fd83829bd389128cc1e1db033c973daa88e85148
Installing 5/7 vcpkg-gfortran:x64-windows@3#3...
Building vcpkg-gfortran:x64-windows@3#3...
-- The Fortran compiler identification is unknown
-- No Fortran compiler found on the PATH. Using MinGW gfortran!
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-fortran-14.1.0-3-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-fortran-14.1.0-3-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-fortran-14.1.0-3-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-fortran-14.1.0-3-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-fortran-14.1.0-3-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-fortran-14.1.0-3-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-gcc-fortran-14.1.0-3-any.pkg.tar.zst...
-- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst.
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-14.1.0-3-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-14.1.0-3-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-14.1.0-3-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-14.1.0-3-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-14.1.0-3-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-14.1.0-3-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-gcc-14.1.0-3-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libgfortran-14.1.0-3-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libgfortran-14.1.0-3-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-libgfortran-14.1.0-3-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-libgfortran-14.1.0-3-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-libgfortran-14.1.0-3-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-libgfortran-14.1.0-3-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-gcc-libgfortran-14.1.0-3-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-binutils-2.42-2-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-binutils-2.42-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-binutils-2.42-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-binutils-2.42-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-binutils-2.42-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-binutils-2.42-2-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-binutils-2.42-2-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-crt-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-crt-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-crt-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-crt-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-crt-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-crt-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-crt-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libs-14.1.0-3-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libs-14.1.0-3-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-libs-14.1.0-3-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-libs-14.1.0-3-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-libs-14.1.0-3-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-gcc-libs-14.1.0-3-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-gcc-libs-14.1.0-3-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gmp-6.3.0-2-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-gmp-6.3.0-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-gmp-6.3.0-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-gmp-6.3.0-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-gmp-6.3.0-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-gmp-6.3.0-2-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-gmp-6.3.0-2-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-headers-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-headers-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-headers-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-headers-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-headers-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-headers-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-headers-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-isl-0.26-1-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-isl-0.26-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-isl-0.26-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-isl-0.26-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-isl-0.26-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-isl-0.26-1-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-isl-0.26-1-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libiconv-1.17-4-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-libiconv-1.17-4-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-libiconv-1.17-4-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-libiconv-1.17-4-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-libiconv-1.17-4-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-libiconv-1.17-4-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-libiconv-1.17-4-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-mpc-1.3.1-2-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-mpc-1.3.1-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-mpc-1.3.1-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-mpc-1.3.1-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-mpc-1.3.1-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-mpc-1.3.1-2-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-mpc-1.3.1-2-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-mpfr-4.2.1-2-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-mpfr-4.2.1-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-mpfr-4.2.1-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-mpfr-4.2.1-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-mpfr-4.2.1-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-mpfr-4.2.1-2-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-mpfr-4.2.1-2-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-windows-default-manifest-6.4-4-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-windows-default-manifest-6.4-4-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-windows-default-manifest-6.4-4-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-windows-default-manifest-6.4-4-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-windows-default-manifest-6.4-4-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-windows-default-manifest-6.4-4-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-windows-default-manifest-6.4-4-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-winpthreads-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-winpthreads-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-winpthreads-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-winpthreads-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-winpthreads-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-winpthreads-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-winpthreads-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-zlib-1.3.1-1-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-zlib-1.3.1-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-zlib-1.3.1-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-zlib-1.3.1-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-zlib-1.3.1-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-zlib-1.3.1-1-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-zlib-1.3.1-1-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-zstd-1.5.6-2-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-zstd-1.5.6-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-zstd-1.5.6-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-zstd-1.5.6-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-zstd-1.5.6-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-zstd-1.5.6-2-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-zstd-1.5.6-2-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-gettext-runtime-0.22.5-2-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-gettext-runtime-0.22.5-2-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-gettext-runtime-0.22.5-2-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-gettext-runtime-0.22.5-2-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-gettext-runtime-0.22.5-2-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-gettext-runtime-0.22.5-2-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-gettext-runtime-0.22.5-2-any.pkg.tar.zst...
-- Using cached msys2-mingw-w64-x86_64-headers-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst.
-- Downloading https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-libwinpthread-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-libwinpthread-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/mingw/mingw64/mingw-w64-x86_64-libwinpthread-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-libwinpthread-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/mingw/mingw64/mingw-w64-x86_64-libwinpthread-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/mingw/mingw64/mingw-w64-x86_64-libwinpthread-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst -> msys2-mingw-w64-x86_64-libwinpthread-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst...
-- Using cached msys2-mingw-w64-x86_64-libwinpthread-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst.
-- Using msys root at E:/MATLAB_File/gptoolbox/mex/external/vcpkg/downloads/tools/msys2/259fff2112122ad2
-- Installing: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/vcpkg-gfortran_x64-windows/share/vcpkg-gfortran/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 513 ms.
Elapsed time to handle vcpkg-gfortran:x64-windows: 2 min
vcpkg-gfortran:x64-windows package ABI: 07dd43799429b2ce24f04b534dd1e093f06c905ec91b0b0456f82375264e63de
Installing 6/7 lapack-reference[blas-select,core,noblas]:x64-windows@3.11.0#6...
Building lapack-reference[blas-select,core,noblas]:x64-windows@3.11.0#6...
-- Downloading https://github.com/Reference-LAPACK/lapack/archive/v3.11.0.tar.gz -> Reference-LAPACK-lapack-v3.11.0.tar.gz...
-- Extracting source E:/MATLAB_File/gptoolbox/mex/external/vcpkg/downloads/Reference-LAPACK-lapack-v3.11.0.tar.gz
-- Applying patch cmake-config.patch
-- Applying patch lapacke.patch
-- Applying patch fix_prefix.patch
-- Using source at E:/MATLAB_File/gptoolbox/mex/external/vcpkg/buildtrees/lapack-reference/src/v3.11.0-6ae738f586.clean
-- The Fortran compiler identification is unknown
-- No Fortran compiler found on the PATH. Using MinGW gfortran!
-- Using cached msys2-mingw-w64-x86_64-gcc-fortran-14.1.0-3-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-gcc-14.1.0-3-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-gcc-libgfortran-14.1.0-3-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-binutils-2.42-2-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-crt-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-gcc-libs-14.1.0-3-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-gmp-6.3.0-2-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-headers-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-isl-0.26-1-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-libiconv-1.17-4-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-mpc-1.3.1-2-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-mpfr-4.2.1-2-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-windows-default-manifest-6.4-4-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-winpthreads-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-zlib-1.3.1-1-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-zstd-1.5.6-2-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-gettext-runtime-0.22.5-2-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-headers-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-libwinpthread-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst.
-- Using cached msys2-mingw-w64-x86_64-libwinpthread-git-12.0.0.r32.gf977e1c38-1-any.pkg.tar.zst.
-- Using msys root at E:/MATLAB_File/gptoolbox/mex/external/vcpkg/downloads/tools/msys2/259fff2112122ad2
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Fixing pkgconfig file: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/lapack-reference_x64-windows/lib/pkgconfig/lapack.pc
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst.
-- Using msys root at E:/MATLAB_File/gptoolbox/mex/external/vcpkg/downloads/tools/msys2/1e74ca60daa10104
-- Fixing pkgconfig file: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/lapack-reference_x64-windows/debug/lib/pkgconfig/lapack.pc
-- Installing: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/lapack-reference_x64-windows/share/lapack-reference/usage
-- Installing: E:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/lapack-reference_x64-windows/share/lapack-reference/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 2.1 s.
Elapsed time to handle lapack-reference:x64-windows: 16 min
lapack-reference:x64-windows package ABI: 268b5a35a37f4211ef425a9b7f574083bd7cb92b74b1105d8b4affc7a23c5efb
Installing 7/7 lapack:x64-windows@2023-06-10#2...
Building lapack:x64-windows@2023-06-10#2...
-- Skipping post-build validation due to VCPKG_POLICY_EMPTY_PACKAGE
Stored binaries in 1 destinations in 52.7 ms.
Elapsed time to handle lapack:x64-windows: 264 ms
lapack:x64-windows package ABI: 5ca2491e6660c438b1636aa8d6735f0e79f1e47a90497269ec908e6702170730
Total install time: 26 min
blas provides pkg-config modules:

  # Implementation of BLAS
  blas

lapack provides pkg-config modules:

  # Implementation of LAPACK
  lapack

-- Running vcpkg install - done
-- Found Matlab: C:/Program Files/MATLAB/R2021b/extern/include (found version "9.11") found components: MEX_COMPILER MX_LIBRARY ENG_LIBRARY
-- Downloading and finding libigl...
-- Creating target: igl::core (igl_core)
-- Third-party: creating target 'Eigen3::Eigen'
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Creating target: igl::embree (igl_embree)
-- Third-party: creating target 'embree::embree'
-- Detecting default ISA...
-- Detected default ISA: SSE2
-- Creating target: igl::xml (igl_xml)
-- Third-party: creating target 'tinyxml2::tinyxml2'
-- Creating target: igl_copyleft::cgal (igl_copyleft_cgal)
-- Third-party: creating target 'CGAL::CGAL'
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.26/Modules/FetchContent.cmake:1282 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:8 (FetchContent_Declare)
  build/_deps/libigl-src/cmake/igl/modules/copyleft/cgal.cmake:17 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:32 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:40 (_igl_include_full)
  build/_deps/libigl-src/cmake/libigl.cmake:27 (igl_include_optional)
  build/_deps/libigl-src/CMakeLists.txt:151 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Third-party: downloading gmp + mpfr
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.26/Modules/FetchContent.cmake:1282 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  build/_deps/libigl-src/cmake/recipes/external/gmp_mpfr.cmake:9 (FetchContent_Declare)
  build/_deps/libigl-src/cmake/recipes/external/gmp.cmake:7 (include)
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:32 (include)
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:58 (cgal_import_target)
  build/_deps/libigl-src/cmake/igl/modules/copyleft/cgal.cmake:17 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:32 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:40 (_igl_include_full)
  build/_deps/libigl-src/cmake/libigl.cmake:27 (igl_include_optional)
  build/_deps/libigl-src/CMakeLists.txt:151 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.26/Modules/FetchContent.cmake:1282 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  build/_deps/libigl-src/cmake/recipes/external/gmp_mpfr.cmake:16 (FetchContent_Declare)
  build/_deps/libigl-src/cmake/recipes/external/gmp.cmake:7 (include)
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:32 (include)
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:58 (cgal_import_target)
  build/_deps/libigl-src/cmake/igl/modules/copyleft/cgal.cmake:17 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:32 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:40 (_igl_include_full)
  build/_deps/libigl-src/cmake/libigl.cmake:27 (igl_include_optional)
  build/_deps/libigl-src/CMakeLists.txt:151 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found GMP: E:/MATLAB_File/gptoolbox/mex/build/_deps/gmp-src/include
-- Third-party: downloading gmp + mpfr
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.26/Modules/FetchContent.cmake:1282 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  build/_deps/libigl-src/cmake/recipes/external/gmp_mpfr.cmake:9 (FetchContent_Declare)
  build/_deps/libigl-src/cmake/recipes/external/mpfr.cmake:11 (include)
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:33 (include)
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:58 (cgal_import_target)
  build/_deps/libigl-src/cmake/igl/modules/copyleft/cgal.cmake:17 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:32 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:40 (_igl_include_full)
  build/_deps/libigl-src/cmake/libigl.cmake:27 (igl_include_optional)
  build/_deps/libigl-src/CMakeLists.txt:151 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.26/Modules/FetchContent.cmake:1282 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  build/_deps/libigl-src/cmake/recipes/external/gmp_mpfr.cmake:16 (FetchContent_Declare)
  build/_deps/libigl-src/cmake/recipes/external/mpfr.cmake:11 (include)
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:33 (include)
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:58 (cgal_import_target)
  build/_deps/libigl-src/cmake/igl/modules/copyleft/cgal.cmake:17 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:32 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:40 (_igl_include_full)
  build/_deps/libigl-src/cmake/libigl.cmake:27 (igl_include_optional)
  build/_deps/libigl-src/CMakeLists.txt:151 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found MPFR: E:/MATLAB_File/gptoolbox/mex/build/_deps/mpfr-src/include
-- Third-party: creating targets 'Boost::boost'...
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.26/Modules/FetchContent.cmake:1282 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  build/_deps/boost-cmake-src/CMakeLists.txt:10 (FetchContent_Declare)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Fetching Boost
-- Fetching Boost - done
-- Boost found: 1.71.0 E:/MATLAB_File/gptoolbox/mex/build/_deps/boost-src
-- Looking for __linux__
-- Looking for __linux__ - not found
-- Looking for _WIN32
-- Looking for _WIN32 - found
-- Looking for __APPLE__
-- Looking for __APPLE__ - not found
-- Looking for __ANDROID__
-- Looking for __ANDROID__ - not found
-- Looking for __FreeBSD__
-- Looking for __FreeBSD__ - not found
-- Looking for _M_IX86
-- Looking for _M_IX86 - not found
-- Looking for __GNUC__
-- Looking for __GNUC__ - not found
-- The ASM_MASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/ml64.exe
-- Found BZip2: C:/Users/26735/anaconda3/Library/lib/bzip2.lib (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found ZLIB: C:/Users/26735/anaconda3/Library/lib/z.lib (found version "1.2.12")
-- Found the following ICU libraries:
--   uc (required): C:/Users/26735/anaconda3/Library/lib/icuuc.lib
--   dt (required): C:/Users/26735/anaconda3/Library/lib/icudt.lib
--   i18n (required): C:/Users/26735/anaconda3/Library/lib/icuin.lib
-- Found ICU: C:/Users/26735/anaconda3/Library/include (found version "58.2")
-- Found iconv library: C:/Users/26735/anaconda3/Library/lib/iconv.lib
-- Visual Leak Detector (VLD) is not found.
-- Using header-only CGAL
CMake Warning (dev) at external/vcpkg/scripts/buildsystems/vcpkg.cmake:857 (_find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable GMP_ROOT is set to:

    E:/MATLAB_File/gptoolbox/mex/build/_deps/libigl-build/GMP

  For compatibility, CMake is ignoring the variable.
Call Stack (most recent call first):
  build/_deps/cgal-src/cmake/modules/CGAL_SetupGMP.cmake:24 (find_package)
  build/_deps/cgal-src/cmake/modules/CGAL_SetupCGALDependencies.cmake:37 (include)
  build/_deps/cgal-src/lib/cmake/CGAL/CGALConfig.cmake:168 (include)
  build/_deps/cgal-src/CGALConfig.cmake:6 (include)
  external/vcpkg/scripts/buildsystems/vcpkg.cmake:857 (_find_package)
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:55 (find_package)
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:58 (cgal_import_target)
  build/_deps/libigl-src/cmake/igl/modules/copyleft/cgal.cmake:17 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:32 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:40 (_igl_include_full)
  build/_deps/libigl-src/cmake/libigl.cmake:27 (igl_include_optional)
  build/_deps/libigl-src/CMakeLists.txt:151 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at external/vcpkg/scripts/buildsystems/vcpkg.cmake:857 (_find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable MPFR_ROOT is set to:

    E:/MATLAB_File/gptoolbox/mex/build/_deps/libigl-build/MPFR

  For compatibility, CMake is ignoring the variable.
Call Stack (most recent call first):
  build/_deps/cgal-src/cmake/modules/CGAL_SetupGMP.cmake:25 (find_package)
  build/_deps/cgal-src/cmake/modules/CGAL_SetupCGALDependencies.cmake:37 (include)
  build/_deps/cgal-src/lib/cmake/CGAL/CGALConfig.cmake:168 (include)
  build/_deps/cgal-src/CGALConfig.cmake:6 (include)
  external/vcpkg/scripts/buildsystems/vcpkg.cmake:857 (_find_package)
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:55 (find_package)
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:58 (cgal_import_target)
  build/_deps/libigl-src/cmake/igl/modules/copyleft/cgal.cmake:17 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:32 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:40 (_igl_include_full)
  build/_deps/libigl-src/cmake/libigl.cmake:27 (igl_include_optional)
  build/_deps/libigl-src/CMakeLists.txt:151 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at external/vcpkg/scripts/buildsystems/vcpkg.cmake:857 (_find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable Boost_ROOT is set to:

    E:/MATLAB_File/gptoolbox/mex/build/_deps/libigl-build/Boost

  For compatibility, CMake is ignoring the variable.
Call Stack (most recent call first):
  build/_deps/cgal-src/cmake/modules/CGAL_SetupBoost.cmake:20 (find_package)
  build/_deps/cgal-src/cmake/modules/CGAL_SetupCGALDependencies.cmake:48 (include)
  build/_deps/cgal-src/lib/cmake/CGAL/CGALConfig.cmake:168 (include)
  build/_deps/cgal-src/CGALConfig.cmake:6 (include)
  external/vcpkg/scripts/buildsystems/vcpkg.cmake:857 (_find_package)
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:55 (find_package)
  build/_deps/libigl-src/cmake/recipes/external/cgal.cmake:58 (cgal_import_target)
  build/_deps/libigl-src/cmake/igl/modules/copyleft/cgal.cmake:17 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:32 (include)
  build/_deps/libigl-src/cmake/igl/igl_include.cmake:40 (_igl_include_full)
  build/_deps/libigl-src/cmake/libigl.cmake:27 (igl_include_optional)
  build/_deps/libigl-src/CMakeLists.txt:151 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Boost include dirs:
-- Boost libraries:    Boost::thread;Boost::system
-- Creating target: igl_copyleft::core (igl_copyleft_core)
-- Creating target: igl_copyleft::tetgen (igl_copyleft_tetgen)
-- Third-party: creating target 'tetgen::tetgen'
-- Creating target: igl_restricted::matlab (igl_restricted_matlab)
-- Found Matlab: C:/Program Files/MATLAB/R2021b/extern/include (found version "9.11") found components: MEX_COMPILER MX_LIBRARY ENG_LIBRARY MAT_LIBRARY
-- Creating target: igl_restricted::triangle (igl_restricted_triangle)
-- Third-party: creating target 'triangle::triangle'
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Found BLAS: E:/MATLAB_File/gptoolbox/mex/build/vcpkg_installed/x64-windows/debug/lib/openblas.lib
CMake Deprecation Warning at build/_deps/eltopo-src/eltopo3d/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- No build type selected, default to Release
-- Using VCPKG FindLAPACK from package 'lapack-reference'
-- Looking for cheev_
-- Looking for cheev_ - not found
-- Looking for cheev_
-- Looking for cheev_ - not found
-- Looking for cheev_
-- Looking for cheev_ - found
-- A library with LAPACK API found.
CMake Warning (dev) at build/_deps/eltopo-src/eltopo3d/CMakeLists.txt:50 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "MSVC" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- MEX_SOURCE: aabb.cpp
-- MEX_OUTPUT: aabb
-- MEX_SOURCE: angle_derivatives.cpp
-- MEX_OUTPUT: angle_derivatives
-- MEX_SOURCE: bone_visible.cpp
-- MEX_OUTPUT: bone_visible
-- MEX_SOURCE: blue_noise.cpp
-- MEX_OUTPUT: blue_noise
-- MEX_SOURCE: collapse_small_triangles.cpp
-- MEX_OUTPUT: collapse_small_triangles
-- MEX_SOURCE: decimate_libigl.cpp
-- MEX_OUTPUT: decimate_libigl
-- MEX_SOURCE: dual_laplacian.cpp
-- MEX_OUTPUT: dual_laplacian
-- MEX_SOURCE: exact_geodesic.cpp
-- MEX_OUTPUT: exact_geodesic
-- MEX_SOURCE: fast_sparse.cpp
-- MEX_OUTPUT: fast_sparse
-- MEX_SOURCE: fit_rotations_mex.cpp
-- MEX_OUTPUT: fit_rotations_mex
-- MEX_SOURCE: fit_cubic_bezier.cpp
-- MEX_OUTPUT: fit_cubic_bezier
-- MEX_SOURCE: icp.cpp
-- MEX_OUTPUT: icp
-- MEX_SOURCE: isolines.cpp
-- MEX_OUTPUT: isolines
-- MEX_SOURCE: in_element_aabb.cpp
-- MEX_OUTPUT: in_element_aabb
-- MEX_SOURCE: psd_project_rows.cpp
-- MEX_OUTPUT: psd_project_rows
-- MEX_SOURCE: principal_curvature.cpp
-- MEX_OUTPUT: principal_curvature
-- MEX_SOURCE: readMSH.cpp
-- MEX_OUTPUT: readMSH
-- MEX_SOURCE: read_triangle_mesh.cpp
-- MEX_OUTPUT: read_triangle_mesh
-- MEX_SOURCE: segment_graph.cpp
-- MEX_OUTPUT: segment_graph
-- MEX_SOURCE: signed_distance.cpp
-- MEX_OUTPUT: signed_distance
-- MEX_SOURCE: simplify_polyhedron.cpp
-- MEX_OUTPUT: simplify_polyhedron
-- MEX_SOURCE: slim.cpp
-- MEX_OUTPUT: slim
-- MEX_SOURCE: split_nonmanifold.cpp
-- MEX_OUTPUT: split_nonmanifold
-- MEX_SOURCE: solid_angle.cpp
-- MEX_OUTPUT: solid_angle
-- MEX_SOURCE: eltopo.cpp
-- MEX_OUTPUT: eltopo
-- MEX_SOURCE: tetrahedralize.cpp
-- MEX_OUTPUT: tetrahedralize
-- MEX_SOURCE: triangulate.cpp
-- MEX_OUTPUT: triangulate
-- MEX_SOURCE: ambient_occlusion.cpp
-- MEX_OUTPUT: ambient_occlusion
-- MEX_SOURCE: bone_visible_embree.cpp
-- MEX_OUTPUT: bone_visible_embree
-- MEX_SOURCE: ray_mesh_intersect.cpp
-- MEX_OUTPUT: ray_mesh_intersect
-- MEX_SOURCE: reorient_facets.cpp
-- MEX_OUTPUT: reorient_facets
-- MEX_SOURCE: winding_number.cpp
-- MEX_OUTPUT: winding_number
-- MEX_SOURCE: box_intersect.cpp
-- MEX_OUTPUT: box_intersect
-- MEX_SOURCE: decimate_cgal.cpp
-- MEX_OUTPUT: decimate_cgal
-- MEX_SOURCE: form_factor.cpp
-- MEX_OUTPUT: form_factor
-- MEX_SOURCE: intersect_other.cpp
-- MEX_OUTPUT: intersect_other
-- MEX_SOURCE: mesh_boolean.cpp
-- MEX_OUTPUT: mesh_boolean
-- MEX_SOURCE: outer_hull.cpp
-- MEX_OUTPUT: outer_hull
-- MEX_SOURCE: point_mesh_squared_distance.cpp
-- MEX_OUTPUT: point_mesh_squared_distance
-- MEX_SOURCE: selfintersect.cpp
-- MEX_OUTPUT: selfintersect
-- MEX_SOURCE: signed_distance_isosurface.cpp
-- MEX_OUTPUT: signed_distance_isosurface
-- MEX_SOURCE: snap_rounding.cpp
-- MEX_OUTPUT: snap_rounding
-- MEX_SOURCE: trim_with_solid.cpp
-- MEX_OUTPUT: trim_with_solid
-- MEX_SOURCE: upper_envelope.cpp
-- MEX_OUTPUT: upper_envelope
-- MEX_SOURCE: wire_mesh.cpp
-- MEX_OUTPUT: wire_mesh
-- MEX_SOURCE: read_mesh_from_xml.cpp
-- MEX_OUTPUT: read_mesh_from_xml
-- Configuring done (1944.5s)
-- Generating done (1.9s)
-- Build files have been written to: E:/MATLAB_File/gptoolbox/mex/build

(base) E:\MATLAB_File\gptoolbox\mex\build>

别忘了 cmake --build . --config Release这一句啊!!!
又是漫长的等待。。。

          ]
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\igl\rigid_alignment.cpp(34,15): warning C4244: “初始化”: 从“Eigen::EigenBase<Derived>::Index”转换到“const int”,可能丢失数据 [E
:\MATLAB_File\gptoolbox\mex\build\icp.vcxproj]
          with
          [
              Derived=Eigen::Matrix<double,-1,-1,0,-1,-1>
          ]
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\igl\sort.cpp(30,17): warning C4244: “初始化”: 从“Eigen::EigenBase<Derived>::Index”转换到“int”,可能丢失数据 [E:\MATLAB_File\gpt
oolbox\mex\build\icp.vcxproj]
          with
          [
              Derived=Eigen::Matrix<double,-1,3,0,-1,3>
          ]
.................很多字..................
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\igl\parallel_for.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [E:\MATLAB_File\gptoo
lbox\mex\build\signed_distance.vcxproj]
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\igl\internal_angles.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode  格式以防止数据丢失 [E:\MATLAB_File\gp
toolbox\mex\build\signed_distance.vcxproj]
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\igl\internal_angles.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode  格式以防止数据丢失 [E:\MATLAB_File\gp
toolbox\mex\build\signed_distance.vcxproj]
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\igl\AABB.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [E:\MATLAB_File\gptoolbox\mex
\build\signed_distance.vcxproj]
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\igl\AABB.cpp(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [E:\MATLAB_File\gptoolbox\m
ex\build\signed_distance.vcxproj]
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\igl\AABB.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [E:\MATLAB_File\gptoolbox\mex
\build\signed_distance.vcxproj]
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\igl\AABB.cpp(976,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [E:\MATLAB_File\gptoolbox
\mex\build\signed_distance.vcxproj]
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\igl\exterior_edges.cpp(91,19): warning C4267:=: 从“size_t”转换到“int”,可能丢失数据 [E:\MATLAB_File\gptoolbox\mex\build\s
igned_distance.vcxproj]
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\igl\exterior_edges.cpp(92,19): warning C4267:=: 从“size_t”转换到“int”,可能丢失数据 [E:\MATLAB_File\gptoolbox\mex\build\s
igned_distance.vcxproj]
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\igl\fast_winding_number.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [E:\MATLAB_Fil
e\gptoolbox\mex\build\signed_distance.vcxproj]
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\igl\fast_winding_number.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [E:\MATLAB_Fil
e\gptoolbox\mex\build\signed_distance.vcxproj]
E:\MATLAB_File\gptoolbox\mex\signed_distance.cpp(37,34): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [E:\MATLAB_File\gptoolbox\mex\build\signed_distance.vcxproj]
E:\MATLAB_File\gptoolbox\mex\signed_distance.cpp(37,34): warning C4267: “初始化”: 从“size_t”转换到“const int”,可能丢失数据 [E:\MATLAB_File\gptoolbox\mex\build\signed_distance.vcxproj]
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\igl\sort.cpp(30,17): warning C4244: “初始化”: 从“Eigen::EigenBase<Derived>::Index”转换到“int”,可能丢失数据 [E:\MATLAB_File\gpt
oolbox\mex\build\signed_distance.vcxproj]
          with
          [
              Derived=Eigen::Matrix<int,-1,-1,0,-1,-1>
          ]
E:\MATLAB_File\gptoolbox\mex\build\_deps\libigl-src\include\i

四、测试

  1. 首先是文件夹下生成了其他文件
    在这里插入图片描述

  2. 然后在matlab中运行Offset surface of triangle mesh in matlab,不再报错
    在这里插入图片描述

  3. 运行成功啦!!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1901977.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

Vim编辑器与Shell命令脚本

前言&#xff1a;本博客仅作记录学习使用&#xff0c;部分图片出自网络&#xff0c;如有侵犯您的权益&#xff0c;请联系删除 目录 一、Vim文本编辑器 二、编写Shell脚本 三、流程控制语句 四、计划任务服务程序 致谢 一、Vim文本编辑器 “在Linux系统中一切都是文件&am…

Java技术栈总结:kafka篇

一、# 基础知识 1、安装 部署一台ZooKeeper服务器&#xff1b;安装jdk&#xff1b;下载kafka安装包&#xff1b;上传安装包到kafka服务器上&#xff1a;/usr/local/kafka;解压缩压缩包&#xff1b;进入到config目录&#xff0c;修改server.properties配置信息&#xff1a; #…

绝区叁--如何在移动设备上本地运行LLM

随着大型语言模型 (LLM)&#xff08;例如Llama 2和Llama 3&#xff09;不断突破人工智能的界限&#xff0c;它们正在改变我们与周围技术的互动方式。这些模型早已集成到我们的手机中&#xff0c;但到目前为止&#xff0c;它们理解和处理请求的能力还非常有限。然而&#xff0c;…

2024年7月6日 (周六) 叶子游戏新闻

自动电脑内部录音器AutoAudioRecorder: 是一款免费的自动音频录制软件&#xff0c;可直接将电脑内部所有的声音录制成 mp3/wav 文件&#xff0c;包括音乐、游戏直播、网络会议、聊天通话等音频源。 卸载工具 HiBitUninstaller: Windows上的软件卸载工具 《不羁联盟》制作人&…

数据库测试|Elasticsearch和ClickHouse的对决

前言 数据库作为产品架构的重要组成部分&#xff0c;一直是技术人员做产品选型的考虑因素之一。 ClkLog会经常遇到小伙伴问支持兼容哪几种数据库&#xff1f;为什么是选择ClickHouse而不是这个或那个。 由于目前市场上主流的数据库有许多&#xff0c;这次我们选择其中一个比较典…

【密码学】密码学体系

密码学体系是信息安全领域的基石&#xff0c;它主要分为两大类&#xff1a;对称密码体制和非对称密码体制。 一、对称密码体制&#xff08;Symmetric Cryptography&#xff09; 在对称密码体制中&#xff0c;加密和解密使用相同的密钥。这意味着发送方和接收方都必须事先拥有这…

医院产科信息化管理系统源码,智慧产科管理系统,涵盖了从孕妇到医院初次建档、历次产检、住院分娩、统计上报到产后42天全部医院服务的信息化管理。

医院产科信息化管理系统源码&#xff0c;智慧产科管理系统&#xff0c;产科专科电子病历系统 技术架构&#xff1a;前后端分离Java&#xff0c;Vue&#xff0c;ElementUIMySQL8.0.36 医院产科信息化管理系统&#xff0c;通过构建专科病例系统实现临床保健一体化&#xff0c;涵…

线程池理解及7个参数

定义理解 线程池其实是一种池化的技术实现&#xff0c;池化技术的核心思想就是实现资源的复用&#xff0c;避免资源的重复创建和销毁带来的性能开销。线程池可以管理一堆线程&#xff0c;让线程执行完任务之后不进行销毁&#xff0c;而是继续去处理其它线程已经提交的任务。 …

【pytorch18】Logistic Regression

回忆线性回归 for continuous:y xwbfor probability output:yσ(xwb) σ:sigmoid or logistic 线性回归是简单的线性模型&#xff0c;输入是x&#xff0c;网络参数是w和b&#xff0c;输出是连续的y的值 如何把它转化为分类问题?加了sigmoid函数&#xff0c;输出的值不再是…

springboot服务启动读取不到application.yml中的nacos.config信息

我的版本&#xff1a; 可以添加bootstrap.yml文件&#xff0c;在里面添加nacos.config的配置信息 也可以添加VM参数 -Dspring.cloud.nacos.discovery.server-addr -Dspring.cloud.nacos.config.server-addr -Dspring.cloud.nacos.config.namespace -Dspring.cloud.nacos.discov…

Java实现登录验证 -- JWT令牌实现

目录 1.实现登录验证的引出原因 2.JWT令牌2.1 使用JWT令牌时2.2 令牌的组成 3. JWT令牌&#xff08;token&#xff09;生成和校验3.1 引入JWT令牌的依赖3.2 使用Jar包中提供的API来实现JWT令牌的生成和校验3.3 使用JWT令牌验证登录3.4 令牌的优缺点 1.实现登录验证的引出 传统…

LeetCode刷题之搜索二维矩阵

2024 7/5 一如既往的晴天&#xff0c;分享几张拍的照片嘿嘿&#xff0c;好几天没做题了&#xff0c;在徘徊、踌躇、踱步。蝉鸣的有些聒噪了&#xff0c;栀子花花苞也都掉落啦&#xff0c;今天给他剪了枝&#xff0c;接回一楼来了。ok&#xff0c;做题啦&#xff01; 图1、宿舍…

EDA 2023 年世界国家suicide rate排名

文章目录 前言:关于数据集列 导入模块导入数据数据预处理探索性数据分析按性别划分的自杀率 [箱线图]相关矩阵热图自杀率最高的 15 个国家变化百分比最高的 15 个国家/地区2023 年世界地图上自杀率的国家 结尾: 前言: 随着社会的不断发展和变迁&#xff0c;人们对于各种社会问…

154. 寻找旋转排序数组中的最小值 II(困难)

154. 寻找旋转排序数组中的最小值 II 1. 题目描述2.详细题解3.代码实现3.1 Python3.2 Java 1. 题目描述 题目中转&#xff1a;154. 寻找旋转排序数组中的最小值 II 2.详细题解 该题是153. 寻找旋转排序数组中的最小值的进阶题&#xff0c;在153. 寻找旋转排序数组中的最小值…

2024 年第十四届亚太数学建模竞赛(中文赛项)浅析

需要完整B题资料&#xff0c;请关注&#xff1a;“小何数模”&#xff01; 本次亚太(中文赛)数学建模的赛题已正式出炉&#xff0c;无论是赛题难度还是认可度&#xff0c;该比赛都是仅次于数模国赛的独一档&#xff0c;可以用于国赛前的练手训练。考虑到大家解题实属不易&…

品牌推广的核心价值:作用解析与意义探讨!

在激烈的市场竞争环境之下&#xff0c;品牌推广已经成为企业不可缺少的一部分。不仅关乎企业的知名度&#xff0c;对市场份额更是起到了决定性的作用。 作为一名手工酸奶品牌的创始人&#xff0c;目前全国也复制了100多家门店&#xff0c;这篇文章&#xff0c;我将和大家分享品…

web学习笔记(八十)

目录 1.小程序实现微信一键登录 2. 小程序的授权流程 3.小程序配置vant库 4.小程序配置分包 5.小程序配置独立分包 6.小程序分包预下载 1.小程序实现微信一键登录 要先实现小程序一键登录首先我们需要给按钮设置一个绑定事件&#xff0c;然后在绑定事件内部通过wx.login…

ETAS工具导入Com Arxml修改步骤

文章目录 前言Confgen之前的更改Confgen之后的修改CANCanIfComComMEcuM修改CanNmCanSMDCMCanTp生成RTE过程报错修改DEXT-诊断文件修改Extract问题总结前言 通讯协议栈开发一般通过导入DBC实现,ETAS工具本身导入DBC也是生成arxml后执行cfggen,本文介绍直接导入客户提供的arxml…

FastAPI+vue3+Primeflex教学20240706,渲染阶乘案例

子绝父相 相对定位是相对于自己原本的位置定位。 绝对定位&#xff0c;如果父元素设置了相对定位&#xff0c;则相对于父元素进行绝对定位&#xff0c;否则相对于最近的设置了相对定位的元素进行绝对定位&#xff0c;或者相对于根元素进行绝对定位。 定位有四个方向&#xff0…

白嫖A100-interLM大模型部署试用活动,亲测有效-2.Git

申明 以下部分内容来源于活动教学文档&#xff1a; Docs git 安装 是一个开源的分布式版本控制系统&#xff0c;被广泛用于软件协同开发。程序员的必备基础工具。 常用的 Git 操作 git init 初始化一个新的 Git 仓库&#xff0c;在当前目录创建一个 .git 隐藏文件夹来跟踪…