alecjacobson / gptoolbox

Matlab toolbox for Geometry Processing.
MIT License
629 stars 169 forks source link

不支持将脚本 signed_distance 作为函数执行: E:\MATLAB_File\gptoolbox\mex\signed_distance.m #163

Closed xjtu19 closed 5 months ago

xjtu19 commented 5 months ago

Executing the script signed_distance as a function is not supported. My matlab version is R2021b.

alecjacobson commented 5 months ago

What happens if you issue

which signed_distance

On Mon, Jun 24, 2024, 8:43 PM xjfeng950418 @.***> wrote:

Executing the script signed_distance as a function is not supported. My matlab version is R2021b. I have mex all the functions.

— Reply to this email directly, view it on GitHub https://github.com/alecjacobson/gptoolbox/issues/163, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARDJGIF4QY43Y2U3MFKNV3ZJC4JLAVCNFSM6AAAAABJ2ZJE2WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3TCMZWHA4TIMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

xjtu19 commented 5 months ago

I ran this script Offset surface of triangle mesh in matlab in my matlab. The error was reported as the above issue. I just found your answer in STL-offset issue #44, and travelled to mex/ file to find the compiling method. Following your instructions, my issue is settled now. Thank you very much!

Cp675516471 commented 1 week ago

I ran this script Offset surface of triangle mesh in matlab in my matlab. The error was reported as the above issue. I just found your answer in STL-offset issue #44, and travelled to mex/ file to find the compiling method. Following your instructions, my issue is settled now. Thank you very much!

Hello,i got problem to use the function named signed_distance too and i tried to compel the files but failed! here are my problem :

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake.

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

-- Selecting Windows SDK version 10.0.14393.0 to target Windows 10.0.22631. -- MSVC -> forcing use of statically-linked runtime. -- vcpkg was not found in system and will be installed to D:/AppInstallFile/AZMatlab/toolbox/alecjacobson-gptoolbox-1b2e0f1/external/vcpkg ... CMake Error at CMakeLists.txt:100 (execute_process): execute_process failed command indexes:

1: "Abnormal exit with child return code: no such file or directory"

-- Configuring incomplete, errors occurred!