run error
when i build mayo by cmake. i have finish all steps! and run it! i always meet the following errors!
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.
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
Thanks for your reply, but I did check this option in cmake gui! I still get the error of missing dynamic link library
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
You can also manually copy the missing DLLs in the same folder as mayo.exe This will fix the issue
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!