September 13th, 2012, 04:11 AM
Linker error in graphic mode program
i am using turbo c compiler .when i put a graphic program the compiler showing linker error help me to overcome it...
September 13th, 2012, 04:17 AM
Maybe your compiler is incomplete or badly installed or configured.
Try to delete and reinstall.
September 13th, 2012, 07:13 AM
practice on new tools, Dev++, VS10, or other Turbo C is very is out.
September 13th, 2012, 08:47 AM
The linker messages are useful diagnostic aids. Since you have chosen not to tell us what the linker errors are we don't have that benefit.
The most likely issue is that you have not explicitly linked the necessary library - the Borland BGI library most likely - I doubt that it is linked by default.
September 13th, 2012, 08:48 AM
Dev-C++ has not been updated since 2005 - that is hardly a "new tool"!
Originally Posted by gurukrupa_1989
September 13th, 2012, 08:57 AM
If you do migrate to a modern 32 bit toolchain (and I strongly suggest that you do since your Turbo C is over 20 years old and entirely obsolete), you will find that the Borland BGI graphics library you are using is not available. A 32-bit GDI clone with useful enhancments for handling mouse input and variable size windows is available at WInBGIm. Although it is built for MinGW/GCC (as used by Code::Blocks, Dev-C++ and others), the source code can easily be built for other Windows tool-chains.