VC++ millions of errors

  • InternetCliche
    5th Dec 2011 Member 0 Permalink
    Alright, I did everything on the wiki, and this all came up:
    http://pastebin.com/FFzQT4kf
    Did i do something wrong?
  • abczyx123987
    5th Dec 2011 Member 0 Permalink
    Have you modified the source at all?

    The errors seem to suggest that somehow both winsock.h and winsock2.h got #included together (the two are not compatible with each other).

    I just ran main.c through the VC++ preprocessor, and I only see winsock.h being included.
    TPT compiles fine for me on my computer.

    What happens if you go to Project Properties > Configuration Properties > C/C++ > Preprocessor > Preprocessor Definitions and add
    WIN32_LEAN_AND_MEAN
    to the list?

    Or, rather, try redownloading the source and/or the required libraries for it?
  • InternetCliche
    5th Dec 2011 Member 0 Permalink
    I have not yet modified the source.

    After 3 re-downloads and re-setups, each producing different errors, the current one has only 4. But hell if I know how to solve them.
    http://pastebin.com/nQFMRTnd

    EDIT:Actually, after changing them to char* and getting rid of a pesky inline, works like a charm.