
sample If you get following screen then my job is done. Initgraph(&gd,&gm,NULL) Here is a sample program to test it's working or not. Initgraph(&gd,&gm,"c:\\tc\\bgi") >In Ubuntu instead of " c:\\tc\\bgi " write NULL To do that add #include in your C program. Now Ubuntu is ready to run graphics program. configure sudo make sudo make install sudo cp /usr/local/lib/libgraph.* /usr/lib



Right click on it and select "Extract Here". Run the command: sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-1.8 guile-1.8-dev libsdl1.2debian libart-2.0-dev libaudiofile-dev libesd0-dev libdirectfb-dev libdirectfb-extra libfreetype6-dev libxext-dev x11proto-xext-dev libfreetype6 libaa1 libaa1-dev libslang2-dev libasound2 libasound2-devĬopy libgraph-1.0.2.tar.gz to your home folder.
