Compiling pjsip and pjsua for Win32!

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

 



Alberto,

 

Make sure you have gone in your visual studio to Tools>Options>Project & Solutions>VC++ Directories>Include and add C:\Program Files\Microsoft DirectX SDK (March 2008)\Include then go to  Tools>Options>Project & Solutions>VC++ Directories>Libraries and add C:\Program Files\Microsoft DirectX SDK (March 2008)\Lib\ and C:\Program Files\Microsoft DirectX SDK (March 2008)\Lib\x86

 

Regards,

Elias.


Date: Mon, 11 May 2009 23:13:40 +0100
From: perry@xxxxxxxxx
To: pjsip at lists.pjsip.org
Subject: Re: Compiling pjsip and pjsua for Win32!

Alberto,

We're preparing some new guide: http://trac.pjsip.org/repos/wiki/Getting-Started/Windows

For your specific case, make sure you've installed DirectX SDK and added the paths to Visual Studio.


On Mon, May 11, 2009 at 22:54, Alberto Lavariega <alavariega at dextratech.com> wrote:




Hi everybody, how are you?

 

I?m trying to compile pjsip and pjsua for win32, the steps that I followed were the next:

 

Building Win32 Target with Microsoft Visual Studio 

Generally we can just do these steps:
1.      Visual Studio 6: open pjproject.dsw workspace,
2.      Visual Studio 8/2005: open pjproject-vs8.sln solution,
3.      Create an empty pjlib/include/pj/config_site.h, and
4.      build the pjsua application.
But there are some errors that appear:

 

1>------ Build started: Project: libportaudio, Configuration: Debug Win32 ------

1>Compiling...

1>pa_x86_plain_converters.c

1>pa_win_ds_dynlink.c

1>e:\softphone\pjproject-1.2\third_party\portaudio\src\hostapi\dsound\pa_win_ds_dynlink.h(62) : fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory

1>pa_win_ds.c

1>e:\softphone\pjproject-1.2\third_party\portaudio\src\hostapi\dsound\pa_win_ds.c(82) : fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory

1>Generating Code...

1>Creating browse information file...

1>Microsoft Browse Information Maintenance Utility Version 8.00.50727

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>BSCMAKE: error BK1506 : cannot open file '.\output\libportaudio-i386-Win32-vc8-Debug\pa_win_ds.sbr': No such file or directory

1>Project : warning PRJ0018 : The following environment variables were not found:

1>$(DXSDK_DIR)

1>Build log was saved at "file://e:\SoftPhone\pjproject-1.2\third_party\build\portaudio\output\libportaudio-i386-Win32-vc8-Debug\BuildLog.htm"

1>libportaudio - 3 error(s), 0 warning(s)

2>------ Build started: Project: libpjproject, Configuration: Debug Win32 ------

2>Creating library...

2>LIB : fatal error LNK1181: cannot open input file '..\..\third_party\lib\libportaudio-i386-Win32-vc8-Debug.lib'

2>Build log was saved at "file://e:\SoftPhone\pjproject-1.2\pjsip-apps\build\output\libpjproject-i386-Win32-vc8-Debug\BuildLog.htm"

2>libpjproject - 1 error(s), 0 warning(s)

3>------ Build started: Project: pjsua, Configuration: Debug Win32 ------

3>Linking...

3>LINK : fatal error LNK1104: cannot open file 'dsound.lib'

3>Build log was saved at "file://e:\SoftPhone\pjproject-1.2\pjsip-apps\build\output\pjsua-i386-Win32-vc8-Debug\BuildLog.htm"

3>pjsua - 1 error(s), 0 warning(s)

========== Build: 0 succeeded, 3 failed, 17 up-to-date, 0 skipped ==========

 

 

Do you know if I need include another file or how I could fix this problem?. My development tool is Microsoft Visual Studio 2005

 

Thanks of beforehand for your help.

 

Best Regards

 

Alberto L.

 

 

 

_______________________________________________
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



-- 
Perry Ismangil


_________________________________________________________________
Windows Live?: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090512/35bcbf6f/attachment.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