Fwd: pjsip Digest, Vol 11, Issue 36

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the tip, I've just added this in the FAQ:
http://trac.pjsip.org/repos/wiki/FAQ#vs2008

(yeah should have done that long time ago).

Thanks
 Benny

On Mon, Jul 14, 2008 at 3:29 PM, Alan J. Bond <alan.bond at wintology.com>
wrote:

>  Lucas,
>
>
>
> Please check the version of Windows SDK you are using.  Here are the
> details I previously posted about this problem:
>
>
>
> Windows SDK for Windows 2008 (6001.18000.367) has a typo in iphlpapi.h.
>
>
>
> The PJSIP project will not build with this SDK version unless iphlpapi.h is
> corrected.  Nor will anything else using iphlpapi.h with _WIN32_WINNT
> defined as 0x4000 (for NT4 backward compatibility, not commonly used these
> days).  It will throw up at this point in iphlpapi.h
>
>
>
> #if (NTDDI_VERSION >= NTDDI_XP)
>
> ULONG
>
> WINAPI
>
> GetIpStatisticsEx(
>
>     OUT PMIB_IPSTATS Statistics,
>
>     IN ULONG Family
>
>     );
>
>
>
> ... complaining that PMIB_IPSTATS is undefined.  This is because it
> erroneously enters this #if block because NTDDI_XP (which should be
> NTDDI_WINXP) is undefined.  The NTDDI_xxx symbols are all defined in
> sdkddkver.h
>
>
>
> Please note that this is specific to this particular SDK version.  Just
> find the above in iphlpapi.h and change NTDDI_XP to NTDDI_WINXP.
>
>
>
> Regards,
>
> Alan.
>
>
>
> *From:* pjsip-bounces at lists.pjsip.org [mailto:
> pjsip-bounces at lists.pjsip.org] *On Behalf Of *Lucas Rosa Gal?go
> *Sent:* 14 July 2008 14:10
> *To:* pjsip at lists.pjsip.org
> *Subject:* [pjsip] Fwd: pjsip Digest, Vol 11, Issue 36
>
>
>
> Hi,
>
> I'm continuing to build under vs2008, I download the directxSDK and puts
> its lib and include dir into the pjsip project
> But I having a strange error during the build, the Microsoft compiler is
> complaing about que Microsoft code (WTF).
> Let me show the code and the error:
>
> Code:
> ULONG
> WINAPI
> GetIpStatisticsEx(
>     OUT PMIB_IPSTATS Statistics,
>     IN ULONG Family
>     );
>
> Error:
> 1>e:\arquivos de programas\microsoft
> sdks\windows\v6.1\include\iphlpapi.h(390) : error C2146: syntax error :
> missing ')' before identifier 'Statistics'
> 1>e:\arquivos de programas\microsoft
> sdks\windows\v6.1\include\iphlpapi.h(390) : error C2061: syntax error :
> identifier 'Statistics'
> 1>e:\arquivos de programas\microsoft
> sdks\windows\v6.1\include\iphlpapi.h(390) : error C2059: syntax error : ';'
> 1>e:\arquivos de programas\microsoft
> sdks\windows\v6.1\include\iphlpapi.h(390) : error C2059: syntax error : ','
> 1>e:\arquivos de programas\microsoft
> sdks\windows\v6.1\include\iphlpapi.h(392) : error C2059: syntax error : ')'
>
> Does anyone has this error?
>
> Thanks for all help
>
> Lucas R. Gal?go
>
>
>
> >Hi,
>
> >I tried it successfully on vs2008 express weeks ago. IIRC, after importing
> >the vs2005 solution, the project dependencies settings seem to be lost,
> and
> >after re-setting the project dependencies (e.g: pjsua dependent to almost
> >all other projects except samples/test projects) it compiled fine.
>
> >Regards,
> >nanang
>
>
> >On 11/07/2008, Krzysztof Adamczak <kradamcz at gmail.com> wrote:
> > >
> > >Hi,
> > >
> > > On windows I'm using mingw + msys. It works good for me. I also  tried
> > >build it with VS 2008 but with no luck.
> > >
> > >cheers
> > > >Hi guys!
> > > >
> > > > I'm trying to builde pjsip under Windows
> > > >I sucessfully build and test the pjsua under Linux
> > > >But I have a question, has anyone already build successfully the pjsip
> > > > under Visual Studio 2008?
> > >
> > > > Cheers
> > > >
> > > > --
> > > > Lucas Rosa Gal?go
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080714/2e28f0f6/attachment-0001.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux