gptoolbox icon indicating copy to clipboard operation
gptoolbox copied to clipboard

Invalid MEX-file 'C:\......\selfintersect.mexw64': The specified module could not be found.

Open Alexisc54 opened this issue 1 year ago • 3 comments

Hello everyone,

I have an issue during the implementation of a compiled function in matlab : ‘SelfIntersect.mexw64’

For compilating this function, I used the Cmake-gui software and VS 2015 on window 10. When I finally use the function on matlab, this message appears:

« Invalid MEX-file 'C:......\selfintersect.mexw64': The specified module could not be found. Error in a_sup (line 21) [VV,FF,IF] = selfintersect(V,F); »

Others functions that I have tried work, but not this one. Could you help me to solve it please ?

Thank you in advance.

Alexis

Alexisc54 avatar Mar 30 '23 14:03 Alexisc54

Same question, how do you settled it?

Input: [SVtemp,SFtemp,IF] = selfintersect(V,F, 'DetectOnly'); Error: MEX 文件 'E:\MATLAB_File\gptoolbox\mex\selfintersect.mexw64' 无效: 找不到指定的模块。

xjtu19 avatar Jun 25 '24 07:06 xjtu19

I have settled this problem. Actually, it's because the directory lacks of required .dll dependencies. I first use DependencyWalker to check which .dll files I lack; and then find/download these .dll files to the .mexw64 directory.

xjtu19 avatar Jun 25 '24 09:06 xjtu19

Hello,

No, I'm sorry, I gave up !

Alexis

Envoyé à partir de Outlook pour Androidhttps://aka.ms/AAb9ysg


From: xjfeng950418 @.> Sent: Tuesday, June 25, 2024 9:31:23 AM To: alecjacobson/gptoolbox @.> Cc: Alexisc54 @.>; Author @.> Subject: Re: [alecjacobson/gptoolbox] Invalid MEX-file 'C:......\selfintersect.mexw64': The specified module could not be found. (Issue #149)

Same question, how do you settled it?

[SVtemp,SFtemp,IF] = selfintersect(V,F, 'DetectOnly'); MEX 文件 'E:\MATLAB_File\gptoolbox\mex\selfintersect.mexw64' 无效: 找不到指定的模块。

― Reply to this email directly, view it on GitHubhttps://github.com/alecjacobson/gptoolbox/issues/149#issuecomment-2188183852, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6ZXWLS7FCWNTO7FXS4EFWDZJEMEXAVCNFSM6AAAAABJ3HRW2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGE4DGOBVGI. You are receiving this because you authored the thread.Message ID: @.***>

Alexisc54 avatar Jun 25 '24 11:06 Alexisc54