Problems compiling latest svn on Mac 10.6.6

3 replies [Last post]
Octmagom
User offline. Last seen 13 years 42 weeks ago. Offline
Joined: 2011-01-28
Posts: 2

Love this game and have compiled Hedgewars several different times but am suddenly running into a couple of errors that I cannot troubleshoot. The first is when trying to build with the server flag enabled.
Utils.hs:18:17:
Could not find module `Codec.Binary.Base64':
Use -v to see a list of the files searched for.
make[2]: *** [bin/hedgewars-server] Error 1
make[1]: *** [gameServer/CMakeFiles/hedgewars-server.dir/all] Error 2
make: *** [all] Error 2

The second comes without including the server flag in cmake.
GSHandlers.inc(570,21) Note: Local variable "i" not used
GSHandlers.inc(574,5) Note: Local variable "oAlpha" not used
GSHandlers.inc(574,13) Note: Local variable "nAlpha" not used
uGears.pas(1039,19) Error: Identifier not found "AddFileLog"
uGears.pas(1039,53) Warning: Conversion between ordinals and pointers is not portable
uGears.pas(1915) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/local/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled)
make[2]: *** [bin/hwengine.x86_64] Error 1
make[1]: *** [hedgewars/CMakeFiles/hwengine.dir/all] Error 2
make: *** [all] Error 2

Any help would be appreciated.

Koda
Koda's picture
User offline. Last seen 40 weeks 6 days ago. Offline
Joined: 2008-11-10
Posts: 215

about the first one, http://code.google.com/p/hedgewars/wiki/BuildingOnMac see Optional server
about the second one, you'd better checkout the latest 0.9.15 hg sources

Koda
Koda's picture
User offline. Last seen 40 weeks 6 days ago. Offline
Joined: 2008-11-10
Posts: 215

actually about the second one, a symbol was forgot to be defined, it is fixed in latest version

Octmagom
User offline. Last seen 13 years 42 weeks ago. Offline
Joined: 2011-01-28
Posts: 2

Perfect, Koda. Thanks!

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]