[Runtime error]Assertion failed from python38_d.dll while running release build

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
weird fish
Posts: 1
Joined: Mon Dec 21, 2020 8:50 am

[Runtime error]Assertion failed from python38_d.dll while running release build

Post by weird fish »

Hello everyone run into a weird issue, screenshot please see the image below
Assertion-failed-error.png
Assertion-failed-error.png (16.15 KiB) Viewed 601 times
I have built FreeCAD-019 on windows in release mode using the LibPack from the FreeCAD repository, and the build was successful. But trying to run the FreeCAD.exe, I got an Assertion failed from python38_d.dll, the weird thing is, why is it trying to load this debugging DLL? I have had a successful build and runnable executable before, so I ran an experiment on that by isolating the python38_d.dll from that FreeCAD.exe and it could still run, which is actually correct since the release build should not load DLLs in debug mode. So does anyone has some idea what is gonging wrong? And how can I debug my build process to figure out what has been misconfigured?
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: [Runtime error]Assertion failed from python38_d.dll while running release build

Post by GeneFC »

Most likely is that you accidently compiled in debug mode. That is the default.

When I compile in release mode those "_d" files are not created.

I sometimes make the mistake of going with the default, and the result does not work.

Gene
Post Reply