zhangty019 / S3_DeformFDM

S^3-Slicer: A General Slicing Framework for Multi-Axis 3D Printing
BSD 3-Clause "New" or "Revised" License
87 stars 14 forks source link

Exception thrown (Qt5Cored.dll) in ShapeLab.exe: Access violation reading location #6

Closed moorjuli closed 1 year ago

moorjuli commented 1 year ago

Hey,

i am able to access the gui without a problem, but when i try to open any of the example .tet files the following error occurs: image

Does anyone have an idea how to fix this or even has the same problem? Thank you for your help in advance.

Kind regard, Julian

zhangty019 commented 1 year ago

This means that there are no mesh entities in the list, could you describe in more detail how this issue is triggered?

moorjuli commented 1 year ago

I just rebuild the whole project and i am getting the same issue. I set everything up, just as it is described in readme and I am able interact with the UI. But when i click File>Open in the top left corner and try to open any of the example files i do get the error described above. I am using Visual Studio 2019 and the suggested Version of QT, all running on Windows 10.

moorjuli commented 1 year ago

image Looking into the cmd everything looks allright

moorjuli commented 1 year ago

Today i was able to reproduce the issue on two other systems, so this seems to be a general issue/bug. Any idea on how to fix this? Also i recognized that besides oneAPI Math Kernel Library the oneAPI DPC++/C++ Compiler is required, which could be added to the readme. Again thank you for your great work!

hanbaiyi commented 1 year ago

Today i was able to reproduce the issue on two other systems, so this seems to be a general issue/bug. Any idea on how to fix this? Also i recognized that besides oneAPI Math Kernel Library the oneAPI DPC++/C++ Compiler is required, which could be added to the readme. Again thank you for your great work!

I also had the same problem, please how did you solve it

zhangty019 commented 1 year ago

Please check whether it is caused by the MKL library configuration.

moorjuli commented 1 year ago

@hanbaiyi I sadly was not able to solve the problem yet. @zhangty019 MKL Library is configured as described in the documentation. Could your share your detailed MKL Configuration?

moorjuli commented 1 year ago

Okay, I was able to fix the issue, thanks to the update made in the documentation. Thank you @zhangty019. Changing the code generation method to Multi-threaded Debug (/MTd) solved it for me @hanbaiyi.