In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Mini-XML: Difference between revisions

From WiiBrew
Jump to navigation Jump to search
Crayon (talk | contribs)
mNo edit summary
Crayon (talk | contribs)
mNo edit summary
Line 12: Line 12:
| website    = http://www.minixml.org/
| website    = http://www.minixml.org/
| discussion  =  
| discussion  =  
| source      =  
| source      = https://sourceforge.net/projects/devkitpro/files/portlibs
}}
}}
'''Mini-XML''' is a library ported for Wii to load and save XML config files in your GameCube/Wii apps.
'''Mini-XML''' is a library ported for Wii to load and save XML config files in your GameCube/Wii apps.
Line 18: Line 18:
== Install ==
== Install ==
Option 1:
Option 1:
*copy mxml/include/mxml.h to $(DEVKITPPC)/libogc/include
*copy /include/mxml.h to $(DEVKITPPC)/libogc/include
*copy mxml/lib/libmxml.a to $(DEVKITPPC)/libogc/lib/*/
*copy /lib/libmxml.a to $(DEVKITPPC)/libogc/lib/*/


Option 2:
Option 2:

Revision as of 22:13, 16 October 2009

Mini-XML
General
Author(s)Matthew Sweet
TypePorted Libraries
Version2.6
LicenceGNU LGPL
Links
Download
Website
Source

Mini-XML is a library ported for Wii to load and save XML config files in your GameCube/Wii apps.

Install

Option 1:

  • copy /include/mxml.h to $(DEVKITPPC)/libogc/include
  • copy /lib/libmxml.a to $(DEVKITPPC)/libogc/lib/*/

Option 2:

  • setup your Makefile to use the mxml dir for the libs and includes

Usage

You need to use libFAT to make libmxml work.

Include these for mxml:

#include <fat.h>
#include "mxml.h"

Add the extra libraries to link with the project in your Makefile:

LIBS := -lfat -lmxml ...

Documentation

Tons of doc at http://www.minixml.org