"Setup.h" not found

Windows XP SP3 (fully updated)

Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1
Installed Edition: VC Express
Microsoft Visual C++ 2008 91909-152-0000052-60124
Microsoft Visual C++ 2008

wxWidgets-2.8.12
(downloaded wxMSW installer from http://www.wxwidgets.org/downloads/#latest_stable )

Audacity 1.3.14 revision 11348


Finally got WxWidgets compiled without errors.
When trying to build Audacity I get a load of errors:

fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory

Steps that I took before attempting to build:

Added to environment variables:
Variable Name: WXWIN
Variable Value: C:wxWidgets­-2.8.12
Closed all three of the dialogs, close the control panel and rebooted.

Copy c:wxWidgetsincludewxmswsetup0.h
to c:wxWidgetsincludewxmswsetup.h

Did NOT change any of the #defines

Built WxWidgets:

  1. Debug
  2. Release
  3. Unicode Debug
  4. Unicode Release
  5. DLL DLL Debug
  6. DLL Release
  7. DLL Unicode Debug
  8. DLL Unicode Release

Copied dll’s as required from C:wxWidgets-2.8.12libvc_lib to C:wxWidgets-2.8.12libvc_dll
All 7 builds completed successfully with no errors.

SVN Checkout to C:Documents and SettingsMy Documentsaudacity
Created folder C:Documents and SettingsMy DocumentsaudacitywxLibsUnicode Release
Copied the following files into that folder:
wxbase28u_net_vc_custom.dll
wxbase28u_vc_custom.dll
wxmsw28u_adv_vc_custom.dll
wxmsw28u_core_vc_custom.dll
wxmsw28u_html_vc_custom.dll

Double clicked on audacity.sln
Set “Build > Configuration Manager > Active solution configuration” to “Unicode Release”.
Then,
“Build > Build Solution”

I get several hundred errors of the type:

C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory

What am I missing?

[edit 28Feb12–improved my compiling Audacity page for this subject:]
http://www.hometownband.org/Audacity/CompilingAudacity.html#setupNOTfound
I moved the main page into a sub-folder for ease of maintenance.

There are 2 places where setup.h can come from. Initially it is in wxWidgets-2.8.12includewxmsw and is called setup0.h the wxWidgets approved solution is to copy it (right in the folder where it resides) and rename the copy from setup0 - copy.h to setup.h. This preserves the original in case you mess up the working version.

The Audacity solution is to copy winwxWidgets_additionssetup.h to wxWidgets-2.8.12includewxmswsetup.h.

Sometimes you will still get errors like:

fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory

This is a bug/feature of the free version of MS C++ Express. If you get these errors post here with explicit details and I will help fix the problem. You can read all about this on the wxWidgets forum:
http://forums.wxwidgets.org/viewtopic.php?f=19&t=255
it is the first item on the FAQ.

That’s what I did (except that I added “.bak” to the back-up copy).

setup.h in winwxWidgets_additions appears to be identical to setup0.h in wxWidgets-2.8.12includewxmsw

Yes I do, about 230 of them.

What explicit details (other than those already posted) do you need?

It is not quite identical; in two places a zero becomes a one. If you look at lines 1044-1050:

// Use wxAccessible for enhanced and customisable accessibility.
// Depends on wxUSE_OLE.
//
// Default is 0.
//
// Recommended setting (at present): 0
#define wxUSE_ACCESSIBILITY 1 // Turn it on for Audacity.

and then lines 1110-1111:

// Define 1 to use ODBC classes
#define wxUSE_ODBC          1 // Turn it on for Audacity.

First off, are we sure wxWidgets compiled successfully? Open WXWINlibvc_dll and make sure all the needed DLLs are there. You are talking about compiling Audacity here, right?

This might be the culprit–you must click OK in all those windows, not close them.

Next make sure the system environmental variable WXWIN is set correctly. One way to tell is to run VC++ and open AudacityApp.cpp, look at line 26:

#include <wx/defs.h>

right-click on “defs” – a context menu will allow “Open Document…” – try it–if it does not have the option or the header does not open the WXWIN variable is bad.

If these don’t help you I will need you to copy the output window contents and send me the text. I will need to see the whole thing, not just a snippet with the error.

Sorry, my bad. I “closed” them by clicking the “OK” button.
If I go back into the Environment Variables I have listed:
Variable: WXWIN
Value: C:wxWidgets­-2.8.12

Yes as far as I know. The final output for each of “debug, Release, Unicode Release …” said “0 Errors”.

Yes it opened
C:wxWidgets­-2.8.12includewxdefs.h

In case it helps, when I try to build Audacity, this is the output:

------ Build started: Project: filedialog, Configuration: Unicode Release Win32 ------
Compiling...
cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
FileDialog.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
FileDialogPrivate.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Build log was saved at "file://c:Documents and SettingsSteveMy DocumentsaudacitywinProjectsfiledialogUnicode ReleaseBuildLog.htm"
filedialog - 2 error(s), 1 warning(s)
------ Build started: Project: libid3tag, Configuration: Unicode Release Win32 ------
Compiling...
util.c
......lib-srclibid3tagutil.c(29) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
Build log was saved at "file://c:Documents and SettingsSteveMy DocumentsaudacitywinProjectslibid3tagUnicode ReleaseBuildLog.htm"
libid3tag - 1 error(s), 0 warning(s)
------ Build started: Project: mod-script-pipe, Configuration: Unicode Release Win32 ------
Compiling...
ScripterCallback.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Build log was saved at "file://c:Documents and SettingsSteveMy DocumentsaudacitywinProjectsmod-script-pipeUnicode ReleaseBuildLog.htm"
mod-script-pipe - 1 error(s), 0 warning(s)
------ Build started: Project: help, Configuration: Unicode Release Win32 ------
Performing Pre-Build Event...
0 File(s) copied
Build log was saved at "file://c:Documents and SettingsSteveMy DocumentsaudacitywinProjectshelpUnicode ReleaseBuildLog.htm"
help - 0 error(s), 0 warning(s)
------ Build started: Project: locale, Configuration: Unicode Release Win32 ------
Compiling zh_TW locale
'msgfmt' is not recognized as an internal or external command,
operable program or batch file.
Project : error PRJ0019: A tool returned an error code from "Compiling zh_TW locale"
Build log was saved at "file://c:Documents and SettingsSteveMy DocumentsaudacitywinProjectslocaleUnicode ReleaseBuildLog.htm"
locale - 1 error(s), 0 warning(s)
------ Build started: Project: Audacity, Configuration: Unicode Release Win32 ------
Compiling...
ODWaveTrackTaskQueue.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ODTaskThread.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ODTask.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ODManager.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ODDecodeTask.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ODDecodeFlacTask.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ODDecodeFFmpegTask.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ODComputeSummaryTask.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
VampEffect.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
LoadVamp.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
TranscriptionToolBar.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ToolsToolBar.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ToolManager.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ToolDock.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ToolBar.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
SelectionBar.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
MixerToolBar.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
MeterToolBar.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
EditToolBar.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
DeviceToolBar.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Compiling...
ControlToolBar.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
LoadLadspa.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
LadspaEffect.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
SimpleBlockFile.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
SilentBlockFile.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
PCMAliasBlockFile.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ODPCMAliasBlockFile.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ODDecodeBlockFile.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
LegacyBlockFile.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
LegacyAliasBlockFile.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
SetTrackInfoCommand.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
SetProjectInfoCommand.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
SelectCommand.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ScriptCommandRelay.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ScreenshotCommand.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ResponseQueue.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
PreferenceCommands.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
MessageCommand.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Keyboard.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ImportExportCommands.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Compiling...
HelpCommand.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
GetTrackInfoCommand.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
GetProjectInfoCommand.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
GetAllMenuCommands.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ExecMenuCommand.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
CompareAudioCommand.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
CommandType.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
CommandSignature.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
CommandManager.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
CommandHandler.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
CommandDirectory.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
CommandBuilder.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Command.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
BatchEvalCommand.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
AppCommandEvent.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Nyquist.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
LoadNyquist.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
XMLWriter.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
XMLTagHandler.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
XMLFileReader.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Compiling...
Warning.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
TimeTextCtrl.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Ruler.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ProgressDialog.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
MultiDialog.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Meter.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
LinkingHtmlWindow.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ImageRoll.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
HtmlWindow.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Grid.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Grabber.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
FileHistory.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ExpandingToolBar.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ErrorDialog.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
AttachableScrollBar.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ASlider.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
AButton.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
WarningsPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
TracksPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ThemePrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Compiling...
SpectrumPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
RecordingPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
QualityPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ProjectsPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
PrefsDialog.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
PlaybackPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
MousePrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
LibraryPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
KeyConfigPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ImportExportPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
GUIPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ExtImportPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
EffectsPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
DirectoriesPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
DevicePrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
BatchPrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
RawAudioGuess.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ImportRaw.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ImportPCM.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ImportOGG.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Compiling...
ImportMP3.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ImportMIDI.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ImportLOF.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ImportFLAC.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ImportFFmpeg.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Import.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ExportPCM.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ExportOGG.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ExportMultiple.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ExportMP3.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ExportMP2.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ExportFLAC.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ExportFFmpegDialogs.cpp
c:documents and settingsstevemy documentsaudacitylib-srcffmpeglibavutilcommon.h(155) : warning C4244: 'return' : conversion from 'int64_t' to 'int32_t', possible loss of data
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ExportFFmpeg.cpp
c:documents and settingsstevemy documentsaudacitylib-srcffmpeglibavutilcommon.h(155) : warning C4244: 'return' : conversion from 'int64_t' to 'int32_t', possible loss of data
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ExportCL.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Export.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
VSTEffect.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Wahwah.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
TwoPassSimpleMono.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
TruncSilence.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Compiling...
ToneGen.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
TimeWarper.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
TimeScale.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
StereoToMono.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
SoundTouchEffect.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
SimpleMono.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Silence.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
SBSMSEffect.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Reverse.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Repeat.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Repair.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Phaser.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Normalize.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
NoiseRemoval.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Noise.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
LoadEffects.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Leveller.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Invert.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Generator.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
FindClipping.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Compiling...
Fade.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Equalization.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
EffectManager.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
EffectCategory.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Effect.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Echo.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
DtmfGen.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Contrast.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Compressor.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ClickRemoval.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ChangeTempo.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ChangeSpeed.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ChangePitch.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
BassBoost.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
AutoDuck.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Amplify.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
WrappedType.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
WaveTrack.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
WaveClip.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
VoiceKey.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Compiling...
UploadDialog.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
UndoManager.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
TrackPanelAx.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
TrackPanel.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
TrackArtist.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Track.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
TimeTrack.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
TimerRecordDialog.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
TimeDialog.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Theme.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Tags.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
SplashDialog.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Spectrum.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Snap.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ShuttlePrefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ShuttleGui.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Shuttle.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Sequence.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Screenshot.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
SampleFormat.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Compiling...
RingBuffer.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Resample.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Project.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Profiler.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Printing.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Prefs.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
PluginManager.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
PlatformCompatibility.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
PitchName.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
NoteTrack.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
NonGuiThread.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
MixerBoard.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Mix.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Menus.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Matrix.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
LyricsWindow.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Lyrics.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
LoadModules.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Legacy.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Languages.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Compiling...
LangChoice.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
LabelTrack.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
LabelDialog.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
InterpolateAudio.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Internat.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
ImageManipulation.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
HistoryWindow.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
HelpText.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
FreqWindow.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
FileNames.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
FileIO.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
FileFormats.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
FFT.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
FFmpeg.cpp
c:documents and settingsstevemy documentsaudacitylib-srcffmpeglibavutilcommon.h(155) : warning C4244: 'return' : conversion from 'int64_t' to 'int32_t', possible loss of data
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Envelope.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Dither.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
DirManager.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
DeviceManager.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Dependencies.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
BlockFile.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Compiling...
Benchmark.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
BatchProcessDialog.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
BatchCommands.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
BatchCommandDialog.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
AutoRecovery.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
AudioIO.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
AudacityHeaders.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
AudacityApp.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
AColor.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
AboutDialog.cpp
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory
Build log was saved at "file://c:Documents and SettingsSteveMy DocumentsaudacitywinProjectsAudacityUnicode ReleaseBuildLog.htm"
Audacity - 230 error(s), 3 warning(s)
========== Build: 1 succeeded, 5 failed, 18 up-to-date, 1 skipped ==========

Did you read that FAQ on the wxWidgets forum?

The text from the output window helps.

Start VC++ to compile Audacity and open lib-srcFileDialogFileDialog.h; look at line 24:
#include “wx/defs.h”
right-click for the context menu and open defs.h; look at line 21:
#include “wx/platform.h”
right-click for the context menu and open platform.h; look at line 196:
#include “wx/setup.h”
right-click for the context menu to open it–did it open?

If not use Windows’ Window Explorer to open C:wxWidgets­-2.8.12includewxmsw and look for setup.h–is it there. If not put it there. If it is then we have a problem with include path VC++ is using. From what I understand, this is a trick MS uses to get you to buy the full version of MS Visual Studio. VC++ has a built-in set of include paths it uses, MS VS keeps adding to them but Express needs to be taught. Let me know if setup.h was there and if so I will step you through the process of teaching Express how to find things.

If it did open then let me know and we will go from there. The process will be similar to the previously mentioned process.

Oh, and just to make life miserable, VC++ can say it built with no errors and still fail. You must open the vc_dll folder and make sure all 5 of the Audacity required libraries were built.

Are these the required libraries that you mean?

If so, then yes they were built and I copied them to:
C:Documents and SettingsMy DocumentsaudacitywxLibsUnicode Release
before attempting to build Audacity.

It’s late now, I’ll have to try this tomorrow if I get time.
Thanks for the support Edgar.

Yes, those look good, though you really want them in:

C:Documents and Settings<user name>My DocumentswxLibsUnicode Release

(note: they will NOT be in the audacity folder). These are your “working” copies which you will copy into any newly checked out SVN HEAD’s /win/ folder (and you will do so by copying the entire

C:Documents and Settings<user name>My DocumentswxLibsUnicode Release

folder into

C:Documents and Settings<user name>My Documentsaudacitywin

This will make more sense when you are building a Unicode Debug as well as Unicode Release version and way more sense if you build Debug and Release as well.

As I recall you went to a lot of trouble to get me compiling on Linux so I guess no good deed goes unpunished , thanks!

Each one opened up until #include “wx/setup.h” which did not open.
That’s crap, there’s a big long error message and I can’t copy it.
The error begins:

File ‘wx/setup.h’ not found in current source file’s directory or in build system paths.

Current source file path: ‘C:wxWidgets-2.8.12includewx’
Build system path:

and then a semicolon separated list of about 50 directories.

So I copied setup.h to C:wxWidgets-2.8.12includewx
strange, I thought I’d already done that.

Getting further now but hitting Linking Errors.
Have followed various hints, posts and stuff and have cleaned the solution and building again - not a fast machine, this could take some time…

Ran into the issue:
‘msgfmt’ is not recognized as an internal or external command,

Found this: https://forum.audacityteam.org/t/error-lnk1104-cannot-open-file-filedialog-lib/19931/1
Grabbed a copy of msgfmt.exe and put it in my Path.

That seems to have fixed that problem.

Also had to set up Python environment variable.

How dare these Microsoft people ever criticise Linux. I’ve not encountered such buggy, convoluted, un-user friendly, badly documented bloatware in years.

I got this far this time.

------ Skipped Build: Project: expat, Configuration: Unicode Release Win32 ------
Project not selected to build for this solution configuration 
------ Build started: Project: libid3tag, Configuration: Unicode Release Win32 ------
Compiling...
util.c
......lib-srclibid3tagutil.c(29) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
Build log was saved at "file://c:Documents and SettingsSteveMy DocumentsaudacitywinProjectslibid3tagUnicode ReleaseBuildLog.htm"
libid3tag - 1 error(s), 0 warning(s)
------ Build started: Project: mod-script-pipe, Configuration: Unicode Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file 'wxmsw28u_core.lib'
Build log was saved at "file://c:Documents and SettingsSteveMy DocumentsaudacitywinProjectsmod-script-pipeUnicode ReleaseBuildLog.htm"
mod-script-pipe - 1 error(s), 0 warning(s)
------ Build started: Project: help, Configuration: Unicode Release Win32 ------
Performing Pre-Build Event...
0 File(s) copied
Build log was saved at "file://c:Documents and SettingsSteveMy DocumentsaudacitywinProjectshelpUnicode ReleaseBuildLog.htm"
help - 0 error(s), 0 warning(s)
------ Build started: Project: Audacity, Configuration: Unicode Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file 'wxbase28u.lib'
Build log was saved at "file://c:Documents and SettingsSteveMy DocumentsaudacitywinProjectsAudacityUnicode ReleaseBuildLog.htm"
Audacity - 1 error(s), 0 warning(s)
========== Build: 1 succeeded, 3 failed, 20 up-to-date, 1 skipped ==========

+infinity

I come from a long history of non-MS platforms and being forced to go Windows was really painful.

I’m just about out the door to rehearsal and will revisit this thread later.



OK, you are suffering from the rare but deadly “not searching sub-directories” bug. First, according to the wxWidgets folks ( http://wiki.wxwidgets.org/Microsoft_Visual_C%2B%2B_Guide#Changing_setup_settings ) on where setup.h is supposed to be:
"The settings that could be of interest are stored as defines in the file setup.h, located in “includewxmsw”.
It should not be in WXWINincludewx. There is some hidden MS system setting which tells VC++ to search sub-folders for header files; if you first install the demo trial of MS Visual Studio then VC++ this switch is turned on and left on when you un-install MS VS before the trial runs out.

In your case you are going to need to go in and teach each offending solution about the sub-folders it needs to search. I am out the door now and will come back in a few hours to finish with the answer.

This is related to the “not searching sub-folders” bug–more later…

Without trying (too hard) to assign blame, here is what I think is going on…
wxWidgets expects to find a file “setup.h” during compile of wxWidgets. This file is not “supplied” by wxWidgets but must be created by the person doing the compiling. wxWidgets provides an example file for those using a Microsoft Visual compiler (VC++ Express is the free version, Visual Studio you pay for)–it is called “setup0.h”. The person must edit “setup0.h” as needed then rename it “setup.h” and put it somewhere all the various projects may find it. wxWidgets says to put it in WXWIN/include/wx/msw/; unfortunately they also use statements like:
#include “wx/setup.h”
or
#include <wx/setup.h>
which while subtly different should result in the same thing. I believe that the instruction to put “setup.h” in WXWIN/include/wx/msw/ is in err–while it really is the proper place for the header for MS VS/VC++ Express, it has a high likelihood of not being found because of the aforementioned “not searching sub-folders” MS bug (which is really a clever marketing tool as it is not a problem in the pay-for version nor its free trial)*. Anyway, since they use
#include “wx/setup.h”
or
#include <wx/setup.h>
they might just tell us to put it in WXWIN/include/wx/ and resolve the issue.

I do not know what the “proper” solution here is but if you want to keep “setup.h” in WXWIN/include/wx/msw/ where it more properly belongs you will need to go in and teach all the projects which deal with “setup.h” where it can be found. I just checked out a clean SVN HEAD and opened the Properties page of the Audacity Project; looking at the C/C++'s General panel’s Additional Include Directories:
addInc.png
you will see that $WXWINinclude is there but $WXWINincludemsw is not–you will need to add it. Scroll all the way to the bottom of the includes and you will find a blank line–double-click to make that line editable and add $WXWINincludemsw:
addIncWX.png
You will need to do this for every project in the Audacity solution (maybe even some of the wxWidgets ones) which uses “setup.h” (and maybe “platform.h” too among others).

Now, some might say that the Audacity Developers instructions which says "Copy setup.h to “C:wxWidgets-2.8.12includewxmsw” (referring to an Audacity custom “setup.h”) needs thought since they are the ones who created the Audacity solution which neglects to have $WXWINincludemsw as an include folder. I will go out on a limb here and call this a high priority bug against Audacity–especially since it is so easy to fix at the project source level.

* The MS “bug” (or marketing tool) is that the documentation for MS’s C++ compiler states that all sub-directories of any “included” directory will be automatically included and, in the case of the pay-for version Visual Studio, this is true. It is also true for the free trial version of MS Visual Studio. It also seems to hold true for VC++ Express (the free version) if you install MS VS (or its free trial) then later install Express! I am guessing it is a Registry setting controlling it or some .ini file.

lib-srclibid3tagutil.c line 29:

include <zlib.h>

IMVHO, this is a “defect” in code; “zlib.h” is a wxWidgets file:
wxWidgets-2.8.12srczlibzlib.h
so the Audacity code should read something like:
#include <WXWIN/src/zlib/zlib.h>
but that is not legal so again we must teach the libid3tag project an Additional Include Directory (see previous post for steps) which will be:
$WXWIN/src/zlib

As before, this will “just work” if you are using or have used the pay-for version of MS VS.