<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Linktime error using GRRLIB and related files</title>
<description> Yo guys,

I warn you: I began C++ coding on Thursday evening and did not do any on Friday, thus this is my second evening.

I&amp;#039;ve been learning from teknecal&amp;#039;s tuts on codemii, and am trying to splice some of that with the recent tic-tac-toe coding-assistance release.

All I want to do at this stage is display a background png and have a cursor png follow the IR. I believe my code is sound, so far.

I&amp;#039;ve been having trouble getting the linking to work: after much fiddling, I&amp;#039;ve got most things linking, but now I&amp;#039;m getting the error:

c:/devkitPro/examples/wii/experiment2/source/pngu.c:1100: undefined reference to `png_get_io_ptr&amp;#039;

Can anyone help me here? Perhaps a guide to what my dir structure should be, as well as the contents of the makefile bit for GRRLIB.

I would be eternally thankful.</description><link>http://forum.wiibrew.org/read.php?11,19601,19601#msg-19601</link><lastBuildDate>Sat, 11 Jul 2026 09:51:48 +0200</lastBuildDate>
<generator>Phorum 5.2.23</generator>
<item>
<guid>http://forum.wiibrew.org/read.php?11,19601,19636#msg-19636</guid>
<title>Re: Linktime error using GRRLIB and related files</title><link>http://forum.wiibrew.org/read.php?11,19601,19636#msg-19636</link><description><![CDATA[ Glad to see you fixed the problem!]]></description>
<dc:creator>RazorChrist</dc:creator>
<category>Coding</category><pubDate>Sun, 07 Jun 2009 05:23:04 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,19601,19622#msg-19622</guid>
<title>Re: Linktime error using GRRLIB and related files</title><link>http://forum.wiibrew.org/read.php?11,19601,19622#msg-19622</link><description><![CDATA[ Thanks for the response. I&#039;ve fixed it now: libs listed in incorrect order in makefile -_-. Put libpng closer to the front and it works now.<br /><br />I&#039;ve managed to display a background with a movable cursor on it. I might submit it and call it "Stroke Derrida".]]></description>
<dc:creator>alainvey</dc:creator>
<category>Coding</category><pubDate>Sun, 07 Jun 2009 04:10:17 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,19601,19614#msg-19614</guid>
<title>Re: Linktime error using GRRLIB and related files</title><link>http://forum.wiibrew.org/read.php?11,19601,19614#msg-19614</link><description><![CDATA[ As far as directory structure, here&#039;s how I do mine:<br /><pre class="bbcode">
root dir (where makefile is)
 -- source (where main app/game source files go)
 ---- gfx (where all images go)
 ---- GRRLIB
 -------- fonts (folder)
 -------- GRRLIB.c
 -------- GRRLIB.h
 ---- libpng
 -------- pngu (folder)
 -------- png.h
 -------- pngconf.h
 -- lib (library files)
 ---- libpng.a</pre><br />As far as your error goes, can you post the part of your code that uses that reference? I would also look at the code in the pngu.c file on line 1100, make sure you don&#039;t have anything misspelled.]]></description>
<dc:creator>RazorChrist</dc:creator>
<category>Coding</category><pubDate>Sun, 07 Jun 2009 03:19:07 +0200</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,19601,19601#msg-19601</guid>
<title>Linktime error using GRRLIB and related files</title><link>http://forum.wiibrew.org/read.php?11,19601,19601#msg-19601</link><description><![CDATA[ Yo guys,<br /><br />I warn you: I began C++ coding on Thursday evening and did not do any on Friday, thus this is my second evening.<br /><br />I&#039;ve been learning from teknecal&#039;s tuts on codemii, and am trying to splice some of that with the recent tic-tac-toe coding-assistance release.<br /><br />All I want to do at this stage is display a background png and have a cursor png follow the IR. I believe my code is sound, so far.<br /><br />I&#039;ve been having trouble getting the linking to work: after much fiddling, I&#039;ve got most things linking, but now I&#039;m getting the error:<br /><br /><i>c:/devkitPro/examples/wii/experiment2/source/pngu.c:1100: undefined reference to `png_get_io_ptr&#039;</i><br /><br />Can anyone help me here? Perhaps a guide to what my dir structure should be, as well as the contents of the makefile bit for GRRLIB.<br /><br />I would be eternally thankful.]]></description>
<dc:creator>alainvey</dc:creator>
<category>Coding</category><pubDate>Sun, 07 Jun 2009 01:25:10 +0200</pubDate></item>
</channel>
</rss>