"Setup.h" not found
Posted: Sun Dec 04, 2011 6:15 pm
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:
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:
All 7 builds completed successfully with no errors.
SVN Checkout to C:Documents and Settings<user name>My Documentsaudacity
Created folder C:Documents and Settings<user name>My 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:
What am I missing?
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:
Code: Select all
fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directorySteps 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:
- Debug
- Release
- Unicode Debug
- Unicode Release
- DLL DLL Debug
- DLL Release
- DLL Unicode Debug
- DLL Unicode Release
All 7 builds completed successfully with no errors.
SVN Checkout to C:Documents and Settings<user name>My Documentsaudacity
Created folder C:Documents and Settings<user name>My 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:
Code: Select all
C:wxWidgets-2.8.12includewx/platform.h(196) : fatal error C1083: Cannot open include file: 'wx/setup.h': No such file or directory