开发者

graphics.h programs not running in Dosbox Windows 7 environment

I have installed Dosbox to run Turbo C in it. But my 开发者_开发问答graphics.h programs are not executing in it. I am getting Linker Error which says"Undefined sumbol initgraph in module..." and so on.


The problem you are facing is quite simple to solve.

Open your Turboc IDE

Click on options click on linker click on libraries mark the graphics option(a cross mark usually) now run.


You are not linking the required graphics library. It has been quite a while since I last used Turbo C, but if I remember correctly, you can simply configure the toolchain to link the graphics lib in the linker options which are easily accessible from the Turbo C "IDE".


If You are getting Error in Windows XP that Undefined symbol initgraph in module then follow the Steps :

  1. Go to Console

  2. Go to Options

  3. Go to Linker

  4. Go to Libraries

  5. Make "X" Mark on Graphics Library

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜