Previous in Forum: What Does This CNC Statement Mean?   Next in Forum: Graphics Card for TV
Close
Close
Close
3 comments
Rate Comments: Nested
Anonymous Poster

C++ Graphics

02/10/2009 5:11 AM

There is a common error while running the C graphics programs that the file egavga.bgi is missing when it is there in the bin\bgi directory. Can anyone please clarify the possible reason for this?

Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Panama - Member - New Member Hobbies - CNC - New Member Engineering Fields - Marine Engineering - New Member Engineering Fields - Retired Engineers / Mentors - New Member

Join Date: Dec 2006
Location: Panama
Posts: 4273
Good Answers: 213
#1

Re: C++ Graphics

02/10/2009 10:59 AM

I suspect the program was linked/compiled with a different path specification for libraries. Try copying the egavga.bgi file to the working directory- i.e., the directory in which you initialize the program...

Reply
Commentator

Join Date: Sep 2006
Location: Troy, NY
Posts: 86
Good Answers: 5
#2

Re: C++ Graphics

02/10/2009 11:18 AM

You may need to change where the root dir is defined, or where the program is looking for the BGI files.

Reply
Associate

Join Date: Sep 2008
Location: The Golden Land of India
Posts: 26
Good Answers: 2
#3

Re: C++ Graphics

02/11/2009 12:26 AM

You can solve this problem by two methods.

One is, you can change the path of graphic library. Select Option and then Directories in main menu. in graphic library text box, give the full path like <drive>:\ <dir>\bin\bgi

or the other option is to specify the full path in your source program where you are using the file name "egavga.bgi". Write the path in following manor,

"C:\\BorlandC\\bin\\bgi\\egavga.bgi"

__________________
Paras Desai
Reply
Reply to Forum Thread 3 comments
Copy to Clipboard

Users who posted comments:

coonj (1); cwarner7_11 (1); Paras Desai (1)

Previous in Forum: What Does This CNC Statement Mean?   Next in Forum: Graphics Card for TV

Advertisement