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 08-01-2003, 09:22 AM
Mortimus
Fire Beetle
 
Join Date: Jan 2003
Location: P-town
Posts: 18
Default DR2 zone compile error

When I try to compile zone, i get the following errors..


--------------------Configuration: Zone - Win32 Release--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
MobAI.cpp
C:\eqemu\MortimusDev\source\current\Zone\MobAI.cpp (1551) : error C2955: 'list' : use of class template requires template argument list
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\list(415) : see declaration of 'list'
C:\eqemu\MortimusDev\source\current\Zone\MobAI.cpp (1625) : error C2955: 'list' : use of class template requires template argument list
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\list(415) : see declaration of 'list'
parser.cpp
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(59) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(73) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(134) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(171) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(18 : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(191) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(274) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(561) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(944) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(956) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1005) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1056) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1089) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1283) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1293) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1294) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1295) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1296) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1384) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1385) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1394) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1395) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1405) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1411) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1412) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1413) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1419) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(1462) : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
C:\eqemu\MortimusDev\source\current\Zone\parser.cp p(147 : error C2039: 'clear' : is not a member of 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >'
Error executing cl.exe.

Zone.exe - 31 error(s), 1 warning(s)



And when I try to compile EmuShareMem i get the following error

--------------------Configuration: EMuShareMem - Win32 Release--------------------
Compiling...
NPCFactionLists.cpp
C:\eqemu\MortimusDev\source\current\EMuShareMem\NP CFactionLists.cpp(55) : error C2065: 'DEBUG' : undeclared identifier
Error executing cl.exe.

EMuShareMem.dll - 1 error(s), 0 warning(s)

Any help would be much appreciated.
__________________
~Mortimus~
Mortimus
Reply With Quote
  #2  
Old 08-02-2003, 12:05 AM
Mongrel
Hill Giant
 
Join Date: Jul 2003
Location: Germany
Posts: 232
Default

Change "list" to something else (like "_list" or something). I read that I didn't work for someone, but it worked for me.

Change all the "clear"s to "erase".
Note: There are four appearances of .clear() in that file that are ok, so don't just use the replace function. Only change those causing an error.

"#define DEBUG" at the beginning of "NPCFactionList.cpp"
Reply With Quote
  #3  
Old 08-02-2003, 01:12 AM
Bigpull
Discordant
 
Join Date: Feb 2003
Posts: 305
Default

Compiling...
NPCFactionLists.cpp
C:\eqemu\MortimusDev\source\current\EMuShareMem\NP CFactionLists.cpp(55) : error C2065: 'DEBUG' : undeclared identifier
Error executing cl.exe.


This is a VS project error, there should be a /D DEBUG=X X being a number between 0 and 11, i don't recommend setting it any higher than 5 if you plan on having anyone except yourself login
Reply With Quote
  #4  
Old 08-02-2003, 10:15 AM
Mortimus
Fire Beetle
 
Join Date: Jan 2003
Location: P-town
Posts: 18
Default ok, now i got these errors

Here are the errors I get now..

--------------------Configuration: Zone - Win32 Release--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
doors.cpp
Linking...
Creating library ../Build/Zone.lib and object ../Build/Zone.exp
NPCFactionLists.obj : error LNK2001: unresolved external symbol "public: __thiscall MMF::MMF(void)" (??0MMF@@QAE@XZ)
NPCFactionLists.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall MMF::~MMF(void)" (??1MMF@@UAE@XZ)
NPCFactionLists.obj : error LNK2001: unresolved external symbol "public: bool __thiscall MMF::Open(char const *,unsigned int)" (?Open@MMF@@QAE_NPBDI@Z)
../Build/Zone.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

Zone.exe - 4 error(s), 1 warning(s)
__________________
~Mortimus~
Mortimus
Reply With Quote
  #5  
Old 08-02-2003, 12:01 PM
Mortimus
Fire Beetle
 
Join Date: Jan 2003
Location: P-town
Posts: 18
Default fixed

well I fixed it by adding mmf.cpp to the workspace
__________________
~Mortimus~
Mortimus
Reply With Quote
  #6  
Old 08-03-2003, 01:22 AM
Bigpull
Discordant
 
Join Date: Feb 2003
Posts: 305
Default Re: ok, now i got these errors

Quote:
Originally Posted by Mortimus
Here are the errors I get now..

--------------------Configuration: Zone - Win32 Release--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
doors.cpp
Linking...
Creating library ../Build/Zone.lib and object ../Build/Zone.exp
NPCFactionLists.obj : error LNK2001: unresolved external symbol "public: __thiscall MMF::MMF(void)" (??0MMF@@QAE@XZ)
NPCFactionLists.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall MMF::~MMF(void)" (??1MMF@@UAE@XZ)
NPCFactionLists.obj : error LNK2001: unresolved external symbol "public: bool __thiscall MMF::Open(char const *,unsigned int)" (?Open@MMF@@QAE_NPBDI@Z)
../Build/Zone.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

Zone.exe - 4 error(s), 1 warning(s)
Zone does not and should not be linked against any of the the files in EMuShareMem
Reply With Quote
  #7  
Old 08-03-2003, 04:58 AM
Mortimus
Fire Beetle
 
Join Date: Jan 2003
Location: P-town
Posts: 18
Default what to then..

What should I do then, it compiled fine, and works fine like that.


..Well I removed NpcFactionlist.cpp and mmf.cpp from the zone workspace, and it compiled fine..
__________________
~Mortimus~
Mortimus
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 08:22 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