Page 2 of 2

Re: Visual Studio 2010 Pro

Posted: Tue Apr 12, 2011 8:02 pm
by Edgar
@ 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!

Re: Visual Studio 2010 Pro

Posted: Tue Apr 12, 2011 10:38 pm
by steve
Discussion about development platforms split to here: http://forum.audacityteam.org/viewtopic ... 19&t=55319

Re: Visual Studio 2010 Pro

Posted: Sat Apr 16, 2011 6:45 pm
by rpm61
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.

Re: Visual Studio 2010 Pro

Posted: Sat Apr 16, 2011 7:19 pm
by Edgar
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.