Windows Compile Help

  • Candunc
    21st Jul 2012 Member 0 Permalink

    I usually compile for macs, but I have spare computers that I can use to compile. I am trying to compile vanilla unmodifed code, following the instructions on the wiki, and an error came up. 

     

    173.181.34.109:81/failure.txt

     

    Any help would be nice, I'll start compiling mods when Mountain Lion comes out.

    Thanks in Advance, Candunc

  • plypencil
    21st Jul 2012 Member 0 Permalink

    Your missing some sort of library, I don't have a clue what one though....at the first errors appear to be socket related and I didn't think TPT used external libraries for communication

  • abczyx123987
    21st Jul 2012 Member 0 Permalink
    Could you try redownloading the source (and start over from the beginning of the wiki)?
    It seems like both winsock.h and winsock2.h are getting #included in the source, which would cause those errors to occur.
    But since the source compiles for me unmodified (or at least it did last time I checked), something must've gone wrong on your end.
    You could try adding WIN32_LEAN_AND_MEAN to the project's preprocessor options, but considering that it should compile sucessfully without it, you never know what else might have gone wrong...(in short, it's probably best to just start over from scratch and see how it goes).

    Interestingly enough, I've actually seen this problem happen before, with a different user...
    https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=11863