Problem in building PJSUA Project

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

 



Hi,

Try to change #include <basetsd.h> to #include "basetsd.h" in winnt.h  or it
might be WINVER is not supporting win2000.
Hope this helps.
Anas

On Thu, Apr 9, 2009 at 4:33 AM, Senthil <senthil at gotouchpoint.com> wrote:

>  Hi,
>
>
>
> Environment used:
>
>
>
>    - Windows 2000 professional SP4
>    - Microsoft Visual C++ 2005 (including Express edition)
>    - Microsoft Platform SDK 3790.1830
>    - Microsoft DirectX SDK 9.0
>    - Microsoft .NET framework 2.0
>
>
>
> I?ve downloaded ?pjproject-1.1.zip? from pjsip.org. Then I followed the
> instructions given under the following link:
>
>
>
> http://www.pjsip.org/using.htm#svn
>
>
>
> As mentioned under the section 4.2 I tried to build the ?pjsua? project
> using Visual C++ compiler, but I received nearly 18 errors. Please find the
> output below:
>
>
>
> 1>------ Build started: Project: pjsua, Configuration: Release Win32 ------
>
> 1>Compiling...
>
> 1>main.c
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winnt.h(222) : error C2061: syntax error :
> identifier 'PVOID64'
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winnt.h(222) : error C2059: syntax error : ';'
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winnt.h(5940) : error C2061: syntax error :
> identifier 'PVOID64'
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winnt.h(5942) : error C2059: syntax error : '}'
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winbase.h(5056) : error C2146: syntax error :
> missing ')' before identifier 'aSegmentArray'
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winbase.h(5056) : error C2081:
> 'FILE_SEGMENT_ELEMENT' : name in formal parameter list illegal
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winbase.h(5056) : error C2061: syntax error :
> identifier 'aSegmentArray'
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winbase.h(5056) : error C2059: syntax error : ';'
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winbase.h(5056) : error C3409: empty attribute
> block is not allowed
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winbase.h(5056) : error C2059: syntax error : ','
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winbase.h(5060) : error C2059: syntax error : ')'
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winbase.h(5067) : error C2146: syntax error :
> missing ')' before identifier 'aSegmentArray'
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winbase.h(5067) : error C2081:
> 'FILE_SEGMENT_ELEMENT' : name in formal parameter list illegal
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winbase.h(5067) : error C2061: syntax error :
> identifier 'aSegmentArray'
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winbase.h(5067) : error C2059: syntax error : ';'
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winbase.h(5067) : error C3409: empty attribute
> block is not allowed
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winbase.h(5067) : error C2059: syntax error : ','
>
> 1>C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winbase.h(5071) : error C2059: syntax error : ')'
>
> 1>Creating browse information file...
>
> 1>Microsoft Browse Information Maintenance Utility Version 8.00.50727
>
> 1>Copyright (C) Microsoft Corporation. All rights reserved.
>
> 1>Build log was saved at "file://c:\Documents and
> Settings\senthil\Desktop\pjproject-1.0.2\pjsip-apps\build\output\pjsua-i386-win32-vc8-release\BuildLog.htm"
>
> 1>pjsua - 18 error(s), 0 warning(s)
>
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
>
>
>
> Any suggestion on this issue is greatly appreciated.
>
>
>
> Thanks & Regards,
>
> - Senthil
>
>
>
> _______________________________________________
> 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
>
>


-- 
Anass Kartit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090409/fd115d6f/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