Page 1 of 1

Building 1.3.7 beta from CVS - wxWidgets version mismatch?

Posted: Fri Jan 30, 2009 6:13 pm
by peterkirn
Wanted to give a go building the 1.3.7 beta build. I already have 1.3.5 beta running successfully on ubuntu studio 8.10 (nice one, by the way, getting the beta in there)! I'm getting stuck on FileDialog errors when I get to make, which I think folks have seen before.

Basic process:
Installed the wx dev libraries via apt-get, for version 2.8.9.

./configure - no errors

Code: Select all

Finished configure:
LIBVORBIS: using LOCAL libraries
LIBMAD: using LOCAL libraries
LIBSNDFILE: using LOCAL libraries
LIBFLAC: using LOCAL libraries
LIBID3TAG: using LOCAL libraries
LIBSAMPLERATE: disabled
LIBRESAMPLE: using LOCAL libraries
LIBSBSMS: using LOCAL libraries
LIBSOUNDTOUCH: using LOCAL libraries
LIBNYQUIST: using LOCAL libraries
LIBVAMP: using LOCAL libraries
LIBEXPAT: using LOCAL libraries
LIBTWOLAME: using LOCAL libraries
FFMPEG: using LOCAL libraries
PORTSMF: using LOCAL libraries
ladspa: enabled
audiounits: disabled
prefix=/usr/local/
portaudio: v19
It's when I get to make that I run into trouble; namely:

Code: Select all

make -C FileDialog
make[2]: Entering directory `/home/peter/audacity/lib-src/FileDialog'
g++ -c -g -O2 -I.  -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread  generic/FileDialogPrivate.cpp -o generic/FileDialogPrivate.o
generic/FileDialogPrivate.cpp: In function ‘int FileDataNameCompare(long int, long int, long int)’:
generic/FileDialogPrivate.cpp:88: error: ‘FileData’ was not declared in this scope
and so on. Are we having an issue with conflicting versions of wxWidgets-dev?

Also, dumb question: is there a reason it's disabling ALSA when you build?

Re: Building 1.3.7 beta from CVS - wxWidgets version mismatc

Posted: Fri May 15, 2009 11:39 pm
by jabouillei
I had the same problem. Here is how I got it working. (This is bad and I wouldn't
be surprised if audacity crashes eventually.)

./configure --without-libmad
make
./configure
make

The build worked without libmad, but then I couldn't load mp3s.
When I included libmad, I received the exact same error that you mentioned.
Well, I received the error if I did a "make clean" between builds (and that
is the proper thing to do because header file changes related to the fresh
"configure" might have invalidated some of my built objects).
Luckily, I forgot to do a "make clean" after a couple of hours of
beating my head against the wall and... it worked! Hope this helps someone.

Re: Building 1.3.7 beta from CVS - wxWidgets version mismatc

Posted: Sat May 16, 2009 12:08 am
by steve
I think that you need a more recent version of wxWidgets than the one available through the Intrepid repository. You should use the wxwidgets repository: http://wiki.wxpython.org/InstallingOnUbuntuOrDebian

Ubuntu 9.04 (Jaunty) has Audacity 1.3.7. I would suggest trying that version.

If you wish to build Audacity 1.3.7 from source, you may need to apply this patch: http://cvs.fedoraproject.org/viewvc/rpm ... iew=markup
(the Jaunty build already has that patch)