提问人:Matheus Damasceno 提问时间:2/18/2023 最后编辑:Weather VaneMatheus Damasceno 更新时间:2/18/2023 访问量:74
Codelite 不编译和运行程序
Codelite not compiling and running program
问:
我是编码新手,我正在尝试学习 C,我安装了 Codelite 并尝试编译默认的 hello world 东西,但我只是返回这个,是发生了什么事还是我只是愚蠢?
默认是:
#include <stdio.h>
int main(int argc, char **argv)
{
printf("hello world\\n");
当我单击“Build”时,Codelite返回此内容:
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/cygdrive/c/Users/Matheus/OneDrive/Documentos/Testing/Testing2'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: *** [Testing2.mk:86: MakeIntermediateDirs] Error 1
make[1]: Leaving directory '/cygdrive/c/Users/Matheus/OneDrive/Documentos/Testing/Testing2'
make: *** [Makefile:5: All] Error 2
=== build completed successfully (0 errors, 0 warnings) ===
当我单击“运行”时,会出现以下情况:
==== Program exited with exit code: 0 ====
Time elapsed: 000:00.000 (MM:SS.MS)
Press any key to continue...
我对编码一无所知,我只是尝试更改为构建设置并将其恢复到正常状态,但我也没有工作
答: 暂无答案
评论