I wish to include this information
:
- I am
using Visual C++ 6.0 to compile ns2.
Please help. Thank you.
-----Original Message-----
From: Tan Yuan Sin <[email protected]> To: ns-users <[email protected]> Date: Thursday, September 02, 1999 2:45 AM Subject: problem with installation of ns-2.1b6-current I am using a Windows 95 system and have
successfully installed eariler version of ns2.
But when I tried to install the latest snapshot, I
have this error :-
scheduler.cpp
packet.h(234) : error C2555: 'PacketData::copy' : overriding virtual function di ffers from 'AppData::copy' only by return type or calling convention ns-process.h(72) : see declaration of 'AppData' packet.h(459) : error C2259: 'PacketData' : cannot instantiate abstract class du e to following members: packet.h(210) : see declaration of 'PacketData' packet.h(459) : warning C4259: 'class AppData *__thiscall AppData::copy(void)' : pure virtual function was not defined ns-process.h(86) : see declaration of 'copy' packet.h(459) : error C2259: 'PacketData' : cannot instantiate abstract class du e to following members: packet.h(210) : see declaration of 'PacketData' packet.h(459) : warning C4259: 'class AppData *__thiscall AppData::copy(void)' : pure virtual function was not defined ns-process.h(86) : see declaration of 'copy' NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~2\VC98\BIN\cl.exe' : return code '0x2' Stop. It is due to this line in ns-process.cpp : -
" virtual AppData* copy() = 0;
"
and this line in scheduler.cpp :-
" virtual PacketData* copy() { return new
PacketData(*this); } "
Can anyone help me with this problem? I have
deleted my old version of ns2 and need this
latest version urgently. Thank you very
much.
|