windows 10 - The application was unable to start correctly (0xc0000022). Click OK to close the application

I built ParaView using the instructions in build.md, but I am getting the error in the title when I try to run it.
Any suggestions on how to debug this?

Thanks,
Dan

First thing to check. Make sure the Qt DLLs on your PATH match the ones you’ve built against. Same for Python if you have it enabled.

I repaired Visual Studio Redistributable (all of them), removed Python support from Visual Studio 2015, uninstall Visual Studio 2019 and rebooted. After that I could build without Python and ParaView started correctly. Not sure which one of these did it.

1 Like

Seems that building with Python causes this. Looking with the Process Monitor I get:

1:43:44.1558093 PM	paraview.exe	10280	CreateFile	C:\Users\dan.lipsa\projects\paraview\build\bin\python38.dll	NAME NOT FOUND	Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
1:43:44.1562130 PM	paraview.exe	10280	CreateFile	C:\Users\dan.lipsa\projects\paraview\build\python38.dll	NAME NOT FOUND	Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

I have python 3.8.5 (installed through the microsoft store) on my machine. This library is at
c:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1520.0_x64__qbz5n2kfra8p0
@ben.boeckel Any ideas? Thanks!