Re: compiling gloox 1.0-beta2 with MSVC2005
From: Jakob Schröter <js@xxxxxxxxxx>
Date: Fri, 7 Mar 2008 12:26:02 +0100 (CET)
On Friday March 7 2008, Alban Taraire wrote:
> On Friday 07 March 2008 12:13:47 Alban Taraire wrote:
> > I checked a bit more, the gloox.dsp file refers to softwareversion.h and
> > softwareversion.cpp but these files are nowhere to be found in the
> > tarball.
> >
> > Are these files important or can be removed from gloox.dsp ?
> > Since it works on Linux without them, I guess they are obsolete ?
>
> i excluded the softwareversion.* files from the project, this lead to the
> following linking errors :

The .dsp is out of date. Besides removing softwareversion.{h,cpp}, please add 
event.h and eventdispatcher.{h,cpp}. Also, you'll have to add these libs for 
the linker: crypt32 secur32 dnsapi
Further, the attached patchlet might help as well.

cheers,
Jakob
Index: pubsubevent.h
===================================================================
--- pubsubevent.h       (revision 3658)
+++ pubsubevent.h       (revision 3659)
@@ -120,8 +120,8 @@
         ItemOperationList* m_itemOperations;
         std::string m_collection;
 
-        static const ItemOperationList m_emptyOperationList;
-        static const StringList m_emptyStringList;
+        const ItemOperationList m_emptyOperationList;
+        const StringList m_emptyStringList;
 
     };
 

Attachment: signature.asc
Description: This is a digitally signed message part.