简体   繁体   English

代码块无法在Linux Lite中编译空的C文件

[英]code blocks not compiling empty c file in linux lite

I am using linux Lite. 我正在使用linux Lite。 I have installed code Blocks. 我已经安装了代码块。 When i am creating any new project then it is working correctly. 当我创建任何新项目时,它将正常工作。 it compiling codes. 它编译代码。 But When any empty c file is creating and trying to compile then it is not working.Showing message that permission denied. 但是当任何空的c文件正在创建并尝试编译时,它就无法正常工作。 I have checked the compiler setting for empty file. 我检查了编译器设置中的空文件。 it is GNU GCC Compiler. 它是GNU GCC编译器。 How can i solve this? 我该如何解决?

It would be happen due to root access. 这可能是由于root访问。 run code-blocks as root user and try it would be work. 以root用户身份运行代码块,然后尝试运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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