Page 1 of 2
built fails for rev 13400+
Posted: Wed Oct 08, 2014 7:58 pm
by Robert J. H.
(Windows 7 64)
I've tried to built the newest version 2.0.7 alpha.
Audacity.sln is no longer a valid VS 2008 solution.
It seems that the developers have decided to migrate to VS 2013.
However, it would have been nice if this were announced e.g. in this forum and when the compile.txt's would have been adapted accordingly.
From the Audacity.sln file is not readily apparent which VS should be installed--it has as header:
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2012 for Windows Desktop
Thus, I've installed MS VSE2012--which does not work because it assumes Version 4.0 of MSBuild.exe.
Although the msbuild.exe 12.0 can be downloaded separately, it still won't build the solution. Btw, VS2012 is hardly accessible which makes it even worse to detect the problem.
The revision comments suggest (at Rev 13401) that VS 2013 should be used and that an obsolete Audacity solution remains for the time being.
However, former is for Windows 8.1 and latter produces a bunch of errors in VSE 2008.
Will there any proper guide lines be available in the near future how to scope with this migration?
Regards
RJ
Re: built fails for rev 13400+
Posted: Wed Oct 08, 2014 8:22 pm
by steve
Robert J. H. wrote: it would have been nice if this were announced
I'm sure that it will be, when the migration is complete.
You can follow the changes as they happen on the developer's mailing list here:
http://audacity.238276.n2.nabble.com/au ... 38278.html
If you wish to participate in the discussions, you can register on that mailing list here:
https://lists.sourceforge.net/lists/lis ... city-devel
I've not been following the discussion closely as I'm not on Windows, but I get the impression that the migration is going well so far.
Re: built fails for rev 13400+
Posted: Fri Oct 10, 2014 12:39 pm
by Gale Andrews
Robert, all you should need to do is open audacity-vs2008_OBSOLETE.sln in VS2008. That's all I'm doing until the migration dust is settled. I don't think the situation with VS2013 is clear enough yet to document it.
Gale
Re: built fails for rev 13400+
Posted: Fri Oct 10, 2014 1:55 pm
by Robert J. H.
Gale Andrews wrote:Robert, all you should need to do is open audacity-vs2008_OBSOLETE.sln in VS2008. That's all I'm doing until the migration dust is settled. I don't think the situation with VS2013 is clear enough yet to document it.
Gale
Yes, I thought so too, however, there are bugs appearing that I've never seen before.
For the time being, I reverted to an older revision in order to keep the ASIO integration intacte.
From the discussion, I can see that the migration is not so easy as believed. The best thing is obviously to create another working copy. It needs also some environment variable switching.
However, this won't solve my accessibility issues with MSVS2012/2013 when the 2008 solution is no longer available.
Re: built fails for rev 13400+
Posted: Fri Oct 10, 2014 2:16 pm
by steve
Robert J. H. wrote:However, this won't solve my accessibility issues with MSVS2012/2013 when the 2008 solution is no longer available.
Microsoft have an article about accessibility of Visual Studio 2013:
http://msdn.microsoft.com/en-us/library/y4b5z3y3.aspx
Does that help at all?
Re: built fails for rev 13400+
Posted: Fri Oct 10, 2014 6:28 pm
by Robert J. H.
steve wrote:Robert J. H. wrote:However, this won't solve my accessibility issues with MSVS2012/2013 when the 2008 solution is no longer available.
Microsoft have an article about accessibility of Visual Studio 2013:
http://msdn.microsoft.com/en-us/library/y4b5z3y3.aspx
Does that help at all?
Thanks Steve, it says:
In addition to accessibility features and utilities in Windows, the following features make Visual Studio 2013 more accessible for people with disabilities:
•
Toolbar button and text enlargement
•
Text size options in the editors
•
Color customization in the editors
•
Keyboard shortcut customization
•
Auto-completion for methods and parameters
It's rather for low vision then for blindness.
However, I have to familiarize myself with all the stuf.
By the way, I can only install VS 2012, VS 2013 doesn't seem to be intended for my old Windows 7 64-bit (!).
Re: built fails for rev 13400+
Posted: Sat Oct 11, 2014 11:28 am
by steve
Robert J. H. wrote:VS 2013 doesn't seem to be intended for my old Windows 7 64-bit (!).
According to this page:
http://www.visualstudio.com/products/vi ... express-vs
Visual Studio Express 2013 supports Windows 7 SP1 (x86 and x64).
If you don't have Service Pack 1 installed you will need to install that first:
http://windows.microsoft.com/en-GB/wind ... ice-pack-1
Re: built fails for rev 13400+
Posted: Sat Oct 11, 2014 11:31 am
by Gale Andrews
Robert J. H. wrote:For the time being, I reverted to an older revision in order to keep the ASIO integration intacte.
I have not tried to build with ASIO, but does it help to create a new environment variable for the ASIO SDK, or delete the old one and create a new one? Rebooting may help.
Robert J. H. wrote:I can only install VS 2012, VS 2013 doesn't seem to be intended for my old Windows 7 64-bit (!)
"Microsoft Visual Studio Express 2013 with Update 3 for Windows Desktop" is the one you want, from
http://go.microsoft.com/?linkid=9832280&clcid=0x409 . Windows 7 x86 or x64 is supported, if it has SP1.
Gale
Re: built fails for rev 13400+
Posted: Sat Oct 11, 2014 12:58 pm
by Robert J. H.
Thank you both for the research.
I think that I've downloaded the right file in the first place. I'm trying now the german version.
The setup is in progress, however, the setup window is quite confusing, it lists all possible installation outcomes at once instead of a single message or a progress bar or something.
I let it run for now (and hhoefully download the 4 GB's...)
I think the ASIO Sdk with the current environment variable won't make any difficulties once VSE works again.
The WXWidgets are another matter.
We'll see how it goes.
Re: built fails for rev 13400+
Posted: Sat Oct 11, 2014 5:24 pm
by Gale Andrews
Robert J. H. wrote:The WXWidgets are another matter.
You will have to rebuild wxWidgets (2.8.12 is safer) using VS2013. Then make the five necessary Widgets DLL's from that rebuild available to Audacity.
If you have not noticed yet, you have to comment or remove the following from wxWidgets/src/msw/window.cpp in order to build Widgets:
Code: Select all
#if !defined __WXWINCE__ && !defined NEED_PBT_H
#include <pbt.h>
#endif
Leland's command for building Widgets at an MSVC command prompt worked well for me:
Code: Select all
cd C:wxWidgets-2.8.12buildmsw
nmake -f makefile.vc UNICODE=1 SHARED=1 BUILD=release
nmake -f makefile.vc UNICODE=1 SHARED=1 BUILD=debug
Gale