好网站建设公司服务/百中搜优化软件靠谱吗
一、问题描述
起因:在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.编译过程
编译过程总计约1个半小时。
输入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 … 的命令应该使用 vcpkg(包括 vcpkg 本身)下载这些依赖项到gptoolbox/mex/external/。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>cmake --version
cmake version 3.26.0-rc6CMake suite maintained and supported by Kitware (kitware.com/cmake).(base) D:\E20220227>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-02590c430e4ed9215d27870138c2e579cc338772See 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#1lapack: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.dllE:/MATLAB_File/gptoolbox/mex/external/vcpkg/packages/openblas_x64-windows/debug/bin/openblas.dllCall 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 BLASblaslapack provides pkg-config modules:# Implementation of LAPACKlapack-- 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 isnot set. The policy's OLD behavior will be used. When using a URLdownload, the timestamps of extracted files should preferably be that ofthe time of extraction, otherwise code that depends on the extractedcontents might not be rebuilt if the URL changes. The OLD behaviorpreserves the timestamps from the archive instead, but this is usually notwhat you want. Update your project to the NEW behavior or specify theDOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid thisrobustness 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 isnot set. The policy's OLD behavior will be used. When using a URLdownload, the timestamps of extracted files should preferably be that ofthe time of extraction, otherwise code that depends on the extractedcontents might not be rebuilt if the URL changes. The OLD behaviorpreserves the timestamps from the archive instead, but this is usually notwhat you want. Update your project to the NEW behavior or specify theDOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid thisrobustness 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 isnot set. The policy's OLD behavior will be used. When using a URLdownload, the timestamps of extracted files should preferably be that ofthe time of extraction, otherwise code that depends on the extractedcontents might not be rebuilt if the URL changes. The OLD behaviorpreserves the timestamps from the archive instead, but this is usually notwhat you want. Update your project to the NEW behavior or specify theDOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid thisrobustness 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 isnot set. The policy's OLD behavior will be used. When using a URLdownload, the timestamps of extracted files should preferably be that ofthe time of extraction, otherwise code that depends on the extractedcontents might not be rebuilt if the URL changes. The OLD behaviorpreserves the timestamps from the archive instead, but this is usually notwhat you want. Update your project to the NEW behavior or specify theDOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid thisrobustness 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 isnot set. The policy's OLD behavior will be used. When using a URLdownload, the timestamps of extracted files should preferably be that ofthe time of extraction, otherwise code that depends on the extractedcontents might not be rebuilt if the URL changes. The OLD behaviorpreserves the timestamps from the archive instead, but this is usually notwhat you want. Update your project to the NEW behavior or specify theDOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid thisrobustness 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 isnot set. The policy's OLD behavior will be used. When using a URLdownload, the timestamps of extracted files should preferably be that ofthe time of extraction, otherwise code that depends on the extractedcontents might not be rebuilt if the URL changes. The OLD behaviorpreserves the timestamps from the archive instead, but this is usually notwhat you want. Update your project to the NEW behavior or specify theDOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid thisrobustness 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_policycommand to set the policy and suppress this warning.CMake variable GMP_ROOT is set to:E:/MATLAB_File/gptoolbox/mex/build/_deps/libigl-build/GMPFor 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_policycommand to set the policy and suppress this warning.CMake variable MPFR_ROOT is set to:E:/MATLAB_File/gptoolbox/mex/build/_deps/libigl-build/MPFRFor 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_policycommand to set the policy and suppress this warning.CMake variable Boost_ROOT is set to:E:/MATLAB_File/gptoolbox/mex/build/_deps/libigl-build/BoostFor 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 ofCMake.Update the VERSION argument <min> value or use a ...<max> suffix to tellCMake 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 orkeywords when unquoted. Run "cmake --help-policy CMP0054" for policydetails. Use the cmake_policy command to set the policy and suppress thiswarning.Quoted variables like "MSVC" will no longer be dereferenced when the policyis 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
四、测试
-
首先是文件夹下生成了其他文件
-
然后在matlab中运行Offset surface of triangle mesh in matlab,不再报错
-
运行成功啦!!
相关文章:

gptoolbox matlab工具箱cmake 调试笔记
一、问题描述 起因:在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…...

Python面试题:请编写一个函数,计算一个字符串中每个字符的出现频率
当然,可以通过使用 Python 编写一个函数来计算字符串中每个字符的出现频率。下面是一个示例函数: def char_frequency(s):"""计算字符串中每个字符的出现频率参数:s (str): 输入字符串返回:dict: 一个字典,其中键是字符&…...

MacOS如何切换shell类型
切换 shell 类型 如果你想在不同的 shell 之间切换,以探索它们的不同之处,或者因为你知道自己需要其中的一个或另一个,可以使用如下命令: 切换到 bash chsh -s $(which bash)切换到 zsh chsh -s $(which zsh)$()语法的作用是运…...

Qt QSettings 使用详解:跨平台的配置管理
文章目录 Qt QSettings 使用详解:跨平台的配置管理一、QSettings 概述1. QSettings 的基本使用二、不同平台上的实现1. Windows 平台注册表存储INI 文件存储2. Linux 平台3. macOS 平台三、QSettings 高级用法1. 使用组管理设置2. 检查和移除设置3. 枚举键四、总结Qt QSetting…...

确定适合您需求的负载组
大多数关键任务行业都使用 UPS 和发电机等备用电源在停电期间为其设施提供持续电力。负载组允许您在需要时测试电源,以确保在您最需要的时候提供可靠的电力。 选择正确的负载组对于准确的电源测试至关重要。为了帮助您找到最适合您设施需求的负载组,EAK…...

Xubuntu24.04之设置高性能模式两种方式(二百六十一)
简介: CSDN博客专家,专注Android/Linux系统,分享多mic语音方案、音视频、编解码等技术,与大家一起成长! 优质专栏:Audio工程师进阶系列【原创干货持续更新中……】🚀 优质专栏:多媒体系统工程师系列【原创干货持续更新中……】🚀 优质视频课程:AAOS车载系统+AOSP…...

【自适应滤波系列五】基于LMS算法的回声消除(Acoustic Echo Cancellation, AEC)
自适应滤波算法的思想,在上一篇博客中已经进行了详细的描述,本文主要谈谈自适应滤波算法的其中之一LMS算法在回声消除中的应用。 LMS算法由来和思想 在自适应滤波中,基于信号的统计特性构造代价函数 E [ ∣ e ( n ) ∣ 2 ] E\left[|e(n)|^2 \right] E...

matlab 卷积和多项式乘法
目录 一、算法原理1、原理概述2、主要函数二、代码实现1、通过卷积计算多项式乘法2、向量卷积3、卷积的中心部分三、参考链接一、算法原理 1、原理概述 两个向量 u u u和 v v v的卷积,表示...

数据跨境传输法规日趋完善,企业如何规避合规风险?
随着全球化的发展,跨境数据传输变得日益频繁。在数字化时代,数据安全是企业运营的关键。数据跨境传输由于涉及不同国家和地区,其安全合规性面临着更大的风险和挑战。 2022年,国家网信办发布了《数据出境安全评估办法》(…...

工业机床CNC设备如何上云?
工业机床CNC设备如何上云? 工业机床的计算机数控(CNC)设备实现远程监控数据上云,是现代制造业智能化转型的关键一环。这一过程不仅能够实时监测设备状态、优化生产流程,还能通过大数据分析提升生产效率与产品质量&…...

Android C++系列:Linux进程间关系
1. 终端 在UNIX系统中,用户通过终端登录系统后得到一个Shell进程,这个终端成为Shell进 程的控制终端(Controlling Terminal),在前面文章我们说过,控制终端是保存在PCB中的信 息,而我们知道fork会复制PCB中的信息,因此由Shell进程启动的其它进程的控制终端也是 这个终端。…...

使用bypy丝滑传递百度网盘-服务器文件
前言 还在为百度网盘的数据集难以给服务器做同步而痛苦吗,bypy来拯救你了!bypy是一个强大而灵活的百度网盘命令行客户端工具。它是基于Python开发的开源项目,为用户提供了一种通过命令行界面与百度网盘进行交互的方式。使用bypy,…...

关于Python的类的一些理解
才发现python的类对象只能调用类方法 我想使用对类对象a使用系统调用的len方法就会报错 2.类对象a是什么? 答:是所有的带有self的成员变量 举例说明:红色的就是a里面的东西 class A:def __init__(self,data):self.datadataself.b1self.d{a…...

WEB安全基础:网络安全常用术语
一、攻击类别 漏洞:硬件、软件、协议,代码层次的缺陷。 后⻔:方便后续进行系统留下的隐蔽后⻔程序。 病毒:一种可以自我复制并传播,感染计算机和网络系统的恶意软件(Malware),它能损害数据、系统功能或拦…...

ubuntu防火墙指定端口开放设置
文章目录 打开某个端口查看防火墙状态和开放端口例子 在 Ubuntu 中管理防火墙通常使用 ufw(Uncomplicated Firewall)。以下是打开某个端口并查看防火墙状态的方法: 打开某个端口 启用 ufw(如果尚未启用): …...

Python OpenCV 教学取得视频资讯
这篇教学会介绍使用OpenCV,取得影像的长宽尺寸、以及读取影像中某些像素的颜色数值。 因为程式中的OpenCV 会需要使用镜头或GPU,所以请使用本机环境( 参考:使用Python 虚拟环境) 或使用Anaconda Jupyter 进行实作( 参考:使用Anaco…...

高频面试题基本总结回顾1(含笔试高频算法整理)
干货分享,感谢您的阅读! (暂存篇---后续会删除,完整版和持续更新见高频面试题基本总结回顾(含笔试高频算法整理)) 备注:引用请标注出处,同时存在的问题请在相关博客留言…...

【回溯+双指针算法题记录】回文字符串汇总
目录 验证回文串题目描述题目分析cpp代码 131. 分割回文串题目描述题目分析cpp代码 验证回文串 题目🔗 题目描述 如果在将所有大写字符转换为小写字符、并移除所有非字母数字字符之后,短语正着读和反着读都一样。则可以认为该短语是一个 回文串 。 字…...

【AI资讯早报】AI科技前沿资讯概览:2024年7月10日早报
AI科技前沿资讯概览,涵盖了行业大会、技术创新、应用场景、行业动态等多个方面,全面展现了AI领域的最新发展动态和未来趋势。 一、人工智能大模型引领新业态 在2024年(第二十三届)中国互联网大会上,中国工程院院士邬贺…...

DDR3 SO-DIMM 内存条硬件总结(一)
最近在使用fpga读写DDR3,板子上的DDR3有两种形式与fpga相连,一种是直接用ddr3内存颗粒,另一种是通过内存条的形式与fpga相连。这里我们正好记录下和ddr3相关的知识,先从DDR3 SO-DIMM 内存条开始。 1.先看内存条的版本 从JEDEC下载…...

磁力搜索引擎是什么?为什么有些资源喜欢用磁力链接?
磁力链接是什么东西?在日常生活中,我们接触的比较多的下载链接是直链。 所谓的直链简单来说就是直接指向服务器文件资源的链接,如B站app的下载链接,这种链接有统一的服务器提供保障,通常比较稳定,可以追溯源…...

Vue基础--v-model/v-for/事件属性/侦听器
目录 一 v-model表单元素 1.1 v-model绑定文本域的value 1.1.1 lazy属性:光标离开再发请求 1.1.2 number属性:如果能转成number就会转成numer类型 1.1.3 trim属性:去文本域输入的前后空格 1.2v-model绑定单选checkbox 1.3代码展示 二 …...

『大模型笔记』GraphRAG:用于复杂数据发现的新工具现已在GitHub上发布
GraphRAG:用于复杂数据发现的新工具现已在GitHub上发布 文章目录 一. GraphRAG:用于复杂数据发现的新工具现已在GitHub上发布1. 评估和结果2. 研究见解和未来方向二. 参考文献一. GraphRAG:用于复杂数据发现的新工具现已在GitHub上发布 下载 GraphRAG今年早些时候,我们介绍…...

LabVIEW机器视觉技术在产品质量检测中有哪些应用实例
LabVIEW的机器视觉技术在产品质量检测中有广泛的应用,通过图像采集、处理和分析,实现对产品缺陷的自动检测、尺寸测量和定位校准,提高生产效率和产品质量。 1. 电子元器件质量检测 在电子制造业中,电子元器件的质量检测是确保产品…...

【Linux】多线程_2
文章目录 九、多线程2. 线程的控制 未完待续 九、多线程 2. 线程的控制 主线程退出 等同于 进程退出 等同于 所有线程都退出。为了避免主线程退出,但是新线程并没有执行完自己的任务的问题,主线程同样要跟进程一样等待新线程返回。 pthread_join 函数…...

58、基于径向基神经网络的曲线拟合(matlab)
1、基于径向基神经网络的曲线拟合简介及原理 1)原理简介 基于径向基神经网络(Radial Basis Function Neural Network, RBFNN)的曲线拟合是一种常用的非线性拟合方法,通过在输入空间中使用径向基函数对数据进行处理,实…...

3.上传图片(阿里云空间,oss验证)
笔记 20240710 未验证,现在还没有阿里云空间,等买个sit环境就可以验证一下。 前端 页面 <!--页面--> <el-form-item label"优惠券图片" prop"couponImg"><single-upload v-model"dataForm.couponImg"&g…...

仪表板展示|DataEase看中国:2023年中国新能源汽车经济运行情况分析
背景介绍 随着政府机构、企业和个人对环保和可持续发展的高度关注,“新能源汽车”在全球范围内成为了一个热门话题。新能源汽车是指使用非传统燃料(如电能、氢能等)作为动力源的汽车。 在中国市场,新能源汽车产业蓬勃发展&#…...

“Numpy数据分析与挖掘:高效学习重点技能“
目录 # 开篇 # 补充 zeros & ones eye 1. numpy数组的创建 1.1 array 1.2 range 1.3 arange 1.4 常见的数据类型 1.5 astype 1.6 random.random() & round 2. numpy数组计算和数组计算 2.1 reshape 2.2 shape 2.3 将一维数组变成多维数组 2.4 指定一维…...

百川工作手机实现销售管理微信监控系统
在瞬息万变的商业战场中,每一分效率的提升都是企业制胜的关键。传统销售管理模式已难以满足现代企业对精准、高效、合规的迫切需求。今天,让我们一同探索如何利用工作手机这一创新工具,为您的销售团队装上智能翅膀,开启销售管理的…...