[CF-Devel] Building the Server on Win32

pstolarc at theperlguru.com pstolarc at theperlguru.com
Sun Sep 1 20:25:04 CDT 2002


On Thu, 29 Aug 2002 22:00:35 -0700, you wrote:

>
     
     Bjoern Becker wrote:
     
     >>
     
      Hi.
     
     >>
     
     
     >>
     
      I just checked out crossfire and tried to compile the server
     
     >>
     
      following the instructions in make_win32. After compiling for
     
     >>
     
      some time MVC6 reports unresolved symbols :
     
     >
     
     
     >
     
       My guess is that the build environment isn't compiling the socket/images.c 
     
     >
     
     file.  I know nothing about windows development, but if you add that file in 
     
     >
     
     wherever it should be, that might fix it up.
     
     >
     
     
     >
     
       Probably also needed to add the server/weather.c file.
     
     
I compiled it today.  I hope this patch helps.  (VC++ modified a lot more
stuff automatically, mostly changing various computer generated comments to
English in the project file, but I trimmed it down to just the relevant
bits.)  

-Philip
-------------- next part --------------
Index: crossfire/make_win32/crossfire32.dsp
===================================================================
RCS file: /cvsroot/crossfire/crossfire/make_win32/crossfire32.dsp,v
retrieving revision 1.9
diff -c -r1.9 crossfire32.dsp
*** crossfire/make_win32/crossfire32.dsp	26 Nov 2001 17:52:26 -0000	1.9
--- crossfire/make_win32/crossfire32.dsp	1 Sep 2002 15:58:56 -0000
***************
*** 134,139 ****
--- 134,143 ----
  # PROP Default_Filter ""
  # Begin Source File
  
+ SOURCE=..\socket\image.c
+ # End Source File
+ # Begin Source File
+ 
  SOURCE=..\socket\info.c
  
  !IF  "$(CFG)" == "crossfire32 - Win32 FullDebug"
***************
*** 1144,1149 ****
--- 1148,1157 ----
  
  !ENDIF 
  
+ # End Source File
+ # Begin Source File
+ 
+ SOURCE=..\server\weather.c
  # End Source File
  # Begin Source File
  
Index: crossfire/server/main.c
===================================================================
RCS file: /cvsroot/crossfire/crossfire/server/main.c,v
retrieving revision 1.63
diff -c -r1.63 main.c
*** crossfire/server/main.c	15 Jul 2002 04:57:13 -0000	1.63
--- crossfire/server/main.c	1 Sep 2002 15:58:56 -0000
***************
*** 172,180 ****
  #  ifdef HAVE_LIBDES
      return (char*)des_crypt(str,s);
  #  endif
  #endif
-     /* Default case - just use crypt */
-     return (char*)crypt(str,s);
  }
  
  int check_password(char *typed,char *crypted) {
--- 172,180 ----
  #  ifdef HAVE_LIBDES
      return (char*)des_crypt(str,s);
  #  endif
+     /* Default case - just use crypt */
+     return (char*)crypt(str,s);
  #endif
  }
  
  int check_password(char *typed,char *crypted) {
    
    


More information about the crossfire mailing list