Error while including libraries


 
Thread Tools Search this Thread
Top Forums Programming Error while including libraries
# 1  
Old 02-03-2010
CPU & Memory Error while including libraries

Hi All,

When i am trying to include graphics.h ,dos.h and conio.h, its giving error as follows:

pgm.c:2:17: dos.h: No such file or directory
pgm.c:3:22: graphics.h: No such file or directory
pgm.c:4:19: conio.h: No such file or directory

Whereas stdio.h, stdlib.h and time.h gets included.

What could be the reason for this. And how can it be resolved.
# 2  
Old 02-03-2010
Which OS, which compiler? If it a UNIX, you're out of luck anyways, as dos.h, conio.h, and graphics.h are MS specific headers, found only on DOS and newer.
# 3  
Old 02-03-2010
Quote:
Originally Posted by pludi
Which OS, which compiler? If it a UNIX, you're out of luck anyways, as dos.h, conio.h, and graphics.h are MS specific headers
Sometimes Borland has them.
# 4  
Old 02-03-2010
Quote:
Originally Posted by Corona688
Sometimes Borland has them.
But since there are no Borland compilers for UNIX, the result is pretty much the same.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Configure: error: X Window system libraries and header files are required

I am trying to compile thunar 1.8.4. It is giving me this error. configure: error: X Window system libraries and header files are required Ubuntu Mate 18.04 (2 Replies)
Discussion started by: drew77
2 Replies

2. Shell Programming and Scripting

Getting error while including values in xml tags using shell script

Hi All, Please find the code below where I want to add the variable value in between the XML tags. I am taking one string and my goal is to put them between the xml tags. Ex : in between <name> , <lname> Kindly suggest a correction because while executing this script I am getting and... (8 Replies)
Discussion started by: rajneesh4U
8 Replies

3. Programming

Error while loading shared libraries

I am trying to run a C++ program which uses a static library libprun.a. During compilation, I am loading this library file using a environment variable as below. LIBDIR = ${CUSTOM_PATH}/lib LOADLIBS = $(LIBDIR)/libgqlcomm.a \ $(LIBDIR)/libgsml.a \ ... (7 Replies)
Discussion started by: vdivb
7 Replies

4. UNIX for Dummies Questions & Answers

Error while loading shared libraries

Hello, I am trying to run a program from my local account and receive the following error: /local/app: error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory On the root account (which I DO NOT have access to), I see that libtiff.so.4... (3 Replies)
Discussion started by: bphqk3
3 Replies

5. Linux

xz: error while loading shared libraries: liblzma.so.5

Help! I'm busy working on MySQL replication for the site and trying to unzip this bind-geodns xz file on Linux (ubuntu) and am having some problems. http://distro.ibiblio.org/pub/linux/distributions/archlinux/community/os/i686/bind-geodns-9.4.1-4-i686.pkg.tar.xz Could anyone kindly unzip... (4 Replies)
Discussion started by: Neo
4 Replies

6. Ubuntu

error while loading shared libraries: libxerces-c.so.28

Hi, Can any one help me ,how to rectify the below problem?........ "error while loading shared libraries: libxerces-c.so.28: cannot open shared object file: No such file or directory" Im using "ubuntu 10.04" (64 bit) (0 Replies)
Discussion started by: kavi.mogu
0 Replies

7. Solaris

Error opening PAM libraries : solaris 10 on vmware workstation

Hi Admins, I am facing an issue with Solaris 10 sitting on vmware workstation... When I start it, it gives me an error : "Error opening PAM libraries, contact system administrator" Also I can reach it via putty, but none of the id/passwd working. I did revert pam.conf. But still no... (2 Replies)
Discussion started by: snchaudhari2
2 Replies

8. Shell Programming and Scripting

including libraries in Makefile.am

hi, I have the following code in my Makefile.am that works fine for simple programs: bin_PROGRAMS=test test_SOURCES=test.cpp so, when I run 'make test', it runs the following command: g++ -o test test.cpp however, when I tried to run a program that includes the QuantLib library, I have to... (12 Replies)
Discussion started by: bacpp
12 Replies

9. Solaris

Symbol reference error for same code & libraries but compiled in different environmen

Hi All, I am having a code written in C++.First I build this code on SUN 5.10.It was built successfully.Following is the log when build was successful. -L/apps/compilers/SUNWspro/lib -lm -lsunmath \ -o App ld: warning: symbol `clog' has differing types: (file... (0 Replies)
Discussion started by: milindb
0 Replies

10. Programming

Error different when including a printf

Hi I am trying to debug a code by including prinf . TO some extended it shows error at one point . If i include an extra printf it is showing at different point . Can anybody please let em know why it is happening .. Thaks, Arun (1 Reply)
Discussion started by: arunkumar_mca
1 Replies
Login or Register to Ask a Question