Building Connection Tester VC2005

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:

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:

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?

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.

94172–3676–$curses_549.h (73.6 KB)

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.

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.

94324–3679–$conntester_124.zip (471 KB)

Awesome shaun, thanks a lot.

It compiled flawlessly :smile: