Link Error : Undefined Symbol for all C Graphics Programs

Hi Guys

Have my Computer Graphics Prac's on 28th of this month and BorlandC V3
aint working on all my comps [2 Desktop + Dads lappy]

I have used the same install earlier and it had worked fine.

Not only me many of my friends in college are facing the same issue.

I am not able to practice the programs.

My BGI folder has all the files i even added graphics.h file to all the folders
so that it could be found some where , I am really fed up and am finding no
solution to this problem.

I even specified the path properly as "C:\\BORLANDC\\BGI"

All my Graphics programs are getting compiled but none of them run they give
me a "Link Error and all the functions where i am using inbulit graphics funtions for eg putpixel etc.... i am getting an error called undefined symbol"

Please do let me know if there is any solution to this.

The same programs work in my college without any flaw.
 
Are the library paths specified correctly?

BTW there is a known error with these BGI thingies... I forget what, because I have as far as possible eschewed TC. For our CG we use VC++. Talk about overkill!!!

Anyway, if you copy paste the entire error line over, might be able to tell you something more.
 
In TC,
1) under the menu bar click on the "Options"
2) Linker -> Libraries
3) Check on "Graphics Library"

If its not checked it could be the issue.

Compile

See if this solves your problem.

Praveen
 
Yes, one has to enable the graphics library option before running a graphics program.

Quad, do remember the same as sometimes in practicals your codes donot work and the examiner looks out for students who know such stuff and probably give more marks also.
 
It's truly horrifying to see how the schools and colleges, and even universities,
are still using Borland/Turbo C++ compilers for DOS to teach programming in
21st century.

Someone please b**chslap those members of the educational boards.
 
Hey Quad if you have time....do not depend on the BGI graphics... instead try to come up with your own video adapter...
its easy...n interesting...

If you want to go on with BGI then you can try the "setrgbpalette" would help you little in 3D.

Or else go for separate graphics lib.... (all these if you have time)
 
Back
Top