Vectrex
08-03-2010 08:56:25
Hi, just trying to wrap a non-Mogre sound lib 'cAudio' http://deathtouchstudios.com/xoops/modu ... p?itemid=3
I altered the ogre4j.doxygen to point to it's .h files and it seems to generate without errors.
Then running autowrap I get this error
"Type unknown: 'function'"
It occurs here in DefTypes.cs with the elem.Name which is 'function'
I altered the ogre4j.doxygen to point to it's .h files and it seems to generate without errors.
Then running autowrap I get this error
"Type unknown: 'function'"
It occurs here in DefTypes.cs with the elem.Name which is 'function'
public static DefType CreateType(XmlElement elem)
{
switch (elem.Name)
{
case "class":
case "struct":
return CreateClass(elem);
case "typedef":
return CreateTypeDef(elem);
case "enumeration":
return CreateEnum(elem);
case "variable":
//It's global variables, ignore them
return null;
default:
throw new Exception("Type unknown: '" + elem.Name + "'");
}