Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-08-2006, 12:32 AM
killhand
Fire Beetle
 
Join Date: Apr 2005
Posts: 25
Default 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
Reply With Quote
  #2  
Old 01-08-2006, 01:51 AM
gottasummer
Discordant
 
Join Date: Mar 2004
Location: New Hampshire, USA
Posts: 267
Default

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
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
Reply With Quote
  #3  
Old 01-08-2006, 01:53 AM
gottasummer
Discordant
 
Join Date: Mar 2004
Location: New Hampshire, USA
Posts: 267
Default

#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
Reply With Quote
  #4  
Old 01-08-2006, 04:44 AM
killhand
Fire Beetle
 
Join Date: Apr 2005
Posts: 25
Default

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.
Reply With Quote
  #5  
Old 01-08-2006, 05:42 AM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

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
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.

Last edited by RangerDown; 01-08-2006 at 01:44 PM..
Reply With Quote
  #6  
Old 01-08-2006, 07:04 AM
gottasummer
Discordant
 
Join Date: Mar 2004
Location: New Hampshire, USA
Posts: 267
Default

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.
Reply With Quote
  #7  
Old 01-08-2006, 08:40 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

im workin on this. It should be resolved for good soon.
Reply With Quote
  #8  
Old 01-08-2006, 08:51 AM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,290
Default

There was a coder for a short period of time named Disgrace, was a good while ago.
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
Reply With Quote
  #9  
Old 01-08-2006, 09:12 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

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.
Reply With Quote
  #10  
Old 01-08-2006, 09:26 AM
gottasummer
Discordant
 
Join Date: Mar 2004
Location: New Hampshire, USA
Posts: 267
Default

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.
Reply With Quote
  #11  
Old 01-08-2006, 09:04 PM
killhand
Fire Beetle
 
Join Date: Apr 2005
Posts: 25
Default

Compiles perfect now. Thanks for fixing it.
Reply With Quote
  #12  
Old 01-09-2006, 04:01 AM
HurtinuDaily
Hill Giant
 
Join Date: Nov 2005
Posts: 145
Default

Is there anyway to download the most recent compile?
Reply With Quote
  #13  
Old 01-10-2006, 04:01 AM
HurtinuDaily
Hill Giant
 
Join Date: Nov 2005
Posts: 145
Default

Answered my own question:
http://www.eqemulator.net/download.php
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:29 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3