简体   繁体   中英

mingw32-make access denied when building wxWidgets

I get an error when I execute mingw32-make in cmd with the makefile.gcc found in the build\msw folder of the wxWidget decompressed zip. I followed the steps shown in this tutorial video .

The error is:

make (e=5): Acceso denegado.
mingw32-make: [makefile.gcc:5354: clean] Error 5 (ignored)

I tried adding "Everyone" with total control to the security tab in the properties option of the folder in which I had decompressed wxWidgets.

I changed the same option for make.exe file in C:\msys64\mingw64\bin

I read that it could be the antivirus, I'm using Windows Defender, I switched off the real time protection but it didn't change anything.

First of all, this is not a fatal error, as indicated by "(ignored)" at the end, so it's not clear what your actual problem is -- does the library get compiled or not?

Second, to debug problems such as this one, you could use theProcess Monitor tool where you can find out accessing which file exactly triggers this error -- this could give you at least some idea. Without knowing it, it's really impossible to know what goes wrong on your machine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM