Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Building Connection Tester VC2005

Discussion in 'Multiplayer' started by ProtonOne, Sep 23, 2008.

  1. ProtonOne

    ProtonOne

    Joined:
    Mar 8, 2008
    Posts:
    406
    I was able to build the Masterserver with no problem on VC2005, but the Connection Tester seems to need a library that I can't find:

    Code (csharp):
    1. g:\connectiontester\conntester.cpp(10) : fatal error C1083: Cannot open include file: 'curses.h': No such file or directory
    This thread:
    Need help deploying Master Server
    http://forum.unity3d.com/viewtopic.php?t=14194&highlight=curses

    says how to get it working in linux with:
    Code (csharp):
    1. sudo apt-get install libncurses5-dev
    But how would I go about installing ncurses on windows?

    This thread also mentions it:
    WOOT Thanks Unity! Rakknet!
    http://forum.unity3d.com/viewtopic.php?t=9909&highlight=curses

    but there is no follow-up.

    Any ideas?
     
  2. shaun

    shaun

    Joined:
    Mar 23, 2007
    Posts:
    728
    You can find most of the missing headers on the net.
    If you have VS2008 I can give you a working build of the Conntester for windows.
    Anyway, here's the file.
     

    Attached Files:

  3. ProtonOne

    ProtonOne

    Joined:
    Mar 8, 2008
    Posts:
    406
    Thanks for the header shaun.

    That got rid of that error, but then more ncurses missing headers made me-curses at the compiler. (horrible pun, sorry).

    I think I am just going to go the linux route. Gives me an excuse to play with Ubuntu, or maybe LinuxMint.
     
  4. shaun

    shaun

    Joined:
    Mar 23, 2007
    Posts:
    728
    Here's the source for a working windows build. I've only compiled it under VS2008, but the original VS2003 solution is still in there.
     

    Attached Files:

  5. ProtonOne

    ProtonOne

    Joined:
    Mar 8, 2008
    Posts:
    406
    Awesome shaun, thanks a lot.

    It compiled flawlessly :D