Building for Win32


Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.

Dungeon Dilettante

Posts: 4

Joined: Friday, 29th July 2011, 02:55

Post Friday, 29th July 2011, 03:09

Building for Win32

Hello all,

I came across the following problem. INSTALL.txt says:

* To build Crawl on Windows, first download and install msysgit. msysgit is
a full MinGW setup that even includes Git (which happens to be the source
code management system used by the Crawl team). To get msysgit, be sure to
download the 'msysGit-netinstall' from here:

http://code.google.com/p/msysgit/downloads/list

NOTE: Do NOT get any of the versions that do not have 'netinstall' in the
filename. The 'netinstall' is the only one used by the Crawl team.


Now, the problem is that msysgit environment does not come with wget. However in the makefile there are lines like this:

  Code:
   wget -O - https://crawl.develz.org/wiki/doku.php?id=dcss:manual:rest \
   | sed -f util/undoku.sed > $(DOC_BASE)/crawl_manual.reST

$(DOC_BASE)/crawl_manual.txt: $(DOC_BASE)/crawl_manual.reST util/unrest.pl
   $(QUIET_GEN)util/unrest.pl <$< >$@


Naturally the wget part does not work and whatever crawl_manual.reST is in the git is used.

The problem here is twofold:
- as of the moment of writing, the version of crawl_manual.reST that is in git, fails to get translated to crawl_manual.txt properly. This results in ?A through ?N being unavailable in-game in win32 build. If the git version is the one that is intended to be used with the win32 build, it has to be fixed so that it can load properly in game
- If it is not intended to be used with win32 build, then INSTALL.txt should be updated, to inform the user that they have to install wget and all the dependencies, and also configure CA certificates for the use with wget so that https connection does not fail (this depends on what build if wget is installed).

Linux build does not have the wget problem and it runs properly in this respect.

I keep thinking, that I'm missing something simple here. Can any of the devs comment on this please?
User avatar

Dungeon Master

Posts: 4031

Joined: Thursday, 16th December 2010, 20:37

Location: France

Post Friday, 29th July 2011, 08:49

Re: Building for Win32

The wget requirement is new, I guess the win32 build instructions need to be updated. Can you report it on Mantis? Thanks.
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...

For this message the author galehar has received thanks:
zespri

Dungeon Dilettante

Posts: 4

Joined: Friday, 29th July 2011, 02:55

Post Friday, 29th July 2011, 10:00

Re: Building for Win32

Ok thanks, reported as 4335.

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 44 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.