EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Latest CVS windows compiles (https://www.eqemulator.org/forums/showthread.php?t=19924)

killhand 01-08-2006 12:32 AM

Latest CVS windows compiles
 
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

Quote:

Originally Posted by killhand
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

Code:

  // 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

Quote:

Originally Posted by killhand
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


All times are GMT -4. The time now is 05:54 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.