Switch language

Default language

 
Random picture
gallery
 
   On 03/11/10 at 20h29 Quote      

Member

Group: Member

Signed up since: 03/11/10
Messages: 3
Place: Norway
Hello. I'm trying to compile a binary for version 0.9.1, but I get an error.

Quotation:
tool/xml_document.cpp: In member function 'long unsigned int XmlReader::GetNbChildren(const xmlNode*)':
tool/xml_document.cpp:175: error: 'xmlChildElementCount' was not declared in this scope
tool/xml_document.cpp: In member function 'const xmlNode* XmlReader::GetFirstChild(const xmlNode*)':
tool/xml_document.cpp:180: error: 'xmlFirstElementChild' was not declared in this scope
tool/xml_document.cpp: In member function 'const xmlNode* XmlReader::GetNextSibling(const xmlNode*)':
tool/xml_document.cpp:185: error: 'xmlNextElementSibling' was not declared in this scope
make[3]: *** [xml_document.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/string_tools.Tpo .deps/string_tools.Po
mv -f .deps/resource_manager.Tpo .deps/resource_manager.Po
make[3]: Leaving directory `/mnt/sda8/wolvix-2.0/WolvixBuildSystem/tmp/wormux-0.9.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/sda8/wolvix-2.0/WolvixBuildSystem/tmp/wormux-0.9.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/sda8/wolvix-2.0/WolvixBuildSystem/tmp/wormux-0.9.1/src'
make: *** [all-recursive] Error 1


I few days a go I compiled version 0.9.0 without any problems and I've not changed the system since.

My compile options include:
Quotation:
--enable-fribidi=yes
--enable-servers=yes


Any hints to help me resolve the issue is appreciated. Let me know if you need additional information about my system.

Thanks



Edit by Wolven On 03/11/10 at 21h13

pm http://wolvix.org    
   On 03/11/10 at 20h38 Quote      

Moderator

Group: Contributors

Sex:
Signed up since: 08/26/09
Messages: 121
Place: Berlin, Germany
Try to run like this:
./configure --enable-fribidi --enable-servers

make clean
make all
This is an often problem (mainly in svn revs).

pm http://www.fuzxxl.de    
   On 03/11/10 at 20h47 Quote      

Member

Group: Member

Signed up since: 03/11/10
Messages: 3
Place: Norway
Hi FUZxxl. Thank you for your reply.

I tried what you suggested, but I still get the same error as described above.

pm http://wolvix.org    
   On 03/11/10 at 20h52 Quote      

Administrator

Group: WarMUX Team

Sex:
Signed up since: 08/24/09
Messages: 38
Place: France/Toulouse
Hi Wolven,
Your libxml2 is too old, you must update it (libxml2, libxml2-dev) to 2.7.3 or >
http://xmlsoft.org/downloads.html

pm http://sites.google.com/site/lamilawrence/    
   On 03/11/10 at 20h54 Quote      

Member

Group: Member

Signed up since: 03/11/10
Messages: 3
Place: Norway
Thanks for the reply lami. I'll update libxml2 (I'm using version 2.6.32) and try to compile again.

EDIT:
Wormux version 0.9.1 compiled successfully after upgrading libxml2 to version 2.7.6



Edit by Wolven On 03/11/10 at 21h13

pm http://wolvix.org    
   On 03/13/10 at 09h05 Quote      

Administrator

Group: WarMUX Team

Signed up since: 09/16/09
Messages: 233
Place: France
Nice to see someone able to compile wormux for windows. Have you followed the documentation on the wiki?

Btw, you can also cross-compile it from linux. The Visual Studio build is more of a testbed than a really supported build system.
____________________
Whenever reporting a problem, please report the following information:
  • Environment: Windows (XP/2000/Vista/Seven/...), Linux (Ubuntu Karmic/Mandriva/...), ...
  • Context of the game: network/local game, normal/blitz mode, what you were doing, ...
  • Frequency and reproducibility: crashes after 5 minutes of play, only after some action ...

pm http://www.wormux.org    

 |  |

1 User online :: 0 Administrator, 0 Moderator, 0 Member and 1 Visitor
User online: No member online
Answer
You aren't allowed to write in this category