我在计算机上安装了flex程序。代码块是以前安装的。当我尝试通过键入在cmd中打开我的flex程序时
flex l1a.l
gcc lex.yy.c -o app
我发现以下错误:
program files(x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/../../../../mingw32/bin/ld.exe: cannot open output file app.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
我该如何解决这个问题?
答案 0 :(得分:0)
我必须授予我对保存文件的驱动器的读写权限。权限设置位于property-> security选项中。