简体   繁体   中英

How to install codeblocks in Linux mint 17.1 (KDE)

I have already installed codeblocks in my linux mint 17.1 (KDE), using this command line

sudo apt-get install codeblocks

, but when i tried to compile and run ac program on codeblocks it shows me this error

/home/redwan/Programmin/C Program/hello.c|1|fatal error: stdio.h: No such file or directory| ||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

Please someone help me to run c as well as c++ programs properly in linux mint 17.1(KDE) using codeblocks.

And Sorry for my bad english .

Save this into a file named 'install.sh' (without quotes) in your home directory, open a terminal (Ctrl+Alt+t) and run the command 'bash install.sh' (again without quotes).

#!/bin/bash

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install build-essential -y
sudo apt-get install codeblocks -y
sudo apt-get install codeblocks-contrib -y
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get autoremove -y
sudo apt-get autoclean -y

exit 0;

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