<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Sat May 18, 2013 3:24 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Sat May 18, 2013 3:24 pm</pubDate>
  <lastBuildDate>Sat May 18, 2013 3:24 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>SDL Not working on x86_64 :-(</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=95794#95794</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=22192'&gt;euphogeeza&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Dec 23, 2010 2:14 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I thought I must be doing something wrong. I checked, double checked, deleted and re-wrote code. Aaghh!  &lt;img src=&quot;images/smiles/icon_cry.gif&quot; alt=&quot;Crying or Very sad&quot; border=&quot;0&quot; /&gt; &lt;br /&gt;
&lt;br /&gt;
I'm running OpenSUSE 11.2 Emerald 2.6.31.14-0.4-desktop SMP PREEMPT x86_64. &lt;br /&gt;
&lt;br /&gt;
Does anyone know if there is a fix for 64 bit O/S?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=95794#95794</comments>
                                        <author>euphogeeza</author>
                                        <pubDate>Thu Dec 23, 2010 2:14 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=95794#95794</guid>
                                      </item>
                                      <item>
                                        <title>Re: Coding Academy - Project 4 Question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=95280#95280</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=130'&gt;Ram&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Nov 30, 2010 1:11 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;amos wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;I'm having exactly the same problem on Debian amd64. Has anyone come up with a solution or a work around?&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
As far as I know there's a bug in SDL when running 64 bit OS which causes a blank/black screen. No idea if it's been resolved or not. &lt;br /&gt;
&lt;br /&gt;
All the SDL stuff from the academy I did, I ended up doing on 32 bit Ubuntu.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=95280#95280</comments>
                                        <author>Ram</author>
                                        <pubDate>Tue Nov 30, 2010 1:11 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=95280#95280</guid>
                                      </item>
                                      <item>
                                        <title>Re: Coding Academy - Project 4 Question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=95273#95273</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=2194'&gt;amos&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Nov 29, 2010 3:05 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I'm having exactly the same problem on Debian amd64. Has anyone come up with a solution or a work around?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=95273#95273</comments>
                                        <author>amos</author>
                                        <pubDate>Mon Nov 29, 2010 3:05 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=95273#95273</guid>
                                      </item>
                                      <item>
                                        <title>Re: Coding Academy - Project 4 Question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=92646#92646</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=66876'&gt;kdamica&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Sep 04, 2010 5:53 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Code is the same as in the lesson. Works if I comment out the fill color line. &lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;using SdlDotNet.Core;&lt;br /&gt;
using SdlDotNet.Graphics;&lt;br /&gt;
using SdlDotNet.Input;&lt;br /&gt;
using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
namespace Fishfeast&lt;br /&gt;
&amp;#123;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;class MainClass&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#123;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;static Surface sfcMain;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;public static void Main &amp;#40;string&amp;#91;&amp;#93; args&amp;#41;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#123;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;sfcMain = Video.SetVideoMode&amp;#40;1024,768&amp;#41;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;sfcMain.Fill&amp;#40;Color.DarkBlue&amp;#41;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;Events.Quit += new EventHandler&amp;lt;QuitEventArgs&amp;gt;&amp;#40;Events_Quit&amp;#41;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;Events.Run&amp;#40;&amp;#41;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#125;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;static void Events_Quit&amp;#40;object sender, QuitEventArgs e&amp;#41;&amp;#123;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;Events.QuitApplication&amp;#40;&amp;#41;;&amp;nbsp; &amp;nbsp;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;#125;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&amp;#125;&lt;br /&gt;
&amp;#125;&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=92646#92646</comments>
                                        <author>kdamica</author>
                                        <pubDate>Sat Sep 04, 2010 5:53 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=92646#92646</guid>
                                      </item>
                                      <item>
                                        <title>Re: Coding Academy - Project 4 Question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=92644#92644</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=130'&gt;Ram&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Sep 04, 2010 12:54 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Need to see your code</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=92644#92644</comments>
                                        <author>Ram</author>
                                        <pubDate>Sat Sep 04, 2010 12:54 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=92644#92644</guid>
                                      </item>
                                      <item>
                                        <title>Re: Coding Academy - Project 4 Question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=92643#92643</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=66876'&gt;kdamica&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Sep 03, 2010 11:39 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I'm having the same problem. Here's the error I get:&lt;br /&gt;
&lt;br /&gt;
Module loaded: Fishfeast, Version=1.0.3898.33352, Culture=neutral, PublicKeyToken=null.&lt;br /&gt;
Module loaded: SdlDotNet, Version=6.1.0.0, Culture=neutral, PublicKeyToken=26ad4f7e10c61408.&lt;br /&gt;
Module loaded: System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.&lt;br /&gt;
Module loaded: Tao.Sdl, Version=1.2.13.0, Culture=neutral, PublicKeyToken=9c7a200e36c0094e.&lt;br /&gt;
Fontconfig warning: &amp;quot;/etc/fonts/conf.d/51-local.conf&amp;quot;, line 587: saw number, expected matrix&lt;br /&gt;
Stacktrace:&lt;br /&gt;
&lt;br /&gt;
  at (wrapper managed-to-native) Tao.Sdl.Sdl.SDL_MapRGBA (intptr,byte,byte,byte,byte) &amp;lt;0x00090&amp;gt;&lt;br /&gt;
  at (wrapper managed-to-native) Tao.Sdl.Sdl.SDL_MapRGBA (intptr,byte,byte,byte,byte) &amp;lt;0xffffffff&amp;gt;&lt;br /&gt;
  at SdlDotNet.Graphics.Surface.GetColorValue (System.Drawing.Color) &amp;lt;0x0016f&amp;gt;&lt;br /&gt;
  at SdlDotNet.Graphics.Surface.Fill (System.Drawing.Rectangle,System.Drawing.Color) &amp;lt;0x0011b&amp;gt;&lt;br /&gt;
  at SdlDotNet.Graphics.Surface.Fill (System.Drawing.Color) &amp;lt;0x001c3&amp;gt;&lt;br /&gt;
  at Fishfeast.MainClass.Main (string[]) [0x00014] in /home/kenny/Projects/Fishfeast/Fishfeast/Main.cs:17&lt;br /&gt;
  at (wrapper runtime-invoke) Fishfeast.MainClass.runtime_invoke_void_object (object,intptr,intptr,intptr) &amp;lt;0xffffffff&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Native stacktrace:&lt;br /&gt;
&lt;br /&gt;
	/usr/bin/mono() [0x47b77f]&lt;br /&gt;
	/usr/bin/mono() [0x4aef3f]&lt;br /&gt;
	/lib/libpthread.so.0(+0xf8f0) [0x7feea8b8b8f0]&lt;br /&gt;
	/usr/lib/libSDL-1.2.so.0(SDL_MapRGBA+0) [0x7feea6f36320]&lt;br /&gt;
	[0x40025b30]&lt;br /&gt;
&lt;br /&gt;
=================================================================&lt;br /&gt;
Got a SIGSEGV while executing native code. This usually indicates&lt;br /&gt;
a fatal error in the mono runtime or one of the native libraries &lt;br /&gt;
used by your application.&lt;br /&gt;
=================================================================</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=92643#92643</comments>
                                        <author>kdamica</author>
                                        <pubDate>Fri Sep 03, 2010 11:39 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=92643#92643</guid>
                                      </item>
                                      <item>
                                        <title>Re: Coding Academy - Project 4 Question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=90886#90886</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=130'&gt;Ram&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Jul 13, 2010 9:25 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I don't have libsdl1.2debian-all installed but I do have libsdl1.2debian installed.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=90886#90886</comments>
                                        <author>Ram</author>
                                        <pubDate>Tue Jul 13, 2010 9:25 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=90886#90886</guid>
                                      </item>
                                      <item>
                                        <title>Re: Coding Academy - Project 4 Question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=90872#90872</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=65997'&gt;chriswadams&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Jul 12, 2010 11:24 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Ram --&lt;br /&gt;
&lt;br /&gt;
I'm using 32-bit Ubuntu 10.04. &lt;br /&gt;
&lt;br /&gt;
Incidentally, I tried booting from the included DVD in Live mode, and running the edition of Fish Feast from the DVD, and all I got was a blank, black window. Nothing else.&lt;br /&gt;
&lt;br /&gt;
Also, the SDL site has a list of recommended dependencies, and I made sure they were all installed on my computer. They all installed fine except one, called &amp;quot;libsdl1.2debian-all&amp;quot; . That one insisted on uninstalling my ubuntu-desktop package (of all things), so I skipped it. I hope that isn't the one dependency I really, really need!&lt;br /&gt;
&lt;br /&gt;
chriswadams</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=90872#90872</comments>
                                        <author>chriswadams</author>
                                        <pubDate>Mon Jul 12, 2010 11:24 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=90872#90872</guid>
                                      </item>
                                      <item>
                                        <title>Re: Coding Academy - Project 4 Question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=90828#90828</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=130'&gt;Ram&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sun Jul 11, 2010 11:02 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Are you using the supplied DVD or running Mono from a 64 bit OS ?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=90828#90828</comments>
                                        <author>Ram</author>
                                        <pubDate>Sun Jul 11, 2010 11:02 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=90828#90828</guid>
                                      </item>
                                      <item>
                                        <title>Coding Academy - Project 4 Question</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=90827#90827</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=65997'&gt;chriswadams&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sun Jul 11, 2010 10:44 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Well, I'm back again with another strange error message ...&lt;br /&gt;
&lt;br /&gt;
I'm working on Project 4 of the Coding Academy (the 'Fish Feast' game), and I'm having a problem with SDL. It refuses to display the 'background.jpg' file in the window. In fact, every time I run the program, it simply crashes with this message:&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Unhandled Exception: SdlDotNet.Core.SdlException: Couldn't open media/background.jpg&lt;br /&gt;
  at SdlDotNet.Graphics.Surface..ctor (System.String file) [0x00000] &lt;br /&gt;
  at fishfeast.MainClass.Main (System.String[] args) [0x00014] in /home/chris/Projects/fishfeast/fishfeast/Main.cs:20 &lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
I followed Paul's suggestion to copy the files to the &amp;quot;fishfeast/fishfeast/bin/debug&amp;quot; folder, but I still get the error message. I have changed the program's 'Output Path' to &amp;quot;fishfeast/fishfeast&amp;quot; as Paul instructed (and setup a 'media' file there with the 'background.jpg' and 'logo.png' files) to no avail. I have double checked the list of dependencies (on p.32 of the Coding Academy) to be sure I have them all installed, and I have even installed the dependencies listed at the &amp;quot;SDL.NET&amp;quot; site ( &lt;a href=&quot;http://cs-sdl.sourceforge.net/index.php/The_absolute_newbies_guide_to_SDL.NET&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://cs-sdl.sourceforge.net/index.php/The_absolute_newbies_guide_to_SDL.NET&lt;/a&gt; ) to make sure I have those available. I still get the error message. &lt;br /&gt;
&lt;br /&gt;
One other thing I have noticed is that when I tried to add the following command:&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;sfcMain.Fill&amp;#40;Color.DarkBlue&amp;#41;;&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
I simply got a black window. No other colors would work.&lt;br /&gt;
&lt;br /&gt;
Any advice would be greatly appreciated.&lt;br /&gt;
chriswadams</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=90827#90827</comments>
                                        <author>chriswadams</author>
                                        <pubDate>Sun Jul 11, 2010 10:44 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=90827#90827</guid>
                                      </item></channel></rss>