Hi, sorry about that, I always struggle with the 'inline' keyword. Strange it compiles here. Maybe I still missed something?
Try it now, I moved the function body into the header. Thanks. Tim. On 2017-04-09 05:55 AM, Michael Oswald wrote: > Hi Time, > > On 2017-04-09 01:19, Tim wrote: >> Hi, there was a dependency on Qt 5.5 in there. >> I guess you aren't running that recent a version? > > Ubuntu Studio 14.04 uses 5.2.1 > >> Try it now, I removed the line. That control isn't >> used at all yet anyway so it doesn't matter. >> >> But maybe you will get more errors... > > It compiles now, but I get a link error: > > [100%] Building CXX object muse/CMakeFiles/muse.dir/main.o > Linking CXX executable muse3 > libmuse_core.so: undefined reference to > `MusECore::MidiController::dValToInt(double)' > collect2: error: ld returned 1 exit status > make[2]: *** [muse/muse3] Error 1 > make[1]: *** [muse/CMakeFiles/muse.dir/all] Error 2 > make: *** [all] Error 2 > > > lg, > Michael > > > >> Thanks. >> Tim. >> >> On 2017-04-08 03:47 PM, Michael Oswald wrote: >>> Hi Time, >>> >>> For some reason, it doesn't compile on my machine: >>> >>> /home/oswald/Projects/music/muse/muse3/muse/widgets/text_edit.cpp: In >>> member function ‘virtual QSize MusEGui::TextEdit::sizeHint() const’: >>> /home/oswald/Projects/music/muse/muse3/muse/widgets/text_edit.cpp:66:36: >>> >>> error: ‘viewportMargins’ was not declared in this scope >>> viewportMargins().bottom() + >>> viewportMargins().top() + >>> ^ >>> [ 66%] >>> /home/oswald/Projects/music/muse/muse3/muse/widgets/text_edit.cpp:70:1: >>> warning: control reaches end of non-void function [-Wreturn-type] >>> } >>> ^ >>> make[2]: *** [muse/widgets/CMakeFiles/widgets.dir/text_edit.o] Error 1 >>> make[2]: *** Waiting for unfinished jobs.... >>> >>> >>> I have had only a brief look and didn't find a suspect, any idea? >>> >>> lg, >>> Michael >>> >>> >>> >>> >>> >>> On 2017-04-08 18:34, Tim wrote: >>>> Oops! >>>> >>>> 5 minutes later, in foolish confidence, I simply clicked >>>> File > New > Audio.med > change wave track 1 to stereo. >>>> >>>> Crashes soon after. >>>> >>>> Took two days to track this puppy down. >>>> Insidious silent data corruption. And of course my fault, >>>> in the worst possible place, the low-level audio engine. >>>> >>>> This crash bug is about about one year old. >>>> >>>> If you experienced any crashes simply by changing >>>> an audio track from mono <> stereo, this was likely it. >>>> >>>> Tim. >>>> >>>> >>>> ChangeLog: >>>> - Crash fix: File > New > Audio.med > change wave track 1 to stereo -> >>>> crashes soon after. >>>> In AudioTrack::copyData(): In two sections concerning '2ch' -> >>>> '1ch' >>>> mixing: >>>> Move 'sp' inside channel loop. Was allowed to increment beyond, >>>> into >>>> other variable data, causing silent corruption. >>>> - Also, fixed template "audo.med": Both audio output track's outputs >>>> were routed to same jack port. >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> >>>> >>>> Check out the vibrant tech community on one of the world's most >>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>>> _______________________________________________ >>>> Lmuse-developer mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/lmuse-developer >>>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> Lmuse-developer mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/lmuse-developer >> > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Lmuse-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lmuse-developer
