473,383 Members | 1,805 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Linker Error: Undefined symbol _closegraph in module GRAPHEX.cpp

I get the above message 9 times when I'm trying to run my graphics
code. I get it for:

_closegraph
_outtextxy
_drawpoly
_sector
_line
_ellipse
_rectange
_circle
_initgraph

I do have the graphics.h properly included, and directed too and the .h
is in it's proper location. Any ideas?

Feb 10 '06 #1
5 19034
ni************@gmail.com wrote:
I get the above message 9 times when I'm trying to run my graphics
code. I get it for: I do have the graphics.h properly included, and directed too and the
.h is in it's proper location. Any ideas?


Header files don't provide implementation (usually). You are missing
one or more libraries that need to be included in your build. The
specific libraries and how they are included are off-topic here.

Brian

--
Please quote enough of the previous message for context. To do so from
Google, click "show options" and use the Reply shown in the expanded
header.
Feb 10 '06 #2
I have my graphics.lib and my Egavga.bgi both properly directed to in
C:\TC\LIB and C:\TC\BGI respectively. Stil the same error messages.
Have tried both on my Windows 95 laptop and WIndows XP pc. No help.

Feb 10 '06 #3
ni************@gmail.com wrote:
I get the above message 9 times when I'm trying to run my graphics
code. I get it for:

_closegraph
_outtextxy
_drawpoly
_sector
_line
_ellipse
_rectange
_circle
_initgraph

I do have the graphics.h properly included, and directed too and the .h
is in it's proper location. Any ideas?


Have you tried adding the library where all those functions are to the
linker command line? No, I don't know how to do that, and neither does
anyone else here. Please ask in the newsgroup dedicated to your compiler.

V
--
Please remove capital As from my address when replying by mail
Feb 10 '06 #4
ni************@gmail.com wrote:
I have my graphics.lib and my Egavga.bgi both properly directed to in
C:\TC\LIB and C:\TC\BGI respectively. Stil the same error messages.
Have tried both on my Windows 95 laptop and WIndows XP pc. No help.


Did you miss the part about it being off-topic here? You need a
newsgroup dedicated to your platform, looks like something in the
Borland hierarchy. Also read the info in my .sig below.

Brian

--
Please quote enough of the previous message for context. To do so from
Google, click "show options" and use the Reply shown in the expanded
header.
Feb 10 '06 #5
Go to
Options
=>Linker
=>Libraries

This will display a box showing
[ ] Container Class
[ ] Turbo Version
[ ] Graphics Library
[ ] Standard Run Time

Press Alt G
Press Alt K
Then do the compilation.
That time it will work
Jun 28 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: el prinCipante | last post by:
I am a total novice. And granted this probably is a very simple question, it still stops me from finishing my thesis. Thanks in advance for any postings. I am using a library routine and...
3
by: nkrisraj | last post by:
Hi, I defined a simple method, getRecsize() inside one of the classes, Class RateRec as shown below. class RateRec { public: size_t getRecSize(void) const; ......
1
by: developer | last post by:
Hi All I have made a .NET project. the files included are borland c++ files that i am migrate to VC++ .NET I am using Microsoft Visual C++ .NET 2003. the compilation goes through properly,...
0
by: Ehsan68 | last post by:
Hello my problem is "Linker Error: Undefined symbol _cga_driver_far in module maze.c " then Go to Options =>Linker =>Libraries This will display a box showing Container Class Turbo...
1
by: vsen123 | last post by:
Hi, I wanted to use multiple source files for one program.I created a file "key.h" as follows: #ifndef KEY_H #define KEY_H class Inputk { int hkey; char Kuser; protected: int Key;
4
by: srini4vasan | last post by:
Hi, I wrote a small socket program in C++ using unix machine. Compiler CC. It is asking some library file or linker file Could you please send the library files or linker files for following...
1
by: varun sharma | last post by:
I have an error msg when i try to run my program can anybody help me why this error msg come & what mean by "c0.ASM" I have no file like this & can anybody explain how to find "Linker Error" I mean...
6
by: Ed Dana | last post by:
I'm trying to create a dynamic two dimensional array. My code looks like this: ====================================================================== #define DEF_FrameBuffer_H class FrameBuffer...
3
by: Rahul | last post by:
Hi Everyone, I have the following polymorphic classes, class Shape { public : virtual void draw() { } virtual void sample();
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.