Turbo C enhanced graphics
Turbo C enhanced graphics
(OP)
I´m trying to modify a demo for a comunication of a pc with an anesthesic monitor, but Turbo C 3.0 won't create the .exe file, it shows this kind of errors:
Linker Error: Undefined symbol _IBM8514_driver in module mod.c
I´ve tried to correct it by creating the drivers objects (IBGOBJ) and adding them to the graphics library (TLIB) but it did´nt work... the questions are:
1)How can I correct the error?
or
2)Should I enhance my graphics library? would that help? how can I do that? (the thing is that the demo suggest to be compiled in an enhanced graphics turboc an I don´t have one)Is there any place where I could get the enhancement for free?
Thank you for your help,
I really need it and apreciate it
Linker Error: Undefined symbol _IBM8514_driver in module mod.c

I´ve tried to correct it by creating the drivers objects (IBGOBJ) and adding them to the graphics library (TLIB) but it did´nt work... the questions are:
1)How can I correct the error?
or
2)Should I enhance my graphics library? would that help? how can I do that? (the thing is that the demo suggest to be compiled in an enhanced graphics turboc an I don´t have one)Is there any place where I could get the enhancement for free?
Thank you for your help,

I really need it and apreciate it





RE: Turbo C enhanced graphics
TTFN
RE: Turbo C enhanced graphics
RE: Turbo C enhanced graphics
TTFN
RE: Turbo C enhanced graphics
#include <graphics.h>
if (registerbgidriver(IBM8514_driver) < 0)exit (1);
... register fonts also... and then
initgraph (&int_driver, &int_mode, "");
int_error = graphresult();
if (int_error < 0)
{
printf("Initgraph failed: %s.\n", grapherrormsg(int_error));
exit(1);
}
/*init graph succesful */
.
.
before that you should check that IBM8514.bgi could be found by compiler/linker.
You could convert them and link them directly to your combiled binary.
as follows...
bgiobj IBM8514 (driver)
bgiobj litt (font)
bgiobj sans
IBM8514.obj, litt.obj and sans.obj is generated, then
tlib graphics +ibm8514 +litt +sans
tcc niftgraf graphics.lib ibm8514.obj litt.obj sans.obj
Regards
Benkku