I built a simple opengl program with visual studio 2012, but when I run the debug
version of it, it gets deleted and windows reports that it cannot find the file specified.
When I disable avast it runs fine.
What is happening? Avast gives no indication that it is doing anything.
I think you mean that avast! is blocking execution of the debug program, moving it to avast! quarantine, and then windows can’t find the file. You then restore a backup copy and disable avast! and it runs fine in debug?
Apparently yes, I checked the virus chest and it had been moved there.
I scanned the file and avast didnt find any viruses (of course), but when I run it
avast keeps moving it to the virus chest.
Is there any way I can stop it from doing this?
Its a very strange set of circumstances that this happens,
only when compiling in “debug” (against the debug versions of the windows libraries,
and without optimisation) and when linking with http://www.glfw.org/
and http://glew.sourceforge.net/