Linker Error: Undefined symbol _closegraph in module GRAPHEX.cpp

N

nicholas.fodor

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?
 
D

Default User

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
 
N

nicholas.fodor

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.
 
V

Victor Bazarov

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
 
D

Default User

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top