Documents Download Building Support Wiki Stuff |
Main /
Building Opal on WindowsMain.BuildingOpal HistoryShow minor edits - Show changes to output Changed lines 15-16 from:
!! to:
!!Introduction Changed lines 20-21 from:
!! to:
!!Prerequisites Changed lines 29-30 from:
!! to:
!!Download and install the OPAL source code Changed lines 36-43 from:
!! If you are using Visual Studio 2013, open the @@opal_2013.sln@@ solution file. If you are using Visual Studio 2012, open the @@opal_2012.sln@@ solution file. If you are using Visual Studio 2010, open the @@opal_2010.sln@@ solution file. to:
!!Open the @@opal_2017.sln@@ solution file Changed lines 47-48 from:
!! to:
!!Configure directories Changed lines 58-59 from:
!! to:
!!Build the @@OPAL Static@@ project Changed lines 64-65 from:
!! to:
!!Build the @@OPAL_dll@@ project Changed lines 72-73 from:
!! to:
!!Build the samples Changed line 77 from:
!! to:
!!Build the codec plugins Changed lines 55-56 from:
to:
You may need to add the following directories to environment variables: Added lines 60-61:
Note: if the ''installdir''\OPAL and ''installdir''\PTLIB, use the same ''installdir'', then you do not need to set the above or set the PTLib environment variables to build OPAL. Changed lines 12-13 from:
to:
# [[#BuildPlugins|Build the codec plug ins]] Changed lines 17-20 from:
This document provides Support for MSVC 6 and DevStudio 2003 is no longer maintained as they are very old and MSVC 6 in particular contains bugs that cause many problems. While Windows 2000 may work for builds and running executables, it is expected that at least Windows XP would be used and no gurantees are made the future versions to:
This document provides instructions for building PTLib with Visual Studio on Windows. Deleted lines 25-28:
* If using SVN download, [[http://tortoisesvn.net/downloads|Tortoise SVN]] is highly recommended. Changed lines 38-43 from:
If you are using If you are using If you are using to:
If you are using Visual Studio 2013, open the @@opal_2013.sln@@ solution file. If you are using Visual Studio 2012, open the @@opal_2012.sln@@ solution file. If you are using Visual Studio 2010, open the @@opal_2010.sln@@ solution file. Changed lines 55-61 from:
* Add ''installdir''\OPAL\LIB to the Library directory list Note: for Windows Mobile, make sure you also set those platforms, see [[Main.BuildingPTLib#WindowsMobile|Notes on Windows Mobile]] to:
While not always necessary, you may add the following directories to environment variables: * Add ''installdir''\OPAL\LIB to the PATH environment variable * Add ''installdir''\OPAL\INCLUDE to the INCLUDE environment variable * Add ''installdir''\OPAL\LIB to the LIB environment variable Changed lines 70-71 from:
The @@OPAL Static@@ project must be built before building @@Opal_dll@@. to:
The @@OPAL Static@@ project must be built before building @@Opal_dll@@. This should happen automatically through the solution file dependencies, if something goes wrong you can do it manually to be sure. Changed lines 78-86 from:
To build some of the samples you may open open the @@opal_samples_XXXX.sln@@ solution file to:
To build some of the samples you may open open the @@opal_samples_XXXX.sln@@ solution file. There a number of sample and utility applications here that may be compiled as you desire. [[#BuildPlugins]] !!9. Build the codec plugins To build some of the codec plugins you may open open the @@''installdir''\OPAL\plugins\plugins_XXXX.sln@@ solution file. There a large number of codecs available, some of which will require third party libraries to build. Consult the various ReadMe.txt files in those codecs sub-directories. The most important third party library is FFMPEG, instructions for using this is contained in ''installdir''\OPAL\plugins\video\common\ReadMe.txt. Changed lines 18-19 from:
Support for MSVC 6 to:
Support for MSVC 6 and DevStudio 2003 is no longer maintained as they are very old and MSVC 6 in particular contains bugs that cause many problems. While Windows 2000 may work for builds and running executables, it is expected that at least Windows XP would be used and no gurantees are made the future versions. Changed lines 27-29 from:
* VS.net ** Note that you cannot use the free VS.net 2003 available from Microsoft as building without the IDE is not supported. to:
* VS.net 2005, VS.net 2008, Visual C++ 2008 Express Edition, Visual Studio 2010 or Visual C++ 2010 Express Edition. Deleted lines 42-43:
Added lines 47-48:
If you are using VS 2010, open the @@opal_2010.sln@@ solution file. Changed lines 25-26 from:
* A compiled PTLib installation (see [[ to:
* A compiled PTLib installation (see [[Main.BuildingPTLib|Compiling PTLib]]) Changed lines 39-40 from:
The OPAL source may be downloaded as a ZIP file from the [[http://sourceforge.net/project/showfiles.php?group_id=204472|SourceForge download page]] or you may download it using [[ to:
The OPAL source may be downloaded as a ZIP file from the [[http://sourceforge.net/project/showfiles.php?group_id=204472|SourceForge download page]] or you may download it using [[Main.Subversion|Subversion]] Added lines 66-67:
Note: for Windows Mobile, make sure you also set those platforms, see [[Main.BuildingPTLib#WindowsMobile|Notes on Windows Mobile]] March 20, 2009, at 12:23 AM
by - Update for VS2008
Changed line 6 from:
# [[#Downloads|Download and install the to:
# [[#Downloads|Download and install the OPAL source code]] Changed lines 9-11 from:
# [[#BuildOpalStatic|Build the @@ # [[#BuildOpalDLL|Build the @@ to:
# [[#BuildOpalStatic|Build the @@OPAL Static@@ project]] # [[#BuildOpalDLL|Build the @@OPAL_dll@@ project]] # [[#BuildSamples|Build the samples]] Changed lines 16-19 from:
This document Support to:
This document provides a thorough description of the building PTLib for Visual Studio on Windows. Support for MSVC 6 is no longer maintained as it is very old and contains bugs that cause many problems. While Windows 2000 may work for builds and running executables, it is expected that at least Windows XP would be used and no gurantees are made the future versions. Changed lines 27-34 from:
* VS.net 2003, VS.net 2005 Note that you cannot use the VS Visual C++ 2005 Expresss Edition * A copy of the Opal source archive from the [[http://sourceforge.net/project/showfiles.php?group_id=204472|SourceForge download page]] or from [[http://wiki * An unzip program such as WinZIP to:
* VS.net 2003, VS.net 2005, Visual C++ 2005 Express Edition, VS.net 2008 or Visual C++ 2008 Express Edition. ** Note that you cannot use the free VS.net 2003 available from Microsoft as building without the IDE is not supported. * If using SVN download, [[http://tortoisesvn.net/downloads|Tortoise SVN]] is highly recommended. * There are a number of optional downloads for extra features, for example SRTP. OPAL will automatically detect if these are installed and compile the system accordingly. Changed lines 39-40 from:
to:
The OPAL source may be downloaded as a ZIP file from the [[http://sourceforge.net/project/showfiles.php?group_id=204472|SourceForge download page]] or you may download it using [[http://wiki.opalvoip.org/index.php?n=Main.Subversion|Subversion]] Added lines 48-49:
If you are using VS.net 2008, open the @@opal_2008.sln@@ solution file. Changed lines 61-62 from:
to:
Once Visual Studio is started, select "Tools" from the "Options" menu, then open the "Projects and Solutions" element in the tree on the left, and finally select the "VC++ Directories" entry. Add the following directories settings: Deleted line 63:
Changed lines 67-69 from:
!!6. Build the @@ Build the @@ to:
!!6. Build the @@OPAL Static@@ project Build the @@OPAL Static@@ project to create a static code library containing all of the OPAL code. Changed lines 73-77 from:
!!7. Build the @@ The @@ Build the @@Opal_dll@@ to:
!!7. Build the @@OPAL_dll@@ project The @@OPAL Static@@ project must be built before building @@Opal_dll@@. Thist should happen automatically through the solution file dependencies, if something goes wrong you can do it manually to be sure. Build the @@OPAL_dll@@ project to create a DLL code library containing all of the Opal code. Added lines 79-84:
[[#BuildSamples]] !!8. Build the samples To build some of the samples you may open open the @@opal_samples_XXXX.sln@@ solution file, where XXX is 2003, 2005 or 2008 as appropriate. There a number of sample and utility applications here that may be compiled as you desire. Changed lines 17-18 from:
as it is very old and contains many bugs that to:
as it is very old and contains many bugs that cause problems in many circumstances Changed lines 68-69 from:
Build the @@Opal Static@@ project to create a static code library containing all of the to:
Build the @@Opal Static@@ project to create a static code library containing all of the Opal code. In Release mode, this will build the @@opals.lib@@ file. In Debug mode, this will build the @@opalsd.lib@@ file. Added lines 74-75:
The @@Opal Static@@ project must be built before building @@Opal_dll@@. Changed line 77 from:
to:
In Release mode, this will build the @@opal.dll@@ file. In Debug mode, this will build the @@opald.dll@@ file. Deleted lines 14-15:
Changed lines 20-21 from:
2. Prerequisites to:
!!2. Prerequisites Changed lines 35-36 from:
3. Download and install the OPAL source code to:
!!3. Download and install the OPAL source code Added lines 1-77:
(:title Building Opal on Windows:) !! Contents # [[#Introduction|Introduction]] # [[#Prerequisites|Prerequisites]] # [[#Downloads|Download and install the Opal source code]] # [[#SolutionFile|Open the solution file]] # [[#Directories|Configure directories]] # [[#BuildOpalStatic|Build the @@Opal Static@@ project]] # [[#BuildOpalDLL|Build the @@Opal_dll@@ project]] [[#Introduction]] !!1. Introduction 1. Introduction This document describes how to build Opal using VS.net 2003 and VS.net 2005. Support for MSVC 6 is no longer maintained as it is very old and contains many bugs that may cause problems in some circumstances [[#Prerequisites]] 2. Prerequisites You will need the following: * A compiled PTLib installation (see [[http://wiki.opalvoip.org/index.php?n=Main.BuildingPTLib|Compiling PTLib]]) * VS.net 2003, VS.net 2005 or Visual C++ 2005 Express Edition. Note that you cannot use the VS.net 2003 available from Microsoft as building without the IDE is not supported. Visual C++ 2005 Expresss Edition is supported (follow the instructions for VS.net 2005) * A copy of the Opal source archive from the [[http://sourceforge.net/project/showfiles.php?group_id=204472|SourceForge download page]] or from [[http://wiki.opalvoip.org/index.php?n=Main.Subversion|Subversion]] * An unzip program such as WinZIP [[#Download]] 3. Download and install the OPAL source code Download and extract the OPAL source code. For the purposes of this document, the directory that contains Opal will be indicated as ''installdir''\OPAL For the purposes of this document, the directory that contains OPAL will be indicated as installdir\OPAL [[#SolutionFile]] !!4. Open the solution file If you are using VS.net 2003, open the @@opal.sln@@ solution file. If you are using VS.net 2005, open the @@opal_2005.sln@@ solution file. The solution contain the following projects: * @@OPAL Static@@ * @@OPAL_dll@@ * @@PTLib DLL@@ * @@PTLib Static@@ * @@Simple OPAL DLL@@ * @@Simple OPAL Static@@ [[#Directories]] !!5. Configure directories Select "Tools" from the "Options" menu, and add the following directories settings as required * Add ''installdir''\OPAL\INCLUDE to the Include directory list * Add ''installdir''\OPAL\LIB to the Executable directory list * Add ''installdir''\OPAL\LIB to the Library directory list [[#BuildOpalStatic]] !!6. Build the @@Opal Static@@ project Build the @@Opal Static@@ project to create a static code library containing all of the PTLib code. [[#BuildOpalDLL]] !!7. Build the @@Opal_dll@@ project Build the @@Opal_dll@@ project to create a DLL code library containing all of the Opal code. The @@Opal Static@@ project must be built first. |