Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-27-2002, 11:15 AM
Davn
Fire Beetle
 
Join Date: Jun 2002
Posts: 5
Default Compiling 0.3.4 in VC++ .NET?

Has anybody been able to compile the ZoneNT project in VC++ .NET? I get a bunch of errors with mutex.cpp as follows:

d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2065: 'cout' : undeclared identifier
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2296: '<<' : illegal, left operand has type ''unknown-type''
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2297: '<<' : illegal, right operand has type 'char [46]'
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2065: 'endl' : undeclared identifier
d:\eqemu-0.3.4-Source\common\Mutex.cpp(18: error C2296: '<<' : illegal, left operand has type ''unknown-type''
d:\eqemu-0.3.4-Source\common\Mutex.cpp(18: error C2297: '<<' : illegal, right operand has type 'char [14]'
d:\eqemu-0.3.4-Source\common\Mutex.cpp(235): error C2296: '<<' : illegal, left operand has type ''unknown-type''
d:\eqemu-0.3.4-Source\common\Mutex.cpp(235): error C2297: '<<' : illegal, right operand has type 'char [14]'
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2065: 'cout' : undeclared identifier
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2296: '<<' : illegal, left operand has type ''unknown-type''
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2297: '<<' : illegal, right operand has type 'char [46]'
d:\eqemu-0.3.4-Source\common\Mutex.cpp(159): error C2065: 'endl' : undeclared identifier
d:\eqemu-0.3.4-Source\common\Mutex.cpp(18: error C2296: '<<' : illegal, left operand has type ''unknown-type''
d:\eqemu-0.3.4-Source\common\Mutex.cpp(18: error C2297: '<<' : illegal, right operand has type 'char [14]'
d:\eqemu-0.3.4-Source\common\Mutex.cpp(235): error C2296: '<<' : illegal, left operand has type ''unknown-type''
d:\eqemu-0.3.4-Source\common\Mutex.cpp(235): error C2297: '<<' : illegal, right operand has type 'char [14]'

Obviously all of the errors deal with the iostream header file, thus I commented out the following:

//#define DEBUG_MUTEX_CLASS 0
//#if DEBUG_MUTEX_CLASS >= 1
#include <iostream.h>
//#endif

And it compiles... but the client can't log their character into the zone. The size of ZoneNT.exe after compiling (after commenting out the above lines) is around 2x the size as well.....

Does anybody know a way to get around these errors? Thanks!

Peace,

Davn
Reply With Quote
  #2  
Old 06-27-2002, 05:19 PM
Ursine
Fire Beetle
 
Join Date: May 2002
Posts: 6
Default

There's a topic in this very forum about that. Currently it's only three topics below this one. =)

Basically, some of the includes need to have the .h dropped, and some of the source files need using namespace std; added.

Ursine
Reply With Quote
  #3  
Old 06-27-2002, 07:38 PM
Davn
Fire Beetle
 
Join Date: Jun 2002
Posts: 5
Default

Actually I fixed it using another method.

PS: Thanks for your guidance, I don't have eyes.
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 05:58 PM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3