The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 20, 2019, 11:48:36 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: C / Ubuntu Question  (Read 5690 times)
KaptainKrayola
Keeper of Pie
Global Moderator
Lifer
*****
Offline Offline

Posts: 994



View Profile WWW
« on: August 01, 2011, 12:34:49 PM »

So here I am yet again sailing uncharted waters - this time doing C in an Ubuntu environment.  So, I went to build a simple 'hello world' application and when i try to compile it I am greeted with it telling me that <stdio.h> cannot be found.

From the research I've done that seems to me to be standard stuff.  Also, i checked the include paths that Eclipse shows and the file is there.  I checked the file system and sure as shit, there it is.

I've read a bunch of places saying i need this package or that package installed and every time i go to install one it's already there.

Any ideas?
Logged

We can't stop here, this is bat country.
kurdt
Lifer
*****
Offline Offline

Posts: 1153


paha arkkitehti


View Profile
« Reply #1 on: August 02, 2011, 12:18:46 AM »

Stupid question but have you done apt-get build-essential or build-essentials?
Logged

I met god and he had nothing to say to me.
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #2 on: August 03, 2011, 10:48:16 PM »

just to be silly, go to the root of the drive and type find -name "stdio.h" and see if it's there.

If yes, then it could just be path switches in your compiler.
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!