<?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: 5. Terrain Textures</title>
	<atom:link href="http://www.swiftless.com/tutorials/terrain/5_textures.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.swiftless.com/tutorials/terrain/5_textures.html</link>
	<description>Game Programming and Computer Graphics Tutorials</description>
	<lastBuildDate>Wed, 01 Feb 2012 09:19:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Swiftless</title>
		<link>http://www.swiftless.com/tutorials/terrain/5_textures.html/comment-page-1#comment-727</link>
		<dc:creator>Swiftless</dc:creator>
		<pubDate>Tue, 18 May 2010 02:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://swiftless.com/wordpress/?p=260#comment-727</guid>
		<description>Hey,

If you are having problems with libjpeg, make sure you download and include the jpeg.h and jpeg.cpp files above, I forgot to add them into the code sections and they are required as they are the interface between the application and libjpeg.

If you are still having problems with libjpeg specifically, I will refer you to http://www.ijg.org/ where there are newer versions.

I didn&#039;t have any problems placing the libjpeg library and headers into my compiler directories (Windows with Visual Studio), and getting everything to run.

@Toychickenofthinking, If it cannot open the include file, then you either have it in the wrong directory, or are not referencing it correctly in jpeg.h.

Cheers,
Swiftless</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>If you are having problems with libjpeg, make sure you download and include the jpeg.h and jpeg.cpp files above, I forgot to add them into the code sections and they are required as they are the interface between the application and libjpeg.</p>
<p>If you are still having problems with libjpeg specifically, I will refer you to <a href="http://www.ijg.org/"  rel="nofollow">http://www.ijg.org/</a> where there are newer versions.</p>
<p>I didn&#8217;t have any problems placing the libjpeg library and headers into my compiler directories (Windows with Visual Studio), and getting everything to run.</p>
<p>@Toychickenofthinking, If it cannot open the include file, then you either have it in the wrong directory, or are not referencing it correctly in jpeg.h.</p>
<p>Cheers,<br />
Swiftless</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oz</title>
		<link>http://www.swiftless.com/tutorials/terrain/5_textures.html/comment-page-1#comment-726</link>
		<dc:creator>Oz</dc:creator>
		<pubDate>Mon, 17 May 2010 05:09:21 +0000</pubDate>
		<guid isPermaLink="false">http://swiftless.com/wordpress/?p=260#comment-726</guid>
		<description>oh finally, i tried other format (TGA) and it is run</description>
		<content:encoded><![CDATA[<p>oh finally, i tried other format (TGA) and it is run</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oz</title>
		<link>http://www.swiftless.com/tutorials/terrain/5_textures.html/comment-page-1#comment-725</link>
		<dc:creator>Oz</dc:creator>
		<pubDate>Sun, 16 May 2010 18:57:42 +0000</pubDate>
		<guid isPermaLink="false">http://swiftless.com/wordpress/?p=260#comment-725</guid>
		<description>Hi, i&#039;m still newbie on opengl. Btw, after following your tutorial i experienced compile error with jpeglib. I can&#039;t solve it, can you help me identify what actually happened?


Compiler: Default compiler
Building Makefile: &quot;C:\Users\Oscar\Documents\Tugas\Grafkom\FinalProject\Makefile.win&quot;
Executing  make...
make.exe -f &quot;C:\Users\Oscar\Documents\Tugas\Grafkom\FinalProject\Makefile.win&quot; all
g++.exe -c heightfield.cpp -o heightfield.o -I&quot;C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include&quot;  -I&quot;C:/Dev-Cpp/include/c++/3.4.2/backward&quot;  -I&quot;C:/Dev-Cpp/include/c++/3.4.2/mingw32&quot;  -I&quot;C:/Dev-Cpp/include/c++/3.4.2&quot;  -I&quot;C:/Dev-Cpp/include&quot;   

In file included from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:31,
                 from C:/Dev-Cpp/include/jpeglib.h:41,
                 from jpeg.h:1,
                 from heightfield.cpp:3:
C:/Dev-Cpp/include/c++/3.4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the  header for the  header for C++ includes, or  instead of the deprecated header . To disable this warning use -Wno-deprecated.
In file included from jpeg.h:1,
                 from heightfield.cpp:3:
C:/Dev-Cpp/include/jpeglib.h:630: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:646: error: `boolean&#039; does not name a type

C:/Dev-Cpp/include/jpeglib.h:696: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:790: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:806: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:857: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:858: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:859: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:860: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:874: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:884: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:900: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:950: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:974: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:975: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:978: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:979: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:981: error: `boolean&#039; does not name a type

C:/Dev-Cpp/include/jpeglib.h:984: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:987: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:988: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:989: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:1076: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:1077: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:1088: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:1095: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:1098: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:1256: error: ISO C++ forbids declaration of `boolean&#039; with no type
C:/Dev-Cpp/include/jpeglib.h:1256: error: expected `;&#039; before &#039;(&#039; token

C:/Dev-Cpp/include/jpeglib.h:1267: error: `boolean&#039; does not name a type
C:/Dev-Cpp/include/jpeglib.h:1273: error: ISO C++ forbids declaration of `boolean&#039; with no type
C:/Dev-Cpp/include/jpeglib.h:1273: error: expected `;&#039; before &#039;(&#039; token
C:/Dev-Cpp/include/jpeglib.h:1275: error: ISO C++ forbids declaration of `boolean&#039; with no type
C:/Dev-Cpp/include/jpeglib.h:1275: error: expected `;&#039; before &#039;(&#039; token
C:/Dev-Cpp/include/jpeglib.h:1311: error: `boolean&#039; has not been declared
C:/Dev-Cpp/include/jpeglib.h:1311: error: ISO C++ forbids declaration of `pre_zero&#039; with no type
C:/Dev-Cpp/include/jpeglib.h:1317: error: `boolean&#039; has not been declared
C:/Dev-Cpp/include/jpeglib.h:1317: error: ISO C++ forbids declaration of `pre_zero&#039; with no type
C:/Dev-Cpp/include/jpeglib.h:1324: error: `boolean&#039; has not been declared
C:/Dev-Cpp/include/jpeglib.h:1324: error: ISO C++ forbids declaration of `writable&#039; with no type
C:/Dev-Cpp/include/jpeglib.h:1329: error: `boolean&#039; has not been declared

C:/Dev-Cpp/include/jpeglib.h:1329: error: ISO C++ forbids declaration of `writable&#039; with no type
C:/Dev-Cpp/include/jpeglib.h:1352: error: ISO C++ forbids declaration of `boolean&#039; with no type
C:/Dev-Cpp/include/jpeglib.h:1352: error: typedef `boolean&#039; is initialized (use __typeof__ instead)
C:/Dev-Cpp/include/jpeglib.h:1352: error: `jpeg_marker_parser_method&#039; was not declared in this scope
C:/Dev-Cpp/include/jpeglib.h:1352: error: expected `,&#039; or `;&#039; before &#039;(&#039; token
C:/Dev-Cpp/include/jpeglib.h:1554: error: `jpeg_marker_parser_method&#039; has not been declared
C:/Dev-Cpp/include/jpeglib.h:1554: error: ISO C++ forbids declaration of `routine&#039; with no type

make.exe: *** [heightfield.o] Error 1

Execution terminated</description>
		<content:encoded><![CDATA[<p>Hi, i&#8217;m still newbie on opengl. Btw, after following your tutorial i experienced compile error with jpeglib. I can&#8217;t solve it, can you help me identify what actually happened?</p>
<p>Compiler: Default compiler<br />
Building Makefile: &#8220;C:\Users\Oscar\Documents\Tugas\Grafkom\FinalProject\Makefile.win&#8221;<br />
Executing  make&#8230;<br />
make.exe -f &#8220;C:\Users\Oscar\Documents\Tugas\Grafkom\FinalProject\Makefile.win&#8221; all<br />
g++.exe -c heightfield.cpp -o heightfield.o -I&#8221;C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include&#8221;  -I&#8221;C:/Dev-Cpp/include/c++/3.4.2/backward&#8221;  -I&#8221;C:/Dev-Cpp/include/c++/3.4.2/mingw32&#8243;  -I&#8221;C:/Dev-Cpp/include/c++/3.4.2&#8243;  -I&#8221;C:/Dev-Cpp/include&#8221;   </p>
<p>In file included from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:31,<br />
                 from C:/Dev-Cpp/include/jpeglib.h:41,<br />
                 from jpeg.h:1,<br />
                 from heightfield.cpp:3:<br />
C:/Dev-Cpp/include/c++/3.4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the  header for the  header for C++ includes, or  instead of the deprecated header . To disable this warning use -Wno-deprecated.<br />
In file included from jpeg.h:1,<br />
                 from heightfield.cpp:3:<br />
C:/Dev-Cpp/include/jpeglib.h:630: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:646: error: `boolean&#8217; does not name a type</p>
<p>C:/Dev-Cpp/include/jpeglib.h:696: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:790: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:806: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:857: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:858: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:859: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:860: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:874: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:884: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:900: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:950: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:974: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:975: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:978: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:979: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:981: error: `boolean&#8217; does not name a type</p>
<p>C:/Dev-Cpp/include/jpeglib.h:984: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:987: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:988: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:989: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:1076: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:1077: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:1088: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:1095: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:1098: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:1256: error: ISO C++ forbids declaration of `boolean&#8217; with no type<br />
C:/Dev-Cpp/include/jpeglib.h:1256: error: expected `;&#8217; before &#8216;(&#8216; token</p>
<p>C:/Dev-Cpp/include/jpeglib.h:1267: error: `boolean&#8217; does not name a type<br />
C:/Dev-Cpp/include/jpeglib.h:1273: error: ISO C++ forbids declaration of `boolean&#8217; with no type<br />
C:/Dev-Cpp/include/jpeglib.h:1273: error: expected `;&#8217; before &#8216;(&#8216; token<br />
C:/Dev-Cpp/include/jpeglib.h:1275: error: ISO C++ forbids declaration of `boolean&#8217; with no type<br />
C:/Dev-Cpp/include/jpeglib.h:1275: error: expected `;&#8217; before &#8216;(&#8216; token<br />
C:/Dev-Cpp/include/jpeglib.h:1311: error: `boolean&#8217; has not been declared<br />
C:/Dev-Cpp/include/jpeglib.h:1311: error: ISO C++ forbids declaration of `pre_zero&#8217; with no type<br />
C:/Dev-Cpp/include/jpeglib.h:1317: error: `boolean&#8217; has not been declared<br />
C:/Dev-Cpp/include/jpeglib.h:1317: error: ISO C++ forbids declaration of `pre_zero&#8217; with no type<br />
C:/Dev-Cpp/include/jpeglib.h:1324: error: `boolean&#8217; has not been declared<br />
C:/Dev-Cpp/include/jpeglib.h:1324: error: ISO C++ forbids declaration of `writable&#8217; with no type<br />
C:/Dev-Cpp/include/jpeglib.h:1329: error: `boolean&#8217; has not been declared</p>
<p>C:/Dev-Cpp/include/jpeglib.h:1329: error: ISO C++ forbids declaration of `writable&#8217; with no type<br />
C:/Dev-Cpp/include/jpeglib.h:1352: error: ISO C++ forbids declaration of `boolean&#8217; with no type<br />
C:/Dev-Cpp/include/jpeglib.h:1352: error: typedef `boolean&#8217; is initialized (use __typeof__ instead)<br />
C:/Dev-Cpp/include/jpeglib.h:1352: error: `jpeg_marker_parser_method&#8217; was not declared in this scope<br />
C:/Dev-Cpp/include/jpeglib.h:1352: error: expected `,&#8217; or `;&#8217; before &#8216;(&#8216; token<br />
C:/Dev-Cpp/include/jpeglib.h:1554: error: `jpeg_marker_parser_method&#8217; has not been declared<br />
C:/Dev-Cpp/include/jpeglib.h:1554: error: ISO C++ forbids declaration of `routine&#8217; with no type</p>
<p>make.exe: *** [heightfield.o] Error 1</p>
<p>Execution terminated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: toychickenofthinking</title>
		<link>http://www.swiftless.com/tutorials/terrain/5_textures.html/comment-page-1#comment-724</link>
		<dc:creator>toychickenofthinking</dc:creator>
		<pubDate>Sun, 16 May 2010 14:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://swiftless.com/wordpress/?p=260#comment-724</guid>
		<description>Awesome tutorial, just like your OpenGL tutorials :) I couldn&#039;t figure out what to do with the jpeglib.zip file. I inserted the header and library into the project file -also tried to add them to the VC/include/GL, and lib sections- but I keep getting the error &quot;Cannot open include file: &#039;jpeglib.h&#039;: No such file or directory.&quot; how can I solve this ? Thanks.</description>
		<content:encoded><![CDATA[<p>Awesome tutorial, just like your OpenGL tutorials <img src='http://www.swiftless.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I couldn&#8217;t figure out what to do with the jpeglib.zip file. I inserted the header and library into the project file -also tried to add them to the VC/include/GL, and lib sections- but I keep getting the error &#8220;Cannot open include file: &#8216;jpeglib.h&#8217;: No such file or directory.&#8221; how can I solve this ? Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

