Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Linux


Advertisements:










Ubuntu :: Fatal Error: Iostream.h: No Such File Or Directory Compilation Terminated While Compiling C++ Code


whenever i am trying to compile a c++ program i am getting the following error sample.cpp:1: fatal error: iostream.h: No such file or directory compilation terminated


View 1 Replies (Posted: December 9th, 2010)

Sponsored Links:

Related Forum Messages For Linux category:
Software :: Error: Agent.h: No Such File Or Directory Compilation Terminated
i try to compile my SD_APP.cc but i encountered a error, how do i resolve this?

In file included from SD_APP.cc:1: SD_APP_HDR.h:6: fatal error: agent.h: No such file or directory compilation terminated.

Posted: 02-22-2011, 12:44 PM

View 3 Replies!   View Related
General :: ERROR: Iostream.h: No Such File Or Directory / Cin Was Not Declared In This Scope?
I create a simple code for add two number:

Code:
#include<iostream.h>
#include<stdio.h>
main()
{
int num1, num2, sum;
code....

I search the answer to my problem in various forums but I can't solve the problem.I think that is due to I need some package or that I don't install the necessary libraries.

Posted: 06-08-2010, 07:00 PM

View 2 Replies!   View Related
Programming :: G++ --> Iostream.h: No Such File Or Directory?
I recently switched to ubuntu, so kinda new to it. I installed g++ by

Code:
sudo apt-get install build-essential
and now when i'm trying to compile this:

[code]....

Posted: 04-08-2011, 02:17 PM

View 14 Replies!   View Related
Ubuntu :: Src/main.h:25: Fatal Error: Glib.h: No Such File Or Directory
I am trying to install a program called airfart and when I run make after cd'ing to the appropriate file i get this

Code:

g++ -g `pkg-config gtk+-2.0 --cflags` -o src/main.o -c src/main.cpp
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'

[code]....

Posted: October 29th, 2010

View 9 Replies!   View Related
Slackware :: Fatal Error: Glib-object.h: No Such File Or Directory
I'm using Slackware 13.37 x64 (upgraded to slackware-current) and I have trouble compiling mysql workbench 5.2.34.

The error is:

Code:

scintilla-marshal.c:2:25: fatal error: glib-object.h: No such file or directory

But I have that glib-object.h file:

Code:

$ locate glib-object.h
/usr/include/glib-2.0/glib-object.h

This is when I try to compile version 5.2.27:

Code:

./PlatGTK.cxx:13:21: fatal error: gdk/gdk.h: No such file or directory

Code:

$ locate gdk.h
/usr/include/gtk-1.2/gdk/gdk.h
/usr/include/gtk-2.0/gdk/gdk.h

Posted: 05-31-2011, 08:59 AM

View 12 Replies!   View Related
General :: Can't Compile Gcc - Fatal Error: Stdio.h: No Such File Or Directory
I am trying to upgrade my NAS with anew toolchain, gcc-4.5.2. The NAS have been "hacked" fonz_plug, that contain a gcc version 4.1.3 with uClibc. I have download all needed tar files and done the following.My goal is to upgrade the gcc to 4.5.2 and replace the ucLibc on the system with a GNU libc.

# Pass one
#
# binutils
./configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include --with-gmp=/ffp --with-mpfr=/ffp
But when I try to compile the gcc with
../configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include --enable-__cxa_atexit --with-float=soft --enable-languages=c,c++ --with-build-sysroot=/ffp --with-build-time-tools=/ffp/bin --with-system-zlib --enable-threads=posix --disable-bootstrap

[Code]...

Posted: 02-19-2011, 02:59 PM

View 6 Replies!   View Related
Ubuntu :: Modprobe Fatal Error "no Such File Or Directory" On Boot
since the recent upgrade to Maverik every time I boot this error message appear on the top of the screen: "modprobe: Fatal: Could not load /lib/modules/2.6.35-22-generic/modules.dep: no such file or directory" fter that plymouth starts without any graphics and the first visible object is the login interface (GDM)

Posted: 10-13-2010, 03:31 PM

View 1 Replies!   View Related
Ubuntu :: Can't Find Xlib.h - Fatal Error: Xlib.h: No Such File Or Directory
I'm trying to build a program called Obpager, but I'm getting an error saying I don't have xlib.h. From what I understand, that file is included in libx11-dev, which I have installed. Any idea?

Code:

dagoss@MAGIC-PORT:~/Downloads/obpager-1.8$ make
Compiling src/main.cc
In file included from src/main.cc:33:0:

[code]....

Posted: June 12th, 2011

View 2 Replies!   View Related
Ubuntu :: Fatal Error: Gdk-pixbuf/gdk-pixbuf.h: No Such File Or Directory
I have updated to ubuntu 10.10, but when I try to compile chromium on ubuntu, I get this error:

Code:

In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:28,
from /usr/include/gtk-2.0/gdk/gdk.h:33,
from app/active_window_watcher_x.cc:6:
/usr/include/gtk-2.0/gdk/gdkpixbuf.h:37: fatal error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory

What I don't understand is why gtk-2.0/gdk/gdkpixbuf.h complains that gdkpixbuf/gdk-pixbuf.h is not found. And how can I fix it?

Posted: October 2nd, 2010

View 7 Replies!   View Related
Ubuntu Servers :: Postfix Make Install - Error - Postfix: Fatal: Chdir(/usr/libexec/postfix): No Such File Or Directory
Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"

-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...

make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:

[Code]....

Posted: March 11th, 2010

View 1 Replies!   View Related
Ubuntu Installation :: Boot Error "modprobe: FATAL Could Not Load /lib/modules 2.6.35-22 Generic Modules No Such File Or Directory"
Tonight I installed ubuntu 10.10 (32 bit) on an external usb harddrive with a dvd I burned and I used my older desktop. I disconnected all internal and external drives first so everything had to be put on the usb drive I selected (only option available). I used the option to load extra software, use the entire hard drive, and let the software do it's thing. I basically had no options where to put things and it didn't have much choice.

When I boot the usb drive on my laptop (win 7 64 bit) by telling the bios to boot to it first... I get an error: modprobe: FATAL Could not load /lib/modules 2.6.35-22 generic modules No such file or directory. This message appears twice and then it does boot into ubuntu and seems to work fine. I'm new to this OS so that is an uneducated guess but the things I have done seem to be working. So exactly what is this error referring too? Is there a way to fix the problem or do I just ignore it.

Posted: April 14th, 2011

View 9 Replies!   View Related
Programming :: Error Messages Generated When Compiling C++ Code?
Is there an online resource to lookup error messages generated when compiling C++ code?

Posted: 07-03-2010, 01:09 PM

View 5 Replies!   View Related
Slackware :: L 99 99 99 Pops Up - Fatal: Create /boot/map: No Such File Or Directory
Im sure that this issue is pretty old and you get some results from forums when you google it, but I cant seem to find the solution : When I boot my system ( its duel boot , win7 / Slackware 13.1 ) the message : L 99 99 99 pops up. I know this has to do with the MBR, When I looked online this is what people were told to do:

[Code]///

Posted: 03-04-2011, 06:50 PM

View 6 Replies!   View Related
Ubuntu Multimedia :: Main:2273: FATAL: Failed To Open '/dev/dvb/adapter0/frontend0': 2 No Such File Or Directory
My USB stick is this one: [URL] I can't get it to scan my frequencies. PC finds the stick (lsusb):

Code:

Bus 002 Device 005: ID 15a4:9016 Afatech Technologies, Inc. AF9015 DVB-T USB2.0 stick When I plug it in, dmesg shows this:

Code:

[ 5680.696043] usb 2-2: new high speed USB device using ehci_hcd and address 7
[ 5680.834917] usb 2-2: configuration #1 chosen from 1 choice
[ 5680.849872] af9015: tuner id:179 not supported, please report!
[ 5680.852951] Afatech DVB-T 2: Fixing fullspeed to highspeed interval: 10 -> 7

[code]....

But if the directory is created, then after the same command I have

Code:

scanning /usr/share/dvb/dvb-t/lv-Riga
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
main:2273: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 19 No such device

I found on the internet a firmware for my USB HDTV DVB-T stick named "dvb-usb-af9015.fw" and copied it into /lib/firmware/ but I have not seen any difference with that.

Posted: June 2nd, 2010

View 1 Replies!   View Related
Ubuntu Installation :: Error Occurs. "(Reading Database . . . 55%dpkg: Unrecoverable Fatal Error , Aborting: Files List File For Package?
i have ubuntu karmic 9.10 and when i try to update anything or install anything the a very similar error occurs."(Reading database . . . 55%dpkg: unrecoverable fatal error , aborting: files list file for package `com.palm.net.precoddr.fcoaster' contains empty filenameit repeats this message 3 times then gives up i believe.

Posted: February 11th, 2010

View 9 Replies!   View Related
Fedora :: Compiling C++ Program On 11 - No Such File Or Directory
I wrote a program in c++ on fedora 11. When i compiled it using g++. it displays the following error:

g++ fibnocci.cpp
fibnocci.cpp:2:22: error: iostream.h: No such file or directory
fibnocci.cpp: In function int main():
fibnocci.cpp:8: error: cout was not declared in this scope
fibnocci.cpp:8: error: endl was not declared in this scope

Posted: 25th May 2010, 09:46 AM

View 2 Replies!   View Related
Ubuntu :: Compiling Source Code Error "You Need Intltool 0.40.0 Or Later"?
Just switched over to Ubuntu 11.04 32bit. I have spent the day configuring it to my likings, and am content with Ubuntu. I have zero experience with coding, and bare minimum knowledge. Anyways, I have gotten some tar.gz files, that I have extracted them into folders, and then in terminal I run ./configure, and then I get the error "You need intltool 0.40.0 or later".

Posted: June 5th, 2011

View 2 Replies!   View Related
Hardware :: Compiling The Official Driver From The Intel Site But The Compilation Fails?
I'm using Vector Linux for years without any issues, But I'm really paining with configure X for perfect performance for my newly bought(only 1 month old) PC (which has the intel 845G graphic chip)

I also tried compiling the official driver from the Intel site but the compilation fails.After that I used i810 driver in xorg.conf, Its not stable and not reliable. Finally(even now) I'm using vesa driver,Its stable but I cannot play videos.video grabs always.

Posted: 05-22-2010, 10:25 AM

View 2 Replies!   View Related
Fedora :: Compilation Of Vlc Source Code?
how vlc source code can be compiled?

Posted: 13th December 2009, 11:30 AM

View 2 Replies!   View Related
OpenSUSE :: Compiling Java Code Error "undefined Reference To Main"
After messing up with grub, I reformatted my hdd and installed opensuse 11.4 (gnome+kde) from the dvd and also included the java sdk while installing, now the problem is that whenever i compile a java program, I get this error Code: /usr/src/packages/BUILD/glibc-2.11.3/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'

Posted: 09-Aug-2011 11:57

View 3 Replies!   View Related
Programming :: How Switches Controlling Code Compilation
I had been working on a CPP code for sometime now, without being aware that some parts of its code, especially security related were not being compiled. Problem was like my product did not work for SSL mode. On analysis, I found that some part of CPP codes inside a switch(ENABLE_SSL_LIBRARY)were not getting compiled at all. And also that this gets set when we do newgrp crypto command on the box. This left me without lots of doubts. I wanted to understand how these switches work and if this switch was propreitary to my code or something related to Linux.

My questions now are:
1. Switches like the one mentioned above, are they user defined, for my particular code or are they related to Linux/GCC or makefiles?
2.If a user can define such switches to control code compilation, then need to know the concepts/procedures behind it. How is it done ?

Kindly excuse if these are very very basic. But since I could not get proper stuffs on google, I thought I should ask some experts here who could either explain me or point me to appropriate resources (links of articles / tutorials)

Posted: 08-28-2009, 02:18 AM

View 1 Replies!   View Related
General :: Code Compilation For ATOM Processor?
Just i need some clarification. Is there any different form compilation is for Intel ATOM processor? Its same like all other intel processors right? or it has any different type of compilation should be followed for Intel atom processor?

Posted: 01-19-2010, 04:21 AM

View 1 Replies!   View Related
General :: Code Compilation For ATOM Processor
Just I need some clarification. Is there any different form compilation is for Intel ATOM processor? Its same like all other intel processors right? Or it has any different type of compilation should be followed for Intel atom processor?

Posted: 01-19-2010

View 5 Replies!   View Related
Software :: Unrecoverable Fatal Error - Cannot Open File List
This morning when attempting to upgrade (aptitude update; followed by aptitude safe-upgrade) my system I started receiving the following error:

Preconfiguring packages ...
(Reading database ... dpkg: unrecoverable fatal error, aborting:
unable to open files list file for package `apache2-doc': Stale NFS file handle
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:

It doesn't seem to matter what repository I use or what particular package that I attempt to upgrade (all or just a single package). (In particular, apache2-doc is not even a package being upgraded, although it is installed on the system.) I have rebooted, run apt-get clean, run apt-get check, etc. to no avail. I am running a standard Debian (5.0.2/Lenny) desktop PC and am not running any NFS processes, client or server.

Posted: 09-06-2009, 01:05 PM

View 5 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved