Building Panda3D with MinGW 32-bit (and MinGW 64-bit)

You need to undo that change. It is what caused that error. You will also get a completely non-functional build of Panda otherwise.