I am running turbo c++ IDE .I am doing some programs in graphics.
What i am currently doing is :
in ide i copy egavga.bgi to bin folder and give the path as "" in initgraph.
It is working except the program need the egavag.bgi file in the same directory.
**Then using bgiobj.exe i converted the egavga.bgi to egavga.obj and registered
it in graphics.lib using tlib.

compilation of my graphics.cpp is
(i included a line "registerbgidriver(EGAVGA_driver);" before initgraph.)

command line : TCC graphics.cpp graphics.lib egavga.obj
it worked fine .
but when i try to do it inside the IDE it is showing error (undefined _EGAVGA_driver).
What is the error ?