Building latest version of Audacity in Visual Studio 2012 with ASIO SDK (latest) and wxWidgets 2.8.12. Got soruces from TortoiseSVN sync. Getting the following post-build errors:
Error 108 error MSB3721: The command "copy /Y "......plug-insanalyze.ny" ....ReleasePlug-insanalyze.ny" exited with code 1. C:UsersDavidDesktopaudacity-read-onlywinny.targets 45
Error 109 error MSB3721: The command "copy /Y "......plug-insanalyze.ny" ....DebugPlug-insanalyze.ny" exited with code 1. C:UsersDavidDesktopaudacity-read-onlywinny.targets 45
Upon inspection, I noticed that the file "analyze.ny" doesn't exist. Is the build process supposed to create this file? Or is it supposed to be included in the sources?
Thanks,
Dave
Visual Studio 2012 Post-Build Errors
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
-
davidfrogley
- Posts: 2
- Joined: Tue Mar 04, 2014 3:07 am
- Operating System: Please select
Re: Visual Studio 2012 Post-Build Errors
I've done a fair amount of work getting vc2012 wxWidgets 3.0 working.
You can get it to build and run by removing analyze.ny from the vcxproj file and adding OpenSaveCommands.cpp.h to the src/commands subproject.
However at least for me it will not load or save an audio file.
I have and I believe Edgar has gotten vc2012 to work almost fully with wxWidgets3.0. For me there are some missing texts so it isn't perfect. I remember seeing that Edgar is even 64bit?
Talking with the higher ups, VC2012 and wx3.0 will be scheduled for the release after the next release. So prob a few months from now.
Is there a reason you need to use vc2012? Because your best bet is to use vc2008 with wx2.8.
Andrew
You can get it to build and run by removing analyze.ny from the vcxproj file and adding OpenSaveCommands.cpp.h to the src/commands subproject.
However at least for me it will not load or save an audio file.
I have and I believe Edgar has gotten vc2012 to work almost fully with wxWidgets3.0. For me there are some missing texts so it isn't perfect. I remember seeing that Edgar is even 64bit?
Talking with the higher ups, VC2012 and wx3.0 will be scheduled for the release after the next release. So prob a few months from now.
Is there a reason you need to use vc2012? Because your best bet is to use vc2008 with wx2.8.
Andrew
Re: Visual Studio 2012 Post-Build Errors
analyze.ny is in the process of being removed from the source. It is a "do-nothing" example Nyquist plug-in. For some reason your project still has a reference to the file – it should not have this reference. The simplest solution would be to get an old copy of analyze.ny and place it in the plug-ins folder (this folder is in the root folder along with src/, tests/ etc.). Alternately, you could edit both the Release and Debug Visual Studio Projects. Another alternative would be to make a copy of any of the other Nyquist plug-ins and rename it.davidfrogley wrote: Error 108 error MSB3721: The command "copy /Y "......plug-insanalyze.ny" ....ReleasePlug-insanalyze.ny" exited with code 1. C:UsersDavidDesktopaudacity-read-onlywinny.targets 45
Re: Visual Studio 2012 Post-Build Errors
This should get it up and running.
Basically removes analyze.ny and adds SseMathFuncs.cpp.h and OpenSaveCommands.cpp.h (Steve Parry's Jan 13 patch).
Andrew
Basically removes analyze.ny and adds SseMathFuncs.cpp.h and OpenSaveCommands.cpp.h (Steve Parry's Jan 13 patch).
Andrew
- Attachments
-
- Audacityvcxproj.7z
- Attached file contains files Audacity.vcxproj and Audacity.vcxproj.filters files go in win\Projects\Audacity
- (9.8 KiB) Downloaded 129 times
Re: Visual Studio 2012 Post-Build Errors
Getting round the "analyze.ny" issue should be simple if you use VS2008:
View menu > "Solution Explorer..." > plug-ins folder, and just delete "analyze.ny".
As Edgar wrote, "analyze.ny" is a redundant file that is being removed. It was originally a demonstration Nyquist plug-in that does nothing.
View menu > "Solution Explorer..." > plug-ins folder, and just delete "analyze.ny".
As Edgar wrote, "analyze.ny" is a redundant file that is being removed. It was originally a demonstration Nyquist plug-in that does nothing.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Visual Studio 2012 Post-Build Errors
Analyze.ny has now been removed from the two vcxproj files: http://code.google.com/p/audacity/source/detail?r=13067 .
Gale
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual