[Crossfire-wiki] [Crossfire DokuWiki] page changed: crossfire_compile_guide

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sun Jan 6 13:17:31 CST 2008


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2008/01/06 13:17
User        : ryo
Edit Summary: update

@@ -203,19 +203,26 @@
  
  What that command will do is run the Crossfire server and return you back to bash or shell prompt
  
  FIXME -- How to use crossloop for running the server; crossloop is a script that automatically restarts the server if/when it crashes and can also provide useful debugging or error information from the crash event
- 
  
  ===== 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]]
+   * if you want metaserver2 support, you'll need:
+      * libcurl, from [[http://http://curl.haxx.se/]]. You probably want [[http://curl.haxx.se/download/libcurl-7.17.1-win32-nossl-sspi.zip|this file]].
+      * pthread, obtained from [[http://www.sourceware.org/pthreads-win32/]]. Tested with pthreads-w32-2-8-0-release.exe
+      * zlib, file ''zlib123-dll.zip'' from [[http://www.zlib.net/]] ([[http://prdownloads.sourceforge.net/libpng/zlib123-dll.zip?download|direct link]])
+      * copy the following files to the directory you'll run Crossfire from: ''pthreadVC2.dll'', ''zlib1.dll'', ''libcurl.dll''
+      * define ''HAVE_CURL_CURL_H'' in the projects settings (project settings -> C/C++ -> general -> preprocessor definitions)
+      * link the executable to ''libcurl.lib'' and ''pthreadVC2.lib'' (project settings -> link -> general -> object/library modules)
    * 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.
+   * if you want metaserver2 support, follow the same instructions as for the server.


IP-Address  : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/crossfire_compile_guide?rev=1198888419
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