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. |