<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Graphics.h in Linux for C and C++</title>
	<atom:link href="http://itsanimesh.com/2009/01/08/c_graphics_in_linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://itsanimesh.com/2009/01/08/c_graphics_in_linux/</link>
	<description>Tech Geek / FOSS Enthusiasts</description>
	<lastBuildDate>Mon, 21 May 2012 19:29:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: vj1207</title>
		<link>http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-362</link>
		<dc:creator>vj1207</dc:creator>
		<pubDate>Fri, 18 May 2012 10:21:33 +0000</pubDate>
		<guid isPermaLink="false">http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-362</guid>
		<description>please help how to execute kbhit() ??</description>
		<content:encoded><![CDATA[<p>please help how to execute kbhit() ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srichakradhar</title>
		<link>http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-355</link>
		<dc:creator>srichakradhar</dc:creator>
		<pubDate>Mon, 30 Apr 2012 15:16:20 +0000</pubDate>
		<guid isPermaLink="false">http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-355</guid>
		<description># gcc rectangle.c
/tmp/ccRtglXb.o: In function `main&#039;:
rectangle.c:(.text+0x2a): undefined reference to `initgraph&#039;
rectangle.c:(.text+0x39): undefined reference to `moveto&#039;
rectangle.c:(.text+0x52): undefined reference to `rectangle&#039;
rectangle.c:(.text+0x5c): undefined reference to `kbhit&#039;
rectangle.c:(.text+0x65): undefined reference to `closegraph&#039;
collect2: ld returned 1 exit status

I&#039;ve followed every instruction. What is the problem?
&#039;make install&#039; gave me the same thing as &quot;Juggernaut&quot; post!</description>
		<content:encoded><![CDATA[<p># gcc rectangle.c<br />
/tmp/ccRtglXb.o: In function `main&#8217;:<br />
rectangle.c:(.text+0x2a): undefined reference to `initgraph&#8217;<br />
rectangle.c:(.text+0&#215;39): undefined reference to `moveto&#8217;<br />
rectangle.c:(.text+0&#215;52): undefined reference to `rectangle&#8217;<br />
rectangle.c:(.text+0x5c): undefined reference to `kbhit&#8217;<br />
rectangle.c:(.text+0&#215;65): undefined reference to `closegraph&#8217;<br />
collect2: ld returned 1 exit status</p>
<p>I&#8217;ve followed every instruction. What is the problem?<br />
&#8216;make install&#8217; gave me the same thing as &#8220;Juggernaut&#8221; post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abodnya</title>
		<link>http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-353</link>
		<dc:creator>abodnya</dc:creator>
		<pubDate>Thu, 19 Apr 2012 13:12:50 +0000</pubDate>
		<guid isPermaLink="false">http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-353</guid>
		<description>Hey, people! If u want to use simple graphic for studing, better use svgalib and vgaga. They&#039;re better than this &quot;pornography&quot; with graphics.h and SDL. 

http://linux.die.net/man/7/svgalib
http://linux.die.net/man/7/vgagl

ALSO (THAT&#039;S INTERESTING)
If you&#039;re also studing Pascal and u are using Free Pascal, when u can use simple graphic in pascal, u use svgalib. I mean, graphics in Free Pascal (FPC) also consist of svgalib and vgagl. That means, you should better use SVGAlib and VGAGL than this graphics.h</description>
		<content:encoded><![CDATA[<p>Hey, people! If u want to use simple graphic for studing, better use svgalib and vgaga. They&#8217;re better than this &#8220;pornography&#8221; with graphics.h and SDL. </p>
<p><a href="http://linux.die.net/man/7/svgalib" rel="nofollow">http://linux.die.net/man/7/svgalib</a><br />
<a href="http://linux.die.net/man/7/vgagl" rel="nofollow">http://linux.die.net/man/7/vgagl</a></p>
<p>ALSO (THAT&#8217;S INTERESTING)<br />
If you&#8217;re also studing Pascal and u are using Free Pascal, when u can use simple graphic in pascal, u use svgalib. I mean, graphics in Free Pascal (FPC) also consist of svgalib and vgagl. That means, you should better use SVGAlib and VGAGL than this graphics.h</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Siddarth</title>
		<link>http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-352</link>
		<dc:creator>Siddarth</dc:creator>
		<pubDate>Sat, 14 Apr 2012 18:00:36 +0000</pubDate>
		<guid isPermaLink="false">http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-352</guid>
		<description>I am using UBUNTU 10.10

The libgraph got installed successfully, the program also compiles successfully but when try to execute the program, the graphical window just flickers and goes away, not giving me the time to analyze the output, where i am going wrong please help.:(</description>
		<content:encoded><![CDATA[<p>I am using UBUNTU 10.10</p>
<p>The libgraph got installed successfully, the program also compiles successfully but when try to execute the program, the graphical window just flickers and goes away, not giving me the time to analyze the output, where i am going wrong please help.:(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saurabh</title>
		<link>http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-344</link>
		<dc:creator>saurabh</dc:creator>
		<pubDate>Thu, 29 Mar 2012 04:15:01 +0000</pubDate>
		<guid isPermaLink="false">http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-344</guid>
		<description>make
make: *** No targets specified and no makefile found.  Stop.</description>
		<content:encoded><![CDATA[<p>make<br />
make: *** No targets specified and no makefile found.  Stop.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bharanidharan</title>
		<link>http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-340</link>
		<dc:creator>Bharanidharan</dc:creator>
		<pubDate>Wed, 14 Mar 2012 13:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-340</guid>
		<description>The thing is the following error is occuring,
In file included from /usr/local/include/graphics.h:31:0,
                 from test1.c:2,
                 from main.c:3:
/usr/include/unistd.h:441:21: error: conflicting types for ‘sleep’
test0.c:9:3: note: previous implicit declaration of ‘sleep’ was here</description>
		<content:encoded><![CDATA[<p>The thing is the following error is occuring,<br />
In file included from /usr/local/include/graphics.h:31:0,<br />
                 from test1.c:2,<br />
                 from main.c:3:<br />
/usr/include/unistd.h:441:21: error: conflicting types for ‘sleep’<br />
test0.c:9:3: note: previous implicit declaration of ‘sleep’ was here</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bharanidharan</title>
		<link>http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-339</link>
		<dc:creator>Bharanidharan</dc:creator>
		<pubDate>Wed, 14 Mar 2012 12:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-339</guid>
		<description>Thank You working well
And I&#039;d the solution to execute kbhit() too, 
Thanks a lot:)</description>
		<content:encoded><![CDATA[<p>Thank You working well<br />
And I&#8217;d the solution to execute kbhit() too,<br />
Thanks a lot:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pratik</title>
		<link>http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-334</link>
		<dc:creator>pratik</dc:creator>
		<pubDate>Sat, 03 Mar 2012 05:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-334</guid>
		<description>I installed all the packages successfully. I&#039;m using ubuntu 11.04
But when I ran and compiled a sample program, it gave the following message:

Unable to init SDL: Unable to open a console terminal

Please advise!

This is my code:
#include
#include
int main()
{
int gd= DETECT,gm;
initgraph(&amp;gd,&amp;gm,NULL);
line(50,50,200,200);
getch();
closegraph();
return 0;
}</description>
		<content:encoded><![CDATA[<p>I installed all the packages successfully. I&#8217;m using ubuntu 11.04<br />
But when I ran and compiled a sample program, it gave the following message:</p>
<p>Unable to init SDL: Unable to open a console terminal</p>
<p>Please advise!</p>
<p>This is my code:<br />
#include<br />
#include<br />
int main()<br />
{<br />
int gd= DETECT,gm;<br />
initgraph(&amp;gd,&amp;gm,NULL);<br />
line(50,50,200,200);<br />
getch();<br />
closegraph();<br />
return 0;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rohan</title>
		<link>http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-329</link>
		<dc:creator>rohan</dc:creator>
		<pubDate>Wed, 22 Feb 2012 06:09:18 +0000</pubDate>
		<guid isPermaLink="false">http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-329</guid>
		<description>well sir its not working properly from the first command..</description>
		<content:encoded><![CDATA[<p>well sir its not working properly from the first command..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hit9</title>
		<link>http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-328</link>
		<dc:creator>hit9</dc:creator>
		<pubDate>Thu, 16 Feb 2012 20:34:44 +0000</pubDate>
		<guid isPermaLink="false">http://itsanimesh.com/2009/01/08/c_graphics_in_linux/#comment-328</guid>
		<description>1.stdio stdlib needn&#039;t</description>
		<content:encoded><![CDATA[<p>1.stdio stdlib needn&#8217;t</p>
]]></content:encoded>
	</item>
</channel>
</rss>

