<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>compling current homebrew with homebrew menu std library</title>
<description> Hey, right now I&amp;#039;m trying to get Jewels to work with the libwiisprite version of Homebrew menu std library

I&amp;#039;ve already got the libwiisprite.a and header files in the right places (thanks Arikado!) and I can compile the source code without any changes, so I know I&amp;#039;ve got everything in the right places.

My error in compiling after entering the line #include in the jewels.c source gives me this error:

In file included from /home/kage52124/Wii/Projects/jewels/source/jewels.c:18:
/opt/devkitpro/libogc/include/hbmenuhead.h:20: error: expected &amp;#039;=&amp;#039;, &amp;#039;,&amp;#039;, &amp;#039;;&amp;#039;, &amp;#039;asm&amp;#039; or &amp;#039;__attribute__&amp;#039; before &amp;#039;namespace&amp;#039;
/opt/devkitpro/libogc/include/hbmenuhead.h:23: error: expected &amp;#039;)&amp;#039; before &amp;#039;*&amp;#039; token
make[1]: *** [jewels.o] Error 1
make: *** [build] Error 2

I&amp;#039;ve got no where near enough coding experience, but I&amp;#039;ve already changed what button press will exit Jewels, freeing up the home button, so this should be all that I need to fix right? How would I go about it?

I&amp;#039;m guessing I still don&amp;#039;t have libwiisprite done quite right since &amp;#039;wsp&amp;#039; is the libwiisprite namespace. Would it need to get recompiled under the devkitPPC I have, which I got Oct 2nd, 2010? or is something else going on?

Thanks a bunch for any postings/help!</description><link>http://forum.wiibrew.org/read.php?11,60346,60346#msg-60346</link><lastBuildDate>Tue, 16 Jun 2026 01:26:52 +0200</lastBuildDate>
<generator>Phorum 5.2.23</generator>
<item>
<guid>http://forum.wiibrew.org/read.php?11,60346,60374#msg-60374</guid>
<title>Re: compling current homebrew with homebrew menu std library</title><link>http://forum.wiibrew.org/read.php?11,60346,60374#msg-60374</link><description><![CDATA[ Problem solved: Libwiisprite does not work with .c files.]]></description>
<dc:creator>Arikado</dc:creator>
<category>Coding</category><pubDate>Mon, 04 Oct 2010 00:11:33 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,60346,60351#msg-60351</guid>
<title>Re: compling current homebrew with homebrew menu std library</title><link>http://forum.wiibrew.org/read.php?11,60346,60351#msg-60351</link><description><![CDATA[ absolutely, I&#039;ll send it to your e-mail.<br /><br />EDIT: Here&#039;s the result:<br /><br /><blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />Libwiisprite can only work with .cpp files. Not .c files<br /><br />You were missing a rule for compiling .pngs<br /><br />-lwiisprite and -lhbmenu need to be the first two libs defined in your LIBS:<br /><br />(Still a few errors but they&#039;re all mistakes made in (the) source)<br /><br />--Arikado</div></blockquote><br />So now that&#039;s fixed, but since the source has been changed from .c to .cpp, there are plenty of new errors...I&#039;ll chip away at them over time]]></description>
<dc:creator>Kage52124</dc:creator>
<category>Coding</category><pubDate>Sun, 03 Oct 2010 20:36:19 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,60346,60350#msg-60350</guid>
<title>Re: compling current homebrew with homebrew menu std library</title><link>http://forum.wiibrew.org/read.php?11,60346,60350#msg-60350</link><description><![CDATA[ Is there a way I can convince you to send me your source so I can examine it?]]></description>
<dc:creator>Arikado</dc:creator>
<category>Coding</category><pubDate>Sun, 03 Oct 2010 20:21:49 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,60346,60348#msg-60348</guid>
<title>Re: compling current homebrew with homebrew menu std library</title><link>http://forum.wiibrew.org/read.php?11,60346,60348#msg-60348</link><description><![CDATA[ Okay adding #include wiisprite.h before hbmenuhead.h gave me more errors:<br /><br /><code><br />^[[AIn file included from /opt/devkitpro/libogc/include/image.h:10,<br />from /opt/devkitpro/libogc/include/gamewindow.h:10,<br />from /opt/devkitpro/libogc/include/wiisprite.h:8,<br />from /home/kage52124/Wii/Projects/jewels/source/jewels.c:18:<br />/opt/devkitpro/libogc/include/png.h:391:18: error: zlib.h: No such file or directory<br />In file included from /opt/devkitpro/libogc/include/image.h:10,<br />from /opt/devkitpro/libogc/include/gamewindow.h:10,<br />from /opt/devkitpro/libogc/include/wiisprite.h:8,<br />from /home/kage52124/Wii/Projects/jewels/source/jewels.c:18:<br />/opt/devkitpro/libogc/include/png.h:1137: error: expected specifier-qualifier-list before &#039;z_stream&#039;<br />In file included from /opt/devkitpro/libogc/include/gamewindow.h:10,<br />from /opt/devkitpro/libogc/include/wiisprite.h:8,<br />from /home/kage52124/Wii/Projects/jewels/source/jewels.c:18:<br />/opt/devkitpro/libogc/include/image.h:13: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;wsp&#039;<br />In file included from /opt/devkitpro/libogc/include/wiisprite.h:8,<br />from /home/kage52124/Wii/Projects/jewels/source/jewels.c:18:<br />/opt/devkitpro/libogc/include/gamewindow.h:13: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;wsp&#039;<br />In file included from /opt/devkitpro/libogc/include/layermanager.h:10,<br />from /opt/devkitpro/libogc/include/wiisprite.h:9,<br />from /home/kage52124/Wii/Projects/jewels/source/jewels.c:18:<br />/opt/devkitpro/libogc/include/layer.h:12: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;wsp&#039;<br />In file included from /opt/devkitpro/libogc/include/wiisprite.h:9,<br />from /home/kage52124/Wii/Projects/jewels/source/jewels.c:18:<br />/opt/devkitpro/libogc/include/layermanager.h:13: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;wsp&#039;<br />In file included from /opt/devkitpro/libogc/include/sprite.h:12,<br />from /opt/devkitpro/libogc/include/wiisprite.h:12,<br />from /home/kage52124/Wii/Projects/jewels/source/jewels.c:18:<br />/opt/devkitpro/libogc/include/tiledlayer.h:14: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;wsp&#039;<br />In file included from /opt/devkitpro/libogc/include/wiisprite.h:12,<br />from /home/kage52124/Wii/Projects/jewels/source/jewels.c:18:<br />/opt/devkitpro/libogc/include/sprite.h:15: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;wsp&#039;<br />In file included from /opt/devkitpro/libogc/include/wiisprite.h:14,<br />from /home/kage52124/Wii/Projects/jewels/source/jewels.c:18:<br />/opt/devkitpro/libogc/include/quad.h:15: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;wsp&#039;<br />In file included from /home/kage52124/Wii/Projects/jewels/source/jewels.c:19:<br />/home/kage52124/Wii/Projects/jewels/build/hbmenuhead.h:20: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;namespace&#039;<br />/home/kage52124/Wii/Projects/jewels/build/hbmenuhead.h:23: error: expected &#039;)&#039; before &#039;*&#039; token<br />make[1]: *** [jewels.o] Error 1<br />make: *** [build] Error 2<br /><br /></code><br /><br />So I downloaded the Zlib for PPC (it&#039;s not ARM right?) and extracted the contents to the libogc folder, which eliminated the first two errors, but I still have everything afterwards.<br /><br />I apologize if this is highly remedial<br /><br />EDIT: &gt; and &lt; don&#039;t agree with forums, removed. Now I see why you didn&#039;t type them.]]></description>
<dc:creator>Kage52124</dc:creator>
<category>Coding</category><pubDate>Sun, 03 Oct 2010 19:52:59 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,60346,60347#msg-60347</guid>
<title>Re: compling current homebrew with homebrew menu std library</title><link>http://forum.wiibrew.org/read.php?11,60346,60347#msg-60347</link><description><![CDATA[ #include wiisprite.h<br /><br />before<br /><br />#include hbmenuhead.h]]></description>
<dc:creator>Arikado</dc:creator>
<category>Coding</category><pubDate>Sun, 03 Oct 2010 19:29:45 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,60346,60346#msg-60346</guid>
<title>compling current homebrew with homebrew menu std library</title><link>http://forum.wiibrew.org/read.php?11,60346,60346#msg-60346</link><description><![CDATA[ Hey, right now I&#039;m trying to get <a href="http://wiibrew.org/wiki/Jewels" rel="nofollow">Jewels</a> to work with the libwiisprite version of <a href="http://wiibrew.org/wiki/The_HOMEbrew_Menu_Standard_Library" rel="nofollow">Homebrew menu std library</a><br /><br />I&#039;ve already got the libwiisprite.a and header files in the right places (thanks Arikado!) and I can compile the source code without any changes, so I know I&#039;ve got everything in the right places.<br /><br />My error in compiling after entering the line #include <hbmenuhead.h> in the jewels.c source gives me this error:<br /><br />In file included from /home/kage52124/Wii/Projects/jewels/source/jewels.c:18:<br />/opt/devkitpro/libogc/include/hbmenuhead.h:20: error: expected &#039;=&#039;, &#039;,&#039;, &#039;;&#039;, &#039;asm&#039; or &#039;__attribute__&#039; before &#039;namespace&#039;<br />/opt/devkitpro/libogc/include/hbmenuhead.h:23: error: expected &#039;)&#039; before &#039;*&#039; token<br />make[1]: *** [jewels.o] Error 1<br />make: *** [build] Error 2<br /><br />I&#039;ve got no where near enough coding experience, but I&#039;ve already changed what button press will exit Jewels, freeing up the home button, so this should be all that I need to fix right? How would I go about it?<br /><br />I&#039;m guessing I still don&#039;t have libwiisprite done quite right since &#039;wsp&#039; is the libwiisprite namespace. Would it need to get recompiled under the devkitPPC I have, which I got Oct 2nd, 2010? or is something else going on?<br /><br />Thanks a bunch for any postings/help!]]></description>
<dc:creator>Kage52124</dc:creator>
<category>Coding</category><pubDate>Sun, 03 Oct 2010 19:14:50 +0200</pubDate></item>
</channel>
</rss>