View Full Version : Latest CVS windows compiles
killhand
01-08-2006, 12:32 AM
Changelog.txt
==01/07/06
FatherNitwit: Fixed VS.net projects and compiling.
But i get errors compiling in timer.h and timer.cpp. Looks that errors are in this line:
#ifdef WIN32
#include <windows.h>
#include <winsock.h>
int gettimeofday (timeval *tp, ...);
Any help apreciated.
PD- changelog looks awesome :D
gottasummer
01-08-2006, 01:51 AM
Changelog.txt
==01/07/06
FatherNitwit: Fixed VS.net projects and compiling.
But i get errors compiling in timer.h and timer.cpp. Looks that errors are in this line:
#ifdef WIN32
#include <windows.h>
#include <winsock.h>
int gettimeofday (timeval *tp, ...);
Any help apreciated.
PD- changelog looks awesome :D
Hey, I am the one who fixed the VS.NET project file ;)
Anyway, what compiler are you using?
I have yesterday afternoons CVS, and had erm, slight errors, but other than that, was able to get it working after a while.
Will look at my timer.cpp and timer.h and tell you if mine looks the same. one min
gottasummer
01-08-2006, 01:53 AM
#ifndef TIMER_H
#define TIMER_H
#include "types.h"
// Disgrace: for windows compile
#ifdef WIN32
#include <windows.h>
#include <winsock.h>
int gettimeofday (timeval *tp, ...);
#endif
No problems there for me :S
killhand
01-08-2006, 04:44 AM
Im using VS.net 2003, cant get it to compile.
-timeval: not declared
-tp: not declared
-syntaxt error: ...
i tried adding #include <winsock2.h> and sucessfully compiled emusharemem, but i get lots of errors in zone and world.
RangerDown
01-08-2006, 05:42 AM
// Disgrace: for windows compile
#ifdef WIN32
#include <windows.h>
#include <winsock.h>
int gettimeofday (timeval *tp, ...);
#endif
Sorry to temporarily derail the thread, but was there a coder named Disgrace, or are they saying that having to go making exceptions for Windows compiles is a disgrace?
I'm straddling the fence at 50/50 that either one of them is the case :D
gottasummer
01-08-2006, 07:04 AM
Im using VS.net 2003, cant get it to compile.
-timeval: not declared
-tp: not declared
-syntaxt error: ...
i tried adding #include <winsock2.h> and sucessfully compiled emusharemem, but i get lots of errors in zone and world.
I had to take out winsock2.h and have it just use winsock.h instead, have Uknown become CastleActionUknown in about two or three other places, too.
fathernitwit
01-08-2006, 08:40 AM
im workin on this. It should be resolved for good soon.
image
01-08-2006, 08:51 AM
There was a coder for a short period of time named Disgrace, was a good while ago.
fathernitwit
01-08-2006, 09:12 AM
anybody who can, please try building it once CVS updates with the changelog message from 01/08/06. I think the winsock problem is finally gone. It seems like each different MS compiler had a different issue, but it was all related to wonderful winsock.
gottasummer
01-08-2006, 09:26 AM
Will check it out right now and will tell you how it works out.
Just logged in on IRC again, left because there wasnt much action there.
killhand
01-08-2006, 09:04 PM
Compiles perfect now. Thanks for fixing it.
HurtinuDaily
01-09-2006, 04:01 AM
Is there anyway to download the most recent compile?
HurtinuDaily
01-10-2006, 04:01 AM
Answered my own question:
http://www.eqemulator.net/download.php
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.