From: <jpg...@us...> - 2007-05-09 15:06:15
|
Revision: 972 http://svn.sourceforge.net/iaxclient/?rev=972&view=rev Author: jpgrayson Date: 2007-05-09 08:06:17 -0700 (Wed, 09 May 2007) Log Message: ----------- Update the Visual Studio readme file to be [hopefully] more helpful. Modified Paths: -------------- trunk/README.VisualStudio Modified: trunk/README.VisualStudio =================================================================== --- trunk/README.VisualStudio 2007-05-09 14:45:24 UTC (rev 971) +++ trunk/README.VisualStudio 2007-05-09 15:06:17 UTC (rev 972) @@ -1,10 +1,43 @@ -To build under MS Visual Studio +These are instructions to build iaxclient with Microsoft Visual Studio +2005. The solution file and project files are located in the +contrib/win/vs2005 directory. -1) Set environment variables: -%DXSDK_DIR% - points to DirectX SDK -%PSDK_DIR% - points to Platform SDK + 1) The following environment variables must be set. Use the "System" + properties dialog in the Windows Control Panel to set these + variables either for the user or system-wide. -2) Open "Solution" file: -lib/iaxclient.sln + %DXSDK_DIR% -3) Build "Solution" + Path to the DirectX SDK. The December 2006 version of the DirectX + SDK has been known to work. + + %PSDK_DIR% + + Path to the Platform SDK. The Platform SDK for Windows Server + 2003 Release 2 has been known to work. + + 2) Open the solution file: contrib/win/vs2005/iaxclient.sln + + 3) Build the solution. This will build the several libraries (.lib + files) that must be linked with the end application: + + Release\libgsm\libgsm.lib + Release\libiax2\libiax2.lib + Release\libiaxclient\libiaxclient.lib + Release\libportaudio\libportaudio.lib + Release\libportmixer\libportmixer.lib + Release\libvideolib\libvideolib.lib + + 4) In addition to the above libraries that are built as part of the + iaxclient build, there are several other third-party library + dependencies that must be met: + + speex + libtheora + libogg + + These standard Windows-provided libraries must also be linked in: + + strmiids.lib + Wininet.lib + comsuppw.lib This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpg...@us...> - 2007-05-22 12:18:24
|
Revision: 981 http://svn.sourceforge.net/iaxclient/?rev=981&view=rev Author: jpgrayson Date: 2007-05-22 05:18:24 -0700 (Tue, 22 May 2007) Log Message: ----------- Update Visual Studio build instructions to help those seeking to build an iaxclient DLL. Modified Paths: -------------- trunk/README.VisualStudio Modified: trunk/README.VisualStudio =================================================================== --- trunk/README.VisualStudio 2007-05-22 12:17:03 UTC (rev 980) +++ trunk/README.VisualStudio 2007-05-22 12:18:24 UTC (rev 981) @@ -1,5 +1,5 @@ These are instructions to build iaxclient with Microsoft Visual Studio -2005. The solution file and project files are located in the +2005. A reference solution file and project files are located in the contrib/win/vs2005 directory. 1) The following environment variables must be set. Use the "System" @@ -38,6 +38,33 @@ These standard Windows-provided libraries must also be linked in: + comsuppw.lib strmiids.lib - Wininet.lib - comsuppw.lib + wininet.lib + ws2_32.lib + +Building a DLL +-------------- +Note that the reference solution and project files are configured to +build a static library (.lib file). To build iaxclient as a dynamic +library (.dll file), the libiaxclient project needs to be modified. +First, change the "Configuration Type" to "Dynamic Library (.dll)". +Then iaxclient's link dependencies need to be specified in +"Linker->Input->Additional Dependencies". Some of these dependencies +are built as part of the solution (libiax2, libvideolib, ...), other +dependencies come from Windows (comsuppw.lib, strmiids.lib, ...), and +yet other dependencies must come from elsewhere (libspeex, libtheora, +libogg). A working list of link dependencies might look something like +this: + + ..\..\..\..\speex\$(ConfigurationName)\libspeex.lib + ..\..\..\..\libtheora\$(ConfigurationName)\libtheora.lib + ..\..\..\..\libogg\$(ConfigurationName)\libogg.lib + $(ProjectDir)\$(ConfigurationName)\libvideolib\libvideolib.lib + $(ProjectDir)\$(ConfigurationName)\libiax2\libiax2.lib + $(ProjectDir)\$(ConfigurationName)\libgsm\libgsm.lib + strmiids.lib + wininet.lib + comsuppw.lib + ws2_32.lib + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpg...@us...> - 2008-03-31 22:53:22
|
Revision: 1381 http://iaxclient.svn.sourceforge.net/iaxclient/?rev=1381&view=rev Author: jpgrayson Date: 2008-03-31 15:53:28 -0700 (Mon, 31 Mar 2008) Log Message: ----------- Update README.VisualStudio. Fixup dependency version information. Add appendix for building a non-video version of iaxclient. Modified Paths: -------------- trunk/README.VisualStudio Modified: trunk/README.VisualStudio =================================================================== --- trunk/README.VisualStudio 2008-03-31 22:40:24 UTC (rev 1380) +++ trunk/README.VisualStudio 2008-03-31 22:53:28 UTC (rev 1381) @@ -2,9 +2,9 @@ 2005. A reference solution file and project files are located in the contrib/win/vs2005 directory. - 1) The following environment variables must be set. Use the "System" - properties dialog in the Windows Control Panel to set these - variables either for the user or system-wide. + 1) The following environment variable must be set. Use the "System" + properties dialog in the Windows Control Panel to set this + variable either for the user or system-wide. %DXSDK_DIR% @@ -12,29 +12,24 @@ SDK is known to work. The December 2006 version is also know to work. - %PSDK_DIR% + 2) The Microsoft Windows Software Development Kit version 6.0 + must be installed. After installing the Windows SDK, run the + program "Start -> Microsoft Windows SDK -> Visual Studio + Registration -> Integrate Windows SDK with Visual Studio". + This registers include and library paths with Visual Studio. - Path to the Platform SDK. The Windows SDK is known to work for - this. Assuming the Windows SDK is installed in the default - location, PSDK_DIR would be set to: - - C:\Program Files\Microsoft SDKs\Windows\v6.0 - - The older Platform SDK for Windows Server 2003 Release 2 is also - known to work. - See here for the Windows SDK: http://www.microsoft.com/downloads/details.aspx?FamilyID=c2b1e300-f358-4523-b479-f53d234cdccf - 2) Obtain dependencies. At the time of this writing, portaudio-v19, - libogg 1.1.3, speex 1.2beta1, libtheora 1.0alpha7, and libvidcap are required. - Source for these dependencies are available here: + 3) Obtain dependencies. At the time of this writing, portaudio-v19, + libogg 1.1.3, speex 1.2beta3, libtheora 1.0beta2, and libvidcap are + required. Source for these dependencies are available here: http://portaudio.com/archives/pa_snapshot_v19.tar.gz http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz - http://downloads.xiph.org/releases/speex/speex-1.2beta1.tar.gz - http://downloads.xiph.org/releases/theora/libtheora-1.0alpha7.tar.gz + http://downloads.xiph.org/releases/speex/speex-1.2beta3.tar.gz + http://downloads.xiph.org/releases/theora/libtheora-1.0beta2.tar.gz http://downloads.sourceforge.net/libvidcap/libvidcap-0.1.tar.gz In order to build with the vcproj files provided by iaxclient, @@ -50,15 +45,15 @@ C:\...\whereever\libtheora C:\...\whereever\libvidcap - 2) Open the solution file: contrib/win/vs2005/iaxclient.sln + 4) Open the solution file: contrib/win/vs2005/iaxclient.sln - 3) Choose configuration. There are four options: + 5) Choose configuration. There are four options: Release -- optimized static library Release_dll -- optimized dynamic link library Debug -- debug static library Debug_dll -- debug dynamic link library - 4) Build the solution. This will build iaxclient and all its + 6) Build the solution. This will build iaxclient and all its dependent libraries. All dependent libraries are linked into the final library. The final libiaxclient library can be found here (depending on the configuration chosen): @@ -68,3 +63,23 @@ Debug\libiaxclient\libiaxclient.lib Debug_dll\libiaxclient\libiaxclient.dll + APPENDIX A: Disable Video + + Not everyone wants or needs the video features in iaxclient. It is + possible to disable the video features in iaxclient by modifying + the solution and project files. + + A1) Remove "USE_VIDEO" and "USE_THEORA" from the PreprocessorDefinitions + sections of libiaxclient.vcproj. Note that there are four instances + of PreprocessorDefinitions, one for each configuration. + + A2) Remove vtestcall, libvidcap, libtheora, and libogg from solution. + + A3) Remove link dependencies from libiaxclient.vcproj. The following + should be removed from the "AdditionalDependencies" sections: + libvidcap.lib, libtheora.lib, and libogg.lib. + + A4) As a bonus, references to libtheora, libogg, and libvidcap may + be removed from AdditionalIncludeDirectories and + AdditionalLibraryDirectories. This is not explicitly required + though. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpg...@us...> - 2008-04-02 21:38:51
|
Revision: 1382 http://iaxclient.svn.sourceforge.net/iaxclient/?rev=1382&view=rev Author: jpgrayson Date: 2008-04-02 14:38:13 -0700 (Wed, 02 Apr 2008) Log Message: ----------- Update link for Microsoft Windows SDK download. Modified Paths: -------------- trunk/README.VisualStudio Modified: trunk/README.VisualStudio =================================================================== --- trunk/README.VisualStudio 2008-03-31 22:53:28 UTC (rev 1381) +++ trunk/README.VisualStudio 2008-04-02 21:38:13 UTC (rev 1382) @@ -20,7 +20,7 @@ See here for the Windows SDK: - http://www.microsoft.com/downloads/details.aspx?FamilyID=c2b1e300-f358-4523-b479-f53d234cdccf + http://www.microsoft.com/downloads/details.aspx?familyid=4377F86D-C913-4B5C-B87E-EF72E5B4E065 3) Obtain dependencies. At the time of this writing, portaudio-v19, libogg 1.1.3, speex 1.2beta3, libtheora 1.0beta2, and libvidcap are This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpg...@us...> - 2008-04-03 16:00:15
|
Revision: 1384 http://iaxclient.svn.sourceforge.net/iaxclient/?rev=1384&view=rev Author: jpgrayson Date: 2008-04-03 09:00:20 -0700 (Thu, 03 Apr 2008) Log Message: ----------- Update README.VisualStudio. - Clarify what is needed for video support and what is not. - Cleanup formatting. Modified Paths: -------------- trunk/README.VisualStudio Modified: trunk/README.VisualStudio =================================================================== --- trunk/README.VisualStudio 2008-04-03 15:32:13 UTC (rev 1383) +++ trunk/README.VisualStudio 2008-04-03 16:00:20 UTC (rev 1384) @@ -2,58 +2,72 @@ 2005. A reference solution file and project files are located in the contrib/win/vs2005 directory. - 1) The following environment variable must be set. Use the "System" - properties dialog in the Windows Control Panel to set this - variable either for the user or system-wide. +Steps demarked with (*) are only required if building with video +support. - %DXSDK_DIR% + 1*) Set the DXSDK_DIR environment variable. + + Use the "System" properties dialog in the Windows Control Panel to + set this variable either for the user or system-wide. The value is + the path to the DirectX SDK. The June 2007, August 2007, and + December 2006 versions of the DirectX SDK are known to work. - Path to the DirectX SDK. The June 2007 version of the DirectX - SDK is known to work. The December 2006 version is also know to - work. + 2*) Install the Microsoft Windows Software Development Kit. + + Version 6.0 is known to work. After installing the Windows SDK, run + the program "Start -> Microsoft Windows SDK -> Visual Studio + Registration -> Integrate Windows SDK with Visual Studio". This + registers include and library paths with Visual Studio. + + See here for the Windows SDK: - 2) The Microsoft Windows Software Development Kit version 6.0 - must be installed. After installing the Windows SDK, run the - program "Start -> Microsoft Windows SDK -> Visual Studio - Registration -> Integrate Windows SDK with Visual Studio". - This registers include and library paths with Visual Studio. + http://www.microsoft.com/downloads/details.aspx?familyid=4377F86D-C913-4B5C-B87E-EF72E5B4E065 + + 3) Obtain dependencies. + + 3a) At the time of this writing, portaudio-v19 and speex-1.2beta3 are + required for all configurations. Sources may be found here: - See here for the Windows SDK: + http://portaudio.com/archives/pa_snapshot_v19.tar.gz + http://downloads.xiph.org/releases/speex/speex-1.2beta3.tar.gz - http://www.microsoft.com/downloads/details.aspx?familyid=4377F86D-C913-4B5C-B87E-EF72E5B4E065 + 3b*) For video support, libogg-1.1.3, libtheora-1.0beta2, and libvidcap + are also required. Source for these dependencies are available + here: - 3) Obtain dependencies. At the time of this writing, portaudio-v19, - libogg-1.1.3, speex-1.2beta3, libtheora-1.0beta2, and libvidcap are - required. Source for these dependencies are available here: - - http://portaudio.com/archives/pa_snapshot_v19.tar.gz http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz - http://downloads.xiph.org/releases/speex/speex-1.2beta3.tar.gz http://downloads.xiph.org/releases/theora/libtheora-1.0beta2.tar.gz http://downloads.sourceforge.net/libvidcap/libvidcap-0.1.tar.gz - Additionally, to build vtestcall, SDL is required. A prebuilt binary - development package is available here: + 3c*) Additionally, to build vtestcall, SDL is required. A prebuilt + binary development package is available here: http://www.libsdl.org/release/SDL-devel-1.2.13-VC8.zip - In order to build with the vcproj files provided by iaxclient, - these dependent libraries must be moved to be peer directories to - the iaxclient source directory. They also must have the following - names: libogg, speex, libtheora and libvidcap. So the final directory - layout would be as follows: + 4) Rename/move directories. + In order to build with the vcproj files provided by iaxclient, these + dependent libraries must be moved to be peer directories to the + iaxclient source directory. They also must have the following names: + portaudio, speex, libogg, libtheora, libvidcap, and SDL. So the + final directory layout must look like this: + C:\...\whereever\iaxclient C:\...\whereever\portaudio + C:\...\whereever\speex C:\...\whereever\libogg - C:\...\whereever\speex C:\...\whereever\libtheora C:\...\whereever\libvidcap C:\...\whereever\SDL - 4) Open the solution file: contrib/win/vs2005/iaxclient.sln + 5) Open the solution file. + + Using Visual Studio 2005, open contrib/win/vs2005/iaxclient.sln. - 5) Choose configuration. There are four options: + 6) Choose configuration. + + There are four options: + Release -- optimized static library Release_dll -- optimized dynamic link library Release_novideo -- optimized static library without video support @@ -61,10 +75,12 @@ Debug_dll -- debug dynamic link library Debug_novideo -- debug static library without video support - 6) Build the solution. This will build iaxclient and all its - dependent libraries. All dependent libraries are linked into - the final library. The final libiaxclient library can be found - here (depending on the configuration chosen): + 6) Build the solution. + + This will build iaxclient and all its dependent libraries. All + dependent libraries are linked into the final library. The final + libiaxclient library can be found here (depending on the + configuration chosen): Release\libiaxclient\libiaxclient.lib Release_dll\libiaxclient\libiaxclient.dll This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |