mayo icon indicating copy to clipboard operation
mayo copied to clipboard

run error

Open 271812697 opened this issue 4 months ago • 5 comments

when i build mayo by cmake. i have finish all steps! and run it! i always meet the following errors!

Image

I have tried several times, and although the program compiles successfully, I always encounter a missing dll error when running it. I can't wait to read the source code of Mayo over and over again, but when the program doesn't run, and make it difficult to do such a thing.

271812697 avatar Aug 30 '25 02:08 271812697

Hello Buranya, if you build with VisualStudio then in cmake-gui, check option Mayo_PostBuildCopyRuntimeDLLs is ON. Looks like tbb12.dll is not accessible from PATH

If you're blocked then use pre-built binaries or installer. See Releases page

HuguesDelorme avatar Sep 01 '25 07:09 HuguesDelorme

Thanks for your reply, but I did check this option in cmake gui! I still get the error of missing dynamic link library

Image

271812697 avatar Sep 01 '25 13:09 271812697

I see you built OpenCascade yourself and maybe you forgot to run the install step after the build Obviously there's an issue with your OpenCascade build, or Mayo cmake file is expecting something it doesn't have with your OCCT build

HuguesDelorme avatar Sep 01 '25 13:09 HuguesDelorme

You can also manually copy the missing DLLs in the same folder as mayo.exe This will fix the issue

HuguesDelorme avatar Sep 01 '25 13:09 HuguesDelorme

This issue does seem to be related to OCC. The OCC I downloaded from the link in the build guide does not have these dlls. And the project built with VS2022 does not have the OCC target! Manually copying the dll can indeed solve this problem!

271812697 avatar Sep 02 '25 00:09 271812697