[Crossfire-wiki] [Crossfire DokuWiki] page changed: crossfire_compile_guide
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Sat Mar 24 09:56:20 CDT 2007
A page in your DokuWiki was added or changed. Here are the details:
Date : 2007/03/24 09:56
User : ryo
Edit Summary: flex, batch
@@ -144,10 +144,14 @@
===== Microsoft (c) Windows =====
The following tools are used to compile the server:
* Microsoft Visual Studio 6 (service pack 4 probably). Server has not been tested with other versions.
+ * flex, from [[http://gnuwin32.sourceforge.net/packages/flex.htm]].
+ * you need it to build ''common/loader.c'' and ''random_maps/reader.c'' from their respective .l. Syntax is: ''flex -oloader.c -i loader.l'', ''flex -oreader.c -i -P rm reader.l'' respectively. The ''-P rm'' seems to be required to not have duplicate symbol issues
* [[http://www.python.org|Python]] to build the Python plugin. Any version starting from 2.3 should do the trick, if not [[http://sourceforge.net/tracker/?func=add&group_id=13833&atid=113833|report a bug please]]
* to build the installer, you need [[http://nsis.sourceforge.net|NSIS]], and [[http://www.perl.org|PERL]] (for maps installer).
+ * to build archetypes, you need PERL
+ * once you got the server sources, open a command prompt, go to ''make_win32'' directory, run the ''installwin32.bat'' file. It will create required directories
The following tools are used to compile the client:
* [[http://www.gtk.org|GTK]]. An installer with all required dependencies can be found at the [[http://gladewin32.sourceforge.net/modules/news/|Glade/GTK+ project]]. **Warning**: you'll need to add ~10 directories to include list, and rename some files around (like copy ''libpng.lib'' to ''png.lib''). Don't ask why here, ask Glade/GTK+ project instead :)
* current SVN (end of 2006) is somewhat broken, and requires some tweaking to build (need to ''undef HAVE_SDL'', comment out lines, add files, and such). That may be fixed or not eventually.
IP-Address : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/crossfire_compile_guide?rev=1174612178
New Revision: http://wiki.metalforge.net/doku.php/crossfire_compile_guide
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list