Update of /cvsroot/audacity/audacity-src/win In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv26162
Modified Files: Tag: AUDACITY_1_2 compile.txt Log Message: Update for simplified wxWidgets build steps, now supplying VC7 project files for wxWidgets 2.4.2. Remove redundant statements and contradictions. Move wxWdigets comments to wxWidgets section. Index: compile.txt =================================================================== RCS file: /cvsroot/audacity/audacity-src/win/compile.txt,v retrieving revision 1.15.2.12 retrieving revision 1.15.2.13 diff -u -d -r1.15.2.12 -r1.15.2.13 --- compile.txt 28 Oct 2006 23:28:45 -0000 1.15.2.12 +++ compile.txt 8 Nov 2006 00:25:11 -0000 1.15.2.13 @@ -14,34 +14,25 @@ ================================================================ This version is currently accurate for Audacity version 1.2.5. -Last Updated: August 03, 2006 +Last Updated: November 7, 2006 If the advice here is inaccurate or incomplete, please email [EMAIL PROTECTED] ================================================================ -Audacity 1.2.x releases are built with Visual C++ 2003 onwards. The freely -available Express editions are fully suitable for this. The build process has -not been updated to VC 8 as there is no active development of the 1.2.x -branch, and release builds come from CVS sources. We recommend anyone trying -to build audacity on windows to build from 1.3.x sources, or failing that -1.2.x CVS rather than this tarball. You will probably need to do some work to -get a functional set of projects for Visual Studio, or else do a command line +Audacity 1.2.x releases are built with Microsoft Visual C++ 7 +("VC7", in Visual Studio 2003). The build process has not been +updated to VC8 (VS2005) as there is no active development of the +1.2.x branch. Unfortunately, Microsoft no longer makes VC7 +available. So, we recommend building Audacity on Windows +from 1.3.x sources, or failing that 1.2.x CVS rather +than the tarball. If you do not have VC7 and are trying to build +1.2.x in VC8, you will probably need to do some work to +get a functional set of VS2005 projects, or else do a command line build in Cygwin -wxWidgets must be built with the same compiler as is used to build -audacity. - -It is worth noting that Audacity uses VC++'s multithreaded -statically-linked run-time libraries. +Note that wxWidgets must be built with the same compiler used to +build Audacity. -A note regarding the library wxWidgets, which is used by Audacity: - - This library was formerly known as wxWindows, but its name has - now changed to wxWidgets. At the time of writing, the current - version 2.4.2 is advertised as "wxWidgets 2.4.2", but the file - archives still contain the old name. It is expected that this will - change in future releases, so some of the instructions below - may or may not apply. --------------------------- MSVC++ STEP 1: Download wxWidgets @@ -49,46 +40,46 @@ To simplify the implementation of a near-identical user interface across platforms, Audacity uses classes and resources from wxWidgets, a portable GUI framework for C++ -(and Python). You must download and build wxWidgets before -attempting to compile Audacity, or nothing will work! - -wxWidgets is available from http://www.wxwidgets.org. -Similar to the Linux kernel, wxWidgets is available as -stable and development branches. +(and Python). You must download and build wxWidgets before +attempting to compile Audacity. Audacity 1.2.x series builds use wxWidgets 2.4.x series for -Microsoft Windows (MSW), available at +Microsoft Windows (MSW), available at "http://www.wxwidgets.org/". +Note that wxWidgets was formerly known as wxWindows, but its name +changed to wxWidgets. At the time of writing, the current +version 2.4.2 is advertised as "wxWidgets 2.4.2", but the file +archives still contain the old name. This changed in later +releases, so some of the instructions below may or may not apply. + ------------------------ MSVC++ STEP 2: Build wxWidgets ------------------------ When you have downloaded and installed wxWidgets, you must -build it. First though, to be compatible with Audacity, you -must alter the build settings to use the multithreaded -statically-linked run-time libraries instead of the -multithreaded DLL run-time libraries. This isn't hard: - -1. Launch Visual C++ and open the workspace file called - "wxWidgets.dsw" in the "src" directory of your wxWidgets - installation. - -2. Select "Project"->"Settings" (Alt+F7), choose "Win32 Release" - in the "Settings For" combo box and select everything visible - in the tree window on the left of the dialog box. +build it. Audacity requires different build settings than +are shipped with the wxWidgets projects, to use the +multithreaded statically-linked runtime libraries instead +of the multithreaded DLL runtime libraries. However, +wxWidgets 2.4.2 does not ship with VC8 (or VC7) solution and project +files, only MSVC6, so Audacity supplies VC7 versions. +All you need to do is copy them to the right place and use +them to build wxWidgets -- no need to edit the wxWidgets +versions. -3. Now select the "C/C++" tab and change "Use run-time library" - under the 'Code Generation' combo box to "Multithreaded". +1. Copy all the files and folders from + "audacity\win\wxWidgets_additions_VC7" to "C:\wxWindows-2.4.2\src" + (or the corresponding location if you installed wxWidgets + someplace other than the default). -4. Now select "Win32 Debug" from the "Settings For" combo and - change the run-time library to "Debug Multithreaded". +2. Open "C:\wxWindows-2.4.2\src\wxWindows.sln". -5. Now you can click "OK" and build wxWidgets by selecting - "Build"->"Batch Build" and clicking "Rebuild All". +3. Build the configurations for all the wxWidgets projects + corresponding to which configurations of Audacity you want + to build. Audacity 1.2.x for Windows is available in Debug, + and Release configurations. -This will build both Debug and Release versions of the -wxWidgets library. -------------------------- MSVC++ STEP 3: Download Audacity @@ -100,6 +91,7 @@ load the Audacity workspace: it's "audacity.dsw" in the "win" directory of the Audacity source tree. + -------------------------------------------- MSVC++ STEP 4: Set wxWidgets location for Audacity -------------------------------------------- @@ -129,6 +121,7 @@ Once you have set the WXWIN environment variable correctly, the Audacity project file's declarations will do the rest. + ----------------------- MSVC++ STEP 5: Build Audacity ----------------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs