hi to all, I've centos7.5 in VM. i installed SDL_bgi in my system for graphics programming. I coded following in IDE.
Code:
#include <graphics.h>
#include <iostream>
int main(int argc, char ** argv)
{
int gd = DETECT, gm;
initgraph(&gd, &gm, NULL);
circle(50, 50, 30);
delay(500000);
closegraph();
return 0;
}
output in C::B is fine displays a circle.
but when i ran in command prompt shows this error :-
Code:
[rahul@centos7client Release]$ ./cbs
The font has not been loaded!
how to solve this. pleae help.