Login | Register

Previous in Forum: AVR Microcontroller   Next in Forum: Graphics Card for TV
Close

Comments Format:






Close

Subscribe to Discussion:

CR4 allows you to "subscribe" to a discussion
so that you can be notified of new comments to
the discussion via email.

Close

Rating Vote:







3 comments
Guest

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?

Send to a friend Digg this Add to del.icio.us
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: 1627
Good Answers: 72
#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...

Commentator

Join Date: Sep 2006
Location: Troy, NY
Posts: 81
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.

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
3 comments
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Copy to Clipboard

Users who posted comments:

coonj (1), cwarner7_11 (1), Paras Desai (1)

Previous in Forum: AVR Microcontroller   Next in Forum: Graphics Card for TV
You might be interested in: Office, Graphic Art and Library Products and Supplies, Programmable Logic Controllers (PLCs), Graphic Design Services