[英]Compiling C program from a second hard drive - stdio.h not found
我在Linux Mint 16上,正在嘗試在第二個硬盤驅動器上執行C文件。 當我嘗試編譯它時,出現以下錯誤:
hello.c:1:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
如何在第二個硬盤上編譯此C文件?
通過安裝build-essentials來使用Mark的解決方案為我解決了這個問題。
嘗試使用sudo apt-get install build-essential
來確保已安裝頭文件。 我做到了,工作了!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.