< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] Problems compiling DUM with dotNET 7.0


Hi.
I am having trouble building the DUM project using Dev Studio 7.0

As an aside : I notice there is only a dum_7_1.vcproj file and not a dum_7_0.vcproj file as one would expect. I have changed the version (in the dum_7_1.vcproj file) to 7.00 from 7.10 and this seems to be fine. Can anyone confirm this?

The main issue, though, is that I can't build the DUM project (I have no problem building the resiprocate, ares etc. projects). Three files give me a problem. They are (in build order) ServerSubscription.cxx, ServerInviteSession.cxx and AppDialog.cxx.
The errors that the compiler generates are:

Compiling...
ServerSubscription.cxx
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\utility(56) : error C2079: 'std::pair<_Ty1,_Ty2>::second' uses undefined class 'resip::SipMessage'
      with
      [
          _Ty1=const int,
          _Ty2=resip::SipMessage
      ]
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\xtree(42) : see reference to class template instantiation 'std::pair<_Ty1,_Ty2>' being compiled
      with
      [
          _Ty1=const int,
          _Ty2=resip::SipMessage
      ]
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\xtree(61) : see reference to class template instantiation 'std::_Tree_nod<_Traits>' being compiled
      with
      [
_Traits=std::_Tmap_traits<int,resip::SipMessage,std::less<int>,std::allocator<std::pair<const int,resip::SipMessage>>,false>
      ]
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\xtree(83) : see reference to class template instantiation 'std::_Tree_ptr<_Traits>' being compiled
      with
      [
_Traits=std::_Tmap_traits<int,resip::SipMessage,std::less<int>,std::allocator<std::pair<const int,resip::SipMessage>>,false>
      ]
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\xtree(101) : see reference to class template instantiation 'std::_Tree_val<_Traits>' being compiled
      with
      [
_Traits=std::_Tmap_traits<int,resip::SipMessage,std::less<int>,std::allocator<std::pair<const int,resip::SipMessage>>,false>
      ]
C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\map(77) : see reference to class template instantiation 'std::_Tree<_Traits>' being compiled
      with
      [
_Traits=std::_Tmap_traits<int,resip::SipMessage,std::less<int>,std::allocator<std::pair<const int,resip::SipMessage>>,false>
      ]
c:\resiprocate\resiprocate\dum\\../../resiprocate\dum\Dialog.hxx(144) : see reference to class template instantiation 'std::map<_Kty,_Ty,_Pr,_Alloc>' being compiled
      with
      [
          _Kty=int,
          _Ty=resip::SipMessage,
          _Pr=std::less<int>,
          _Alloc=std::allocator<std::pair<const int,resip::SipMessage>>
      ]

The same errors are also listed for the ServerInviteSession.cxx and AppDialog.cxx files.

Can anyone provide an explanation? Any help would be much appreciated.

Cheers,
Tony