https://bugs.winehq.org/show_bug.cgi?id=50496
--- Comment #9 from Zebediah Figura z.figura12@gmail.com --- (In reply to adam from comment #8)
yes it does. unless I run it with sudo. should I attach my /root/.wine?
also, I got windows 10 running within KVM (with GVT-g which is basically intel gpu passthrough) and I updated the program so that it works properly in windows, and I still get this problem with wine. I wonder if this is a problem with MinGW-w64 and not wine? I don't compile with wineg++ because I statically link GLEW and SDL2.
How are you creating a new prefix? Why aren't you creating it as a normal user?
In general you shouldn't run Wine as root; it's designed to run as a normal user.