22 Jun, 2010, Mudder wrote in the 1st comment:
Votes: 0
So I downloaded VS professional and I'm trying to set up the codebase I've been working on in this IDE.

I've been getting a lot of compile errors, things like "cannot find sys/time.h"

I'm assuming this is just a difference between a windows and linux compiler? Would it be really difficult to have a MUD be able to compile cleanly on both?
23 Jun, 2010, bbailey wrote in the 2nd comment:
Votes: 0
Mudder said:
So I downloaded VS professional and I'm trying to set up the codebase I've been working on in this IDE.

I've been getting a lot of compile errors, things like "cannot find sys/time.h"

I'm assuming this is just a difference between a windows and linux compiler?

Yep. (well, more a difference in the library implementations, but close enough)
Mudder said:
Would it be really difficult to have a MUD be able to compile cleanly on both?

Nope.

It may be helpful to peruse some codebases that have already been ported to run cleanly on windows to get a feel for the necessary changes. A decent list is here.
23 Jun, 2010, kiasyn wrote in the 3rd comment:
Votes: 0
I think in windoze you can replace it with time.h
23 Jun, 2010, Tyche wrote in the 4th comment:
Votes: 0
And here
And most especially here for OS neutral headers, function naming, macros and small library of missing functions.
23 Jun, 2010, Mudder wrote in the 5th comment:
Votes: 0
Thanks guys. I'll start working on it in the morning.
0.0/5