Line 1:
Line 1:
−
With the devkitPro r18, I get the errors:
−
<pre>
−
1>linking ... boot.elf
−
1>c:/devkitPro/libogc/lib/wii\libmxml.a(mxml-file.o): In function `mxml_get_entity':
−
1>/home/ew562c/Dev/wiichat/Client/mxml-2.5/mxml-file.c(1423): undefined reference to `__ctype_ptr'
−
1>/home/ew562c/Dev/wiichat/Client/mxml-2.5/mxml-file.c(1423): undefined reference to `__ctype_ptr'
−
1>c:/devkitPro/libogc/lib/wii\libmxml.a(mxml-string.o): In function `_mxml_vsnprintf':
−
1>/home/ew562c/Dev/wiichat/Client/mxml-2.5/mxml-string.c(209): undefined reference to `__ctype_ptr'
−
1>/home/ew562c/Dev/wiichat/Client/mxml-2.5/mxml-string.c(177): undefined reference to `__ctype_ptr'
−
1>/home/ew562c/Dev/wiichat/Client/mxml-2.5/mxml-string.c(209): undefined reference to `__ctype_ptr'
−
1>collect2: ld returned 1 exit status
−
</pre>
−
== Loading from an XML With default values to fall back on ==
== Loading from an XML With default values to fall back on ==
Line 19:
Line 6:
Loading settings from a XML with these is easier, as you don't have to check and correct manually in the loading code.
Loading settings from a XML with these is easier, as you don't have to check and correct manually in the loading code.
−
<pre>
+
<source lang="c">
#include <mxml.h>
#include <mxml.h>
Line 46:
Line 33:
return default_value;
return default_value;
}
}
−
</pre>
+
</source>
+
[[User:Freezy|Freezy]] 09:23, 20 August 2009 (UTC)
−
[[User:Freezy|Freezy]] 09:23, 20 August 2009 (UTC)
+
+
== Problem with devkitPro r18 ==
+
With the devkitPro r18, I get the errors:
+
<pre>
+
1>linking ... boot.elf
+
1>c:/devkitPro/libogc/lib/wii\libmxml.a(mxml-file.o): In function `mxml_get_entity':
+
1>/home/ew562c/Dev/wiichat/Client/mxml-2.5/mxml-file.c(1423): undefined reference to `__ctype_ptr'
+
1>/home/ew562c/Dev/wiichat/Client/mxml-2.5/mxml-file.c(1423): undefined reference to `__ctype_ptr'
+
1>c:/devkitPro/libogc/lib/wii\libmxml.a(mxml-string.o): In function `_mxml_vsnprintf':
+
1>/home/ew562c/Dev/wiichat/Client/mxml-2.5/mxml-string.c(209): undefined reference to `__ctype_ptr'
+
1>/home/ew562c/Dev/wiichat/Client/mxml-2.5/mxml-string.c(177): undefined reference to `__ctype_ptr'
+
1>/home/ew562c/Dev/wiichat/Client/mxml-2.5/mxml-string.c(209): undefined reference to `__ctype_ptr'
+
1>collect2: ld returned 1 exit status
+
</pre>{{unsigned|Freezy}}
+
: Are you using version 2.6, the download is available on this [[Mini-XML|page]]? I guess not, by seeing your message. So install 2.6 and it should work :) --[[User:Crayon|Crayon]] ([[User talk:Crayon|talk]]) 13:34, 17 October 2009 (UTC)