<?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: Compiling SDL_gfx (2.0.17) on Visual Studio 2008 (VS9)</title>
	<atom:link href="http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/</link>
	<description></description>
	<lastBuildDate>Mon, 28 Dec 2009 11:28:49 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Skabus</title>
		<link>http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/comment-page-1/#comment-15222</link>
		<dc:creator>Skabus</dc:creator>
		<pubDate>Mon, 28 Dec 2009 11:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/#comment-15222</guid>
		<description>Thank you for this!

Help me a lot!


fR Skabus</description>
		<content:encoded><![CDATA[<p>Thank you for this!</p>
<p>Help me a lot!</p>
<p>fR Skabus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GoldenCage</title>
		<link>http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/comment-page-1/#comment-15208</link>
		<dc:creator>GoldenCage</dc:creator>
		<pubDate>Sat, 28 Nov 2009 19:27:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/#comment-15208</guid>
		<description>I had to add, “WIN32″ to the preprocessor definition list to get it to export the symbols to a lib. Thanks for this article it has been a great help and saved me a lot of time.</description>
		<content:encoded><![CDATA[<p>I had to add, “WIN32″ to the preprocessor definition list to get it to export the symbols to a lib. Thanks for this article it has been a great help and saved me a lot of time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devnetik &#187; SDL_gfx Libs und Header</title>
		<link>http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/comment-page-1/#comment-15196</link>
		<dc:creator>Devnetik &#187; SDL_gfx Libs und Header</dc:creator>
		<pubDate>Mon, 23 Mar 2009 20:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/#comment-15196</guid>
		<description>[...] Anleitung zum Compilen [...]</description>
		<content:encoded><![CDATA[<p>[...] Anleitung zum Compilen [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tobbez</title>
		<link>http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/comment-page-1/#comment-15190</link>
		<dc:creator>tobbez</dc:creator>
		<pubDate>Fri, 05 Dec 2008 02:09:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/#comment-15190</guid>
		<description>@Paul: You still have to setup the include and library paths for SDL properly, i.e. adding them in Tools -&gt; Options -&gt; Projects and Solutions -&gt; VC++ Directories.</description>
		<content:encoded><![CDATA[<p>@Paul: You still have to setup the include and library paths for SDL properly, i.e. adding them in Tools -> Options -> Projects and Solutions -> VC++ Directories.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/comment-page-1/#comment-15189</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Thu, 04 Dec 2008 21:56:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/#comment-15189</guid>
		<description>Thank you so much - you are a lifesaver.

You made a correct decision to upload the binaries, because i still get four compiler errors. (cannot open include file: &#039;SDL.h&#039;)

I think that&#039;s because it doesn&#039;t see SDL.lib</description>
		<content:encoded><![CDATA[<p>Thank you so much &#8211; you are a lifesaver.</p>
<p>You made a correct decision to upload the binaries, because i still get four compiler errors. (cannot open include file: &#8216;SDL.h&#8217;)</p>
<p>I think that&#8217;s because it doesn&#8217;t see SDL.lib</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/comment-page-1/#comment-15188</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 02 Dec 2008 15:36:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/#comment-15188</guid>
		<description>Amazing work, thanks.</description>
		<content:encoded><![CDATA[<p>Amazing work, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sweetlilmre</title>
		<link>http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/comment-page-1/#comment-15186</link>
		<dc:creator>sweetlilmre</dc:creator>
		<pubDate>Fri, 31 Oct 2008 13:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/#comment-15186</guid>
		<description>No offence, but your assumptions as to why this does not compile are completely incorrect.


point 2: the compile errors are NOT a result of the mentioned bug. C89 only allows variable declaration at the top of the function. If you hoist the vars it complains about to the top, the errors disappear.

e.g. in:

Uint8 drawoct = 0; // 0x00000000

It is the definition of the var drawoct at this point that causes the issue, move the definition to the top of the function and change above to:

drawoct = 0; // 0x00000000

Most of these errors are in arcColor() and easily fixable.

point 4: the project file can be fixed very simply by opening it in a text editor and deleting the references to &quot;..\..\..\Documents and Settings\James\Desktop\SDL_gfx-2.0.3\&quot; and making sure the vcproj is in the same dir as the source.

point 8: this is simply a typo, if you look carefully, the paramer is named &#039;ftl&#039; and the operand is named &#039;flt&#039;. Either change the param to flt, or the op to ftl and all is well.</description>
		<content:encoded><![CDATA[<p>No offence, but your assumptions as to why this does not compile are completely incorrect.</p>
<p>point 2: the compile errors are NOT a result of the mentioned bug. C89 only allows variable declaration at the top of the function. If you hoist the vars it complains about to the top, the errors disappear.</p>
<p>e.g. in:</p>
<p>Uint8 drawoct = 0; // 0&#215;00000000</p>
<p>It is the definition of the var drawoct at this point that causes the issue, move the definition to the top of the function and change above to:</p>
<p>drawoct = 0; // 0&#215;00000000</p>
<p>Most of these errors are in arcColor() and easily fixable.</p>
<p>point 4: the project file can be fixed very simply by opening it in a text editor and deleting the references to &#8220;..\..\..\Documents and Settings\James\Desktop\SDL_gfx-2.0.3\&#8221; and making sure the vcproj is in the same dir as the source.</p>
<p>point 8: this is simply a typo, if you look carefully, the paramer is named &#8216;ftl&#8217; and the operand is named &#8216;flt&#8217;. Either change the param to flt, or the op to ftl and all is well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PRIZRAK</title>
		<link>http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/comment-page-1/#comment-15185</link>
		<dc:creator>PRIZRAK</dc:creator>
		<pubDate>Sat, 18 Oct 2008 16:07:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/#comment-15185</guid>
		<description>Thank you very much!</description>
		<content:encoded><![CDATA[<p>Thank you very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Swiz</title>
		<link>http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/comment-page-1/#comment-15184</link>
		<dc:creator>Swiz</dc:creator>
		<pubDate>Sat, 11 Oct 2008 11:20:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/#comment-15184</guid>
		<description>If anyone cares, I tweaked the VC6 makefile to get it working using VC9 Express. It&#039;s built, but I&#039;ve not tested it yet. You&#039;ll need to change the include and lib defines, and still follow all the other steps (rename to cpp etc).

# This makefile will build an SDL_gfx.dll with Visual C
# It was made for VC6 on Windows 98
#
# nmake should build the lot.
# .dll file goes in your system directory
# .lib and the .h files go into the searchpath of you compiler
#
# Edit this:
LIBSDL=C:\dev\SDL-1.2.13\lib\sdl.lib
# Leave the rest

CFLAGS=-DBUILD_DLL -DWIN32 -IC:\dev\SDL-1.2.13\include

.cpp.obj:
	$(CC) $(CFLAGS) -I. $(CPPFLAGS) -c $(&lt;:/=\)
	
OBJS=SDL_framerate.obj SDL_gfxPrimitives.obj SDL_imageFilter.obj SDL_rotozoom.obj

SDL_gfx.dll: $(OBJS)	
	cl $(OBJS) /link /dll /out:$@ $(LIBSDL)

clean:
	del *.obj
	del *.lib
	del *.exp
	del *.dll</description>
		<content:encoded><![CDATA[<p>If anyone cares, I tweaked the VC6 makefile to get it working using VC9 Express. It&#8217;s built, but I&#8217;ve not tested it yet. You&#8217;ll need to change the include and lib defines, and still follow all the other steps (rename to cpp etc).</p>
<p># This makefile will build an SDL_gfx.dll with Visual C<br />
# It was made for VC6 on Windows 98<br />
#<br />
# nmake should build the lot.<br />
# .dll file goes in your system directory<br />
# .lib and the .h files go into the searchpath of you compiler<br />
#<br />
# Edit this:<br />
LIBSDL=C:\dev\SDL-1.2.13\lib\sdl.lib<br />
# Leave the rest</p>
<p>CFLAGS=-DBUILD_DLL -DWIN32 -IC:\dev\SDL-1.2.13\include</p>
<p>.cpp.obj:<br />
	$(CC) $(CFLAGS) -I. $(CPPFLAGS) -c $(&lt;:/=\)</p>
<p>OBJS=SDL_framerate.obj SDL_gfxPrimitives.obj SDL_imageFilter.obj SDL_rotozoom.obj</p>
<p>SDL_gfx.dll: $(OBJS)<br />
	cl $(OBJS) /link /dll /out:$@ $(LIBSDL)</p>
<p>clean:<br />
	del *.obj<br />
	del *.lib<br />
	del *.exp<br />
	del *.dll</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ande</title>
		<link>http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/comment-page-1/#comment-15183</link>
		<dc:creator>Ande</dc:creator>
		<pubDate>Sun, 05 Oct 2008 17:43:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ryara.net/2008/07/12/compiling-sdl_gfx-2017-on-visual-studio-2008-vs9/#comment-15183</guid>
		<description>Is there any place where I could download this newest DLL? It makes no sense everyone has to compile it by themselves.</description>
		<content:encoded><![CDATA[<p>Is there any place where I could download this newest DLL? It makes no sense everyone has to compile it by themselves.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
