Visual Studio 2010 Pro

Building and customizing Audacity from the source code.
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
Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Visual Studio 2010 Pro

Post by Edgar » Tue Apr 12, 2011 8:02 pm

@ Steve -- After installing Linux and using it for the first time last month (at your request) I agree that (after learning the ins-and-outs of package management) the first compile of both wxWidgets and Audacity was a breeze. However, thereafter the lack of an IDE on Linux for Audacity makes life miserable!

@ rpm61 -- I looked at your posted errors log and saw your embedded notes. In the future, when creating a log which will be posted, it will be much easier if you limit your compiler (VS2010 or VC++2008 Express) to a single processor and thread thereby keeping everything sequential. As I recall, the really troubling errors are the "ambiguous overload" ones. The "missing" headers are just a problem with incorrectly referenced include/header files.

I am also very leery of the "truncation" problems -- they abound in the code; stuff like the imaginary:

Code: Select all

int FloatToInt(float pFloat) {
   return (int)pFloat;
}
and

Code: Select all

void Something(int pValue) { /*do something*/}
float flt = 0.5;
Something((int)flt);
Something(ROUND(flt));
especially when ROUND and round are #defined numerous times in different ways throughout the code!

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Visual Studio 2010 Pro

Post by steve » Tue Apr 12, 2011 10:38 pm

Discussion about development platforms split to here: http://forum.audacityteam.org/viewtopic ... 19&t=55319
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

rpm61
Posts: 5
Joined: Mon Apr 11, 2011 3:04 am
Operating System: Please select

Re: Visual Studio 2010 Pro

Post by rpm61 » Sat Apr 16, 2011 6:45 pm

Well, I gave in and compiled in VS 2008 Express, but I'm still working on getting it done in 2010 (I have 2010 Pro) since I got it down to 4 failures, just too close to stop now. If anyone else is trying to get Audacity compiled in VS 2010, post your experience and we'll compare notes.

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Visual Studio 2010 Pro

Post by Edgar » Sat Apr 16, 2011 7:19 pm

rpm61 wrote:Well, I gave in and compiled in VS 2008 Express, but I'm still working on getting it done in 2010 (I have 2010 Pro) since I got it down to 4 failures, just too close to stop now. If anyone else is trying to get Audacity compiled in VS 2010, post your experience and we'll compare notes.
Post (or PM me) a patch for what you have so far and the last 4 errors remaining. I would like to look over the corrections and remaining problems.

Post Reply