Hello, I tried to build the FreeBSD port and got this:
Making all in XMLParserModules
Making all in .
Making all in TinyXMLParser
/bin/sh ../../../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../../../cegui/include -I../../../../cegui/include -I../../../../cegui/include/XMLParserModules/TinyXMLParser -I/usr/local/include -I/usr/local/include/lua51 -O2 -pipe -fno-strict-aliasing -MT libCEGUITinyXMLParser_la-CEGUITinyXMLParser.lo -MD -MP -MF .deps/libCEGUITinyXMLParser_la-CEGUITinyXMLParser.Tpo -c -o libCEGUITinyXMLParser_la-CEGUITinyXMLParser.lo `test -f 'CEGUITinyXMLParser.cpp' || echo './'`CEGUITinyXMLParser.cpp
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../../../cegui/include -I../../../../cegui/include -I../../../../cegui/include/XMLParserModules/TinyXMLParser -I/usr/local/include -I/usr/local/include/lua51 -O2 -pipe -fno-strict-aliasing -MT libCEGUITinyXMLParser_la-CEGUITinyXMLParser.lo -MD -MP -MF .deps/libCEGUITinyXMLParser_la-CEGUITinyXMLParser.Tpo -c CEGUITinyXMLParser.cpp -fPIC -DPIC -o .libs/libCEGUITinyXMLParser_la-CEGUITinyXMLParser.o
CEGUITinyXMLParser.cpp: In member function 'void CEGUI::TinyXMLDocument::processElement(const TiXmlElement*)':
CEGUITinyXMLParser.cpp:134: error: 'ELEMENT' is not a member of 'TiXmlNode'
CEGUITinyXMLParser.cpp:137: error: 'TEXT' is not a member of 'TiXmlNode'
*** Error code 1
Stop in /usr/ports/graphics/cegui/work/CEGUI-0.7.5/cegui/src/XMLParserModules/TinyXMLParser.
*** Error code 1
Stop in /usr/ports/graphics/cegui/work/CEGUI-0.7.5/cegui/src/XMLParserModules.
*** Error code 1
Stop in /usr/ports/graphics/cegui/work/CEGUI-0.7.5/cegui/src.
*** Error code 1
Stop in /usr/ports/graphics/cegui/work/CEGUI-0.7.5/cegui.
*** Error code 1
Stop in /usr/ports/graphics/cegui/work/CEGUI-0.7.5.
*** Error code 1
Stop in /usr/ports/graphics/cegui.
Installing the package also fails and aborts. Any ideas?
Build errors in FreeBSD port (XMLParser)
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Build errors in FreeBSD port (XMLParser)
Strange. Can you post the contents of the 'config.log' file produced by the configure run?
Oh, and please surround it with code tags:
[code]
Like this
[/code]
Thanks
CE.
Oh, and please surround it with code tags:
[code]
Like this
[/code]
Thanks
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Build errors in FreeBSD port (XMLParser)
Oops, sorry, I'm new. Here it is:
http://pastebin.com/kfEjdf68
The forum wouldn't allow me to post this. The message always ended up blank.
http://pastebin.com/kfEjdf68
The forum wouldn't allow me to post this. The message always ended up blank.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Build errors in FreeBSD port (XMLParser)
Thanks. This appears to be an issue related to TinyXML versions - the version we have embedded (that it definitely compiles against) is pretty ancient, and it seems that TinyXML changed some enumerated value names at some point. I can investigate and fix this for the 0.8.0 release, but can do nothing for existing releases, or even v0-7 stable branch code
In the mean time I think the only solution is to either force the use of the embedded tinyxml (which I know is not ideal when you have s system version of the lib) by way of the --disable-external-tinyxml configure option, or choose a different xml parser to use.
Sorry not to be able to give a better solution
CE.
In the mean time I think the only solution is to either force the use of the embedded tinyxml (which I know is not ideal when you have s system version of the lib) by way of the --disable-external-tinyxml configure option, or choose a different xml parser to use.
Sorry not to be able to give a better solution
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
-
- Just popping in
- Posts: 2
- Joined: Mon Jun 20, 2011 08:49
Re: Build errors in FreeBSD port (XMLParser)
I ran into the same problem on Ubuntu 11.10. GCC 4.6 and TinyXML 2.6.2:
CEGUITinyXMLParser.cpp: In member function `void CEGUI::TinyXMLDocument::processElement(const TiXmlElement*)':
CEGUITinyXMLParser.cpp:134:134: error: `ELEMENT' is not a member of `TiXmlNode'
CEGUITinyXMLParser.cpp:137:137: error: `TEXT' is not a member of `TiXmlNode'
The solution I found was to rename ELEMENT to TINYXML_ELEMENT and TEXT to TINYXML_TEXT.
Steve.
CEGUITinyXMLParser.cpp: In member function `void CEGUI::TinyXMLDocument::processElement(const TiXmlElement*)':
CEGUITinyXMLParser.cpp:134:134: error: `ELEMENT' is not a member of `TiXmlNode'
CEGUITinyXMLParser.cpp:137:137: error: `TEXT' is not a member of `TiXmlNode'
The solution I found was to rename ELEMENT to TINYXML_ELEMENT and TEXT to TINYXML_TEXT.
Steve.
Return to “Bug Reports, Suggestions, Feature Requests”
Who is online
Users browsing this forum: No registered users and 6 guests