Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

graphics.h error

0 views
Skip to first unread message

Bart DS

unread,
Mar 5, 1999, 3:00:00 AM3/5/99
to
hello

this problem is whith borland c++ 5.01.

when i try to make an exe out of a program using graphics.h i get
strange errors. This also happens whith example programs like
barchart.c (in dir /examples/dos/)

compiling these programs doesnt give any error.

the errors are:
(1,1):Undefined symbol _closegraph in module .../barchart.c
(1,1):Undefined symbol _bar3d in ...
for every different graph function i use i get this kind of error.

i must have an option set wrongly or something but i have no clue what
i have to do...

thx for reading this


Wayne A. King

unread,
Mar 5, 1999, 3:00:00 AM3/5/99
to
On Fri, 05 Mar 1999 17:54:27 +0100, Bart DS <bart.de....@pandora.be>
wrote:

>whith borland c++ 5.01.
>when i try to make an exe out of a program using graphics.h i get
>strange errors.

>(1,1):Undefined symbol _closegraph in module .../barchart.c
>(1,1):Undefined symbol _bar3d in ...

Assuming that you've set the Target to "application [.exe]" and the
Platform to DOS, look under the Libraries section of the Target Expert
pane and make sure that "BGI" is checked.

--
Wayne A. King
(ba...@torfree.net, wayne...@ablelink.org,
wak...@idirect.com, Wayne_...@compuserve.com)

0 new messages