From: Tim E. R. <ter...@ro...> - 2011-09-22 23:17:47
|
On September 22, 2011 07:46:54 am Florian Jung wrote: > Am 21.09.2011 19:45, schrieb Tim E. Real: > > After committing last night's meter work, MusE builds fine > > on my older Mandriva box, but fails compilation on this brand-new > > Ubuntu 11.04 box. (It worked fine before my commits.) > > > > It fails at astrip.cpp beginning with: > > > > astrip.cpp:108:22 error: invalid use of incomplete type > > 'struct MusEWidget::Meter' > > strip.h:44:7: error: forward declaration of > > 'struct MusEWidget::Meter' > > ... > > > > and of course a bunch more similar errors, at astrip.cpp. > > > > I know a solution is to put #include "meter.h" at the top > > of strip.h > > But I hate doing that. That just can't be the answer, can it? > > Especially since #include "meter.h" is /already/ at the top > > of astrip.cpp > > > > For the life of me I can't figure out why it compiled BEFORE > > my commits. But it looks like maybe my fault, having changed > > some meter code. > > > > Orcan... somebody... what's wrong? > > have you erased and re-created the build directory? Whew, that was it, yes, thanks. So... I've now /finally/ completely switched production over to my amd64 + Ubuntu 11.04 box. Will try to respond to emails. Sorry haven't had much time to talk lately. Work, and this: Every three years or so I try to install the latest distro. And every time, there's a week's worth of utter crap I go through. I'm a hardcore Mandriva fan, but unfortunately most of that distro's team left to start the Mageia distro. Mageia is fine but kept freezing on me. And the package selection is not complete, they are working on getting them all up to date. For example missing many ladspa plugins. openSuse? Forget it. The live CD crashes on different machines. So I decided to go with the world's most popular, (K)Ubuntu. Can't go wrong, when every deb package known to man is available. Four complete teardowns and re-installs later, and much B.S. ... I'm happy to report that MusE works flawlessly, and much better than my older box. Yay! It's alive! I shudder to think of what 'ordinary' users go through in order to make a distro work like that. All I can do is put some helpful tips in the README now. Cheers. Tim. |