<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Excerpt | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/excerpt/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Thu, 25 Jun 2020 19:44:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>Excerpt | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>Publishing excerpts from my 2nd ebook</title>
		<link>https://learncgames.com/publishing-excerpts-from-my-2nd-ebook/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=publishing-excerpts-from-my-2nd-ebook</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Sun, 28 Jun 2020 23:00:35 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[SDL]]></category>
		<category><![CDATA[Excerpt]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=890</guid>

					<description><![CDATA[<p>I&#8217;m changing horses in midstream so this won&#8217;t appear as it&#8217;s been done so far. Rather than let it go to waste, I&#8217;ll be publishing it in parts here. My next book will be Learn C Games Programming on the Raspberry Pi. Installing SDL2 on Ubuntu/Debian The SDL2 library is an open source library available [&#8230;]</p>
The post <a href="https://learncgames.com/publishing-excerpts-from-my-2nd-ebook/">Publishing excerpts from my 2nd ebook</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignleft size-medium wp-image-388" src="https://learncgames.com/wp-content/uploads/2020/04/Learn-C-Games-Programming-for-Beginners-200x300.jpg" alt="learn C Games Book cover" width="200" height="300" srcset="https://learncgames.com/wp-content/uploads/2020/04/Learn-C-Games-Programming-for-Beginners-200x300.jpg 200w, https://learncgames.com/wp-content/uploads/2020/04/Learn-C-Games-Programming-for-Beginners-684x1024.jpg 684w, https://learncgames.com/wp-content/uploads/2020/04/Learn-C-Games-Programming-for-Beginners-768x1150.jpg 768w, https://learncgames.com/wp-content/uploads/2020/04/Learn-C-Games-Programming-for-Beginners-1026x1536.jpg 1026w, https://learncgames.com/wp-content/uploads/2020/04/Learn-C-Games-Programming-for-Beginners-1368x2048.jpg 1368w, https://learncgames.com/wp-content/uploads/2020/04/Learn-C-Games-Programming-for-Beginners-scaled.jpg 1710w" sizes="(max-width: 200px) 100vw, 200px" />I&#8217;m changing horses in midstream so this won&#8217;t appear as it&#8217;s been done so far. Rather than let it go to waste, I&#8217;ll be publishing it in parts here. My next book will be <em><strong>Learn C Games Programming on the Raspberry Pi.</strong></em></p>
<h2>Installing SDL2 on Ubuntu/Debian</h2>
<p>The SDL2 library is an open source library available from the libsdl.org website. However in Ubuntu it’s fairly easy to install. We do need not just the binary files but the headers so we can include them.<br />
On Ubuntu (and Debian system) the apt tool maintains a cache of files. You can search these from a terminal with this command.<br />
apt-cache search libsdl2<br />
On my PC this output.<br />
libsdl2-2.0-0 &#8211; Simple DirectMedia Layer<br />
libsdl2-dev &#8211; Simple DirectMedia Layer development files<br />
libsdl2-doc &#8211; Reference manual for libsdl2<br />
libsdl2-gfx-1.0-0 &#8211; drawing and graphical effects extension for SDL2<br />
libsdl2-gfx-dev &#8211; development files for SDL2_gfx<br />
libsdl2-gfx-doc &#8211; documentation files for SDL2_gfx<br />
libsdl2-image-2.0-0 &#8211; Image loading library for Simple DirectMedia Layer 2, libraries<br />
libsdl2-image-dev &#8211; Image loading library for Simple DirectMedia Layer 2, development files<br />
libsdl2-mixer-2.0-0 &#8211; Mixer library for Simple DirectMedia Layer 2, libraries<br />
libsdl2-mixer-dev &#8211; Mixer library for Simple DirectMedia Layer 2, development files<br />
libsdl2-net-2.0-0 &#8211; Network library for Simple DirectMedia Layer 2, libraries<br />
libsdl2-net-dev &#8211; Network library for Simple DirectMedia Layer 2, development files<br />
libsdl2-ttf-2.0-0 &#8211; TrueType Font library for Simple DirectMedia Layer 2, libraries<br />
libsdl2-ttf-dev &#8211; TrueType Font library for Simple DirectMedia Layer 2, development files</p>
<p>We’ll eventually need libsdl2, libsdl2-image for graphics support and libsdl2-mixer for sounds. We’ll also need libsdl2-dev so let’s start with that. Run this command . It will probably ask for your password.</p>
<pre>sudo apt-get install libsdl2-dev
</pre>
<p>That downloaded and installed 73 MB of files.   More to follow</p>The post <a href="https://learncgames.com/publishing-excerpts-from-my-2nd-ebook/">Publishing excerpts from my 2nd ebook</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">890</post-id>	</item>
	</channel>
</rss>
