Dev C++ Stdio.h No Such File Or Directory

Log In Sign Up Read Contribute Search. Forum Categories. 'error: iostream: no such file or directory' and other errors. Programming Forum. Winscard.h no such file or directory in dev c; no such file or directory found for include windows.h; Fatal error: iostream: No such file.

I am writing a c++ code (or any sort of code for that matter) after one complete year. And yet I don't think I could have become so bad that I can't make a Hello World program. Still, here I am with so many errors.

Here's the code:-

Stdio.h

Here are the errors I am getting :-

C:Documents and Settingsjay mata diMy Documentsc++hello.c|1|error: iostream.h: No such file or directory|
C:Documents and Settingsjay mata diMy Documentsc++hello.c|3|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'namespace'|
C:Documents and Settingsjay mata diMy Documentsc++hello.c||In function 'main':|
C:Documents and Settingsjay mata diMy Documentsc++hello.c|7|error: 'cout' undeclared (first use in this function)|
C:Documents and Settingsjay mata diMy Documentsc++hello.c|7|error: (Each undeclared identifier is reported only once|
C:Documents and Settingsjay mata diMy Documentsc++hello.c|7|error: for each function it appears in.)|
|| Build finished: 5 errors, 0 warnings |

I guess the problem's with the compiler or my computer (I am using codeblocks.) I ran the program online. It ran just fine. How can I rectify it?

  • 4 Contributors
  • forum 8 Replies
  • 1,957 Views
  • 1 Year Discussion Span
  • commentLatest Postby pc75Latest Post

mrnutty761

Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments

commented Oct 18, 2018

Hi there,

I am trying to use alpine-pkg-glibc instead of libc-dev but I am running into some problems while trying to install DPDK.
I am performing following steps:

  1. docker pull alpine
  2. docker run -it alpine /bin/sh
  3. apk add --no-cache make gcc linux-headers bsd-compat-headers binutils coreutils diffutils gettext bash grep sed texinfo perl
  4. apk add numactl-dev --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
  5. apk --no-cache add ca-certificates wget
  6. wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
  7. wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.28-r0/glibc-2.28-r0.apk
  8. apk add glibc-2.28-r0.apk
  9. wget https://git.dpdk.org/dpdk-stable/snapshot/dpdk-stable-16.11.8.tar.gz
  10. tar -xzf dpdk-stable-16.11.8.tar.gz
  11. cd dpdk-stable-16.11.8
  12. make install T=x86_64-native-linuxapp-gcc

And the error I get:

/dpdk-stable-16.11.8/lib/librte_eal/linuxapp/eal/eal.c:35:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>

I changed LD_LIBRARY_PATH: export LD_LIBRARY_PATH=/usr/glibc-compat/lib:$LD_LIBRARY_PATH but it is not working either.

I also tried setting rpath: make install T=x86_64-native-linuxapp-gcc -Wl,-rpath=/usr/glibc-compat/lib but it is not working.

Now I see there is no /usr/glibc-compat/sbin/ldconfig. Why is that so?

Dev C++ Stdio.h No Such File Or Directory Online

changed the titleMissing header files in `/usr/include`Oct 18, 2018

Dev C Stdio.h No Such File Or Directory Mint

changed the titleMissing header files in /usr/include/Oct 18, 2018

Dev C++ Stdio.h No Such File Or Directory Free

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment