1.3.12 compile broken after svn update

Building and customizing Audacity from the source code.

1.3.12 compile broken after svn update

Permanent link to this post Posted by ka1ssr » Sat Feb 13, 2010 10:02 pm

I can't compile 1.3.12 after updating to svn version 10263. Configure runs fine.

Here's where the compile aborts:

Code: Select all
...

g++ -c -I../lib-src/portmixer/include -I../lib-src/portaudio-v19/include   -Wall -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 -I../lib-src/FileDialog -Wall -I/home/ka1ssr/audacity/lib-src/lib-widget-extra          -I../lib-src/libresample/include -I../lib-src/sbsms/include -I/usr/include/soundtouch   -I../lib-src/libnyquist -I../lib-src/libvamp    -I../lib-src/ffmpeg -Wall -I/home/ka1ssr/audacity/lib-src/portsmf   -I/usr/include/taglib   -fno-strict-aliasing -I./include -I. -DLIBDIR=\"/usr/local//lib\" -D__STDC_CONSTANT_MACROS   -Wall -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     widgets/ErrorDialog.cpp -o widgets/ErrorDialog.o
widgets/ErrorDialog.cpp: In function ‘void ShowInfoDialog(wxWindow*, const wxString&, const wxString&, const wxString&, int, int)’:
widgets/ErrorDialog.cpp:278: error: invalid use of incomplete type ‘struct wxStatusBar’
/usr/include/wx-2.8/wx/frame.h:27: error: forward declaration of ‘struct wxStatusBar’
widgets/ErrorDialog.cpp:279: error: invalid use of incomplete type ‘struct wxStatusBar’
/usr/include/wx-2.8/wx/frame.h:27: error: forward declaration of ‘struct wxStatusBar’
widgets/ErrorDialog.cpp:280: error: no matching function for call to ‘ShuttleGui::AddWindow(wxStatusBar*&, int)’
widgets/../ShuttleGui.h:81: note: candidates are: wxWindow* ShuttleGuiBase::AddWindow(wxWindow*, int)
make[1]: *** [widgets/ErrorDialog.o] Error 1
make[1]: Leaving directory `/home/ka1ssr/audacity/src'
make: *** [audacity] Error 2


Thanks for your help!

Bill
ka1ssr
 
Posts: 17
Joined: Sat Jan 12, 2008 7:15 pm

Re: 1.3.12 compile broken after svn update

Permanent link to this post Posted by steve » Sun Feb 14, 2010 9:53 pm

Try running:
Code: Select all
make clean

Then update again from SVN, compile and make.
(should work - I've just updated about 5 minutes ago - Audacity ® 1.3.12-alpha-Feb 14 2010)

If you're on Ubuntu Karmic, there is a daily build available here: https://launchpad.net/~audacity-team/+archive/daily
I've been testing this from time to time on a VM and no problems so far (though I can't fully test it because the audio performance of VirtualBox is not fast enough on my machine).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Senior Forum Staff
 
Posts: 34557
Joined: Sat Dec 01, 2007 11:43 am


Return to Compiling Audacity



Who is online

Users browsing this forum: Edgar and 2 guests