Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2012 21:53:47 +0100
From:      Mathias Picker <Mathias.Picker@virtual-earth.de>
To:        Marcel Bonnet <marcelbonnet@gmail.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Welcome to Ardour 3 Beta 5 for FreeBSD
Message-ID:  <1355864027.71711.30.camel@mp>
In-Reply-To: <CAPe0dB==On4BuvDDjX_8f=fdCqDM2B7n1NpQCi%2BLzDUkBc8fpw@mail.gmail.com>
References:  <CAPe0dBm-6K2Nt-zN7jnNBr%2BGtgi3FvGsGdSh%2Bsbr3Ldc7YuGyg@mail.gmail.com> <1355846645.71711.9.camel@mp> <1355848235.71711.14.camel@mp> <1355848782.71711.17.camel@mp> <1355849879.71711.19.camel@mp> <CAPe0dB==On4BuvDDjX_8f=fdCqDM2B7n1NpQCi%2BLzDUkBc8fpw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Dienstag, den 18.12.2012, 18:33 -0200 schrieb Marcel Bonnet:
> On 18 December 2012 14:57, Mathias Picker
> <Mathias.Picker@virtual-earth.de> wrote:
> > Am Dienstag, den 18.12.2012, 17:39 +0100 schrieb Mathias Picker:
> >> Am Dienstag, den 18.12.2012, 17:30 +0100 schrieb Mathias Picker:
> >> > Am Dienstag, den 18.12.2012, 17:04 +0100 schrieb Mathias Picker:
> >> > > Am Dienstag, den 18.12.2012, 12:19 -0200 schrieb Marcel Bonnet:
> >> > > > Hi, folks.
> >> > > >
> >> > > > == Welcome to Ardour 3 Beta 5 for FreeBSD ==
> >> > > >
> >> > > > I'm announcing a port for Ardour 3 Beta 5 (revision 13072), the last
> >> > > > beta before the 3.0-RELEASE.
> >> > >
> >> > > Wow, thanks! Just in time for Xmas.
> >> > > >
> >> > > > First, thanks to Juergen Lock for his Ardour 3 Beta 1 port. I evolved on
> >> > > > the same Makefile and patches.
> >> > > >
> >> > > > == Notes ==
> >> > > [snip]
> >> > >
> >> > > Before I comment on the other ports let me try to build ardour.
> >> > >
> >> > > First, I needed to add -lstdc++ for waf to compile the boost test, and
> >> > > now I'm missing sratom, which is not in ports and wasn't needed for
> >> > > Ardour3b1.
> >> > >
> >> > > Do you have it?
> >> >
> >> > OK, I build it myself.
> >> >
> >> > Now I get:
> >> >
> >> > [ 55/756] cxx: libs/evoral/src/SMF.cpp ->
> >> > build/libs/evoral/src/SMF.cpp.2.o
> >> > clang: warning: argument unused during compilation: '-rdynamic'
> >> > ../libs/vamp-sdk/src/vamp-hostsdk/PluginHostAdapter.cpp:41:2: error:
> >> > Unexpected version of Vamp SDK header
> >> >       included
> >> > #error Unexpected version of Vamp SDK header included
> >> >  ^
> >> > 1 error generated.
> >> >
> >> > My vamp:
> >> >
> >> > mp# pkg info|grep vamp
> >> > vamp-plugin-sdk-2.3            Vamp audio analysis plugin SDK
> >> >
> >> > Ardour ships with it's own vamp library and seems to get in trouble
> >> > here. I do not yet know how to work around it, will investigate.
> >> > Any hints welcome.
> >>
> >> Indeed, after moving my system vamp out of the way temporarily, the
> >> build resumes, but now stops at:
> >>
> >> In file included
> >> from /usr/home/mathiasp/Developer/Ardour3/ports/ardour/work/ardour-3.0-beta5-r13072/libs/evoral/evoral/Sequence.hpp:34:
> >> /usr/home/mathiasp/Developer/Ardour3/ports/ardour/work/ardour-3.0-beta5-r13072/libs/evoral/evoral/PatchChange.hpp:126:7: error:
> >>       reference to non-static member function must be called; did you
> >> mean to call it with no arguments?
> >>                 if (bank != o.bank()) {
> >
> > Changing this to bank() != o.bank() resumes the build...
> >
> >>                     ^~~~
> >>                         ()
> >> 1 error generated.
> >> Waf: Leaving directory
> >> `/usr/home/mathiasp/Developer/Ardour3/ports/ardour/work/ardour-3.0-beta5-r13072/build'
> >> Build failed
> >>
> >>
> >
> > But now:
> >
> > [195/756] cxx: libs/ardour/thread_buffers.cc ->
> > build/libs/ardour/thread_buffers.cc.1.o
> > clang: warning: argument unused during compilation: '-rdynamic'
> > ../libs/ardour/session_vst.cc:62:69: error: cast from pointer to smaller
> > type 'int' loses information
> >   ...("am callback 0x%x, opcode = %d, plugin = \"%s\" ", (int)
> > pthread_self(), opcode, plug->name());
> >
> > ^~~~~~~~~~~~~~~~~~~~
> > ../libs/ardour/session_vst.cc:66:51: error: cast from pointer to smaller
> > type 'int' loses information
> >                 SHOW_CALLBACK ("am callback 0x%x, opcode = %d", (int)
> > pthread_self(), opcode);
> >
> > ^~~~~~~~~~~~~~~~~~~~
> > 2 errors generated.
> >
> > :(
> >
> >
> >> Any ideas, tips, help?
> >>
> >> I'm now off to catch my train, and tomorrow I'll probably offline, but
> >> maybe I'll look into this in the train ;)
> >>
> >> Cheers, Mathias
> >>
> >>
> >> >
> >> > Cheers, Mathias
> >> >
> >> >
> >> > >
> >> > > As for lv2/lv2core, I would ask the lv2core maintainer how he would like
> >> > > to handle this.
> >> > >
> >> > > Cheers, Mathias
> >> > >
> >> > > _______________________________________________
> >> > > freebsd-multimedia@freebsd.org mailing list
> >> > > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> >> > > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org"
> >> >
> >> >
> >> > _______________________________________________
> >> > freebsd-multimedia@freebsd.org mailing list
> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> >> > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org"
> >>
> >>
> >> _______________________________________________
> >> freebsd-multimedia@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> >> To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org"
> >
> >
> 
> Hi, Mathias! Thanks.
> And yes, a Xmas version was a goal for me!
> About the erros above... Hum, I would like very much to help you but I
> have no idea. The beta 1 I couldn't compile and this beta 5 are making
> me understand why is so hard a ports maintainer's life!
> But don't give up.

:) It's actually pretty simple, change the cast to intptr_t (int is
platform specific, inptr_t not) and  adjust the format string. I'm no C
expert, but I guess this should work, at least it compiles:

SHOW_CALLBACK ("am callback 0x%" PRIxPTR", opcode = %d, plugin = \"%s\"
", (intptr_t) pthread_self(), opcode, plug->name());


> At home I'll take a look and upload the sratom port. I think you're
> right, I forgot it.
> 
> Cheers,

I have now build ardour3b5 and can start it, load a b1 file, but mouse
button 1 does not work as expected. It does not activate play or stop,
and clicking on some ui elements a menu pops up, just as if some
modifier is pressed at the same time - but it's not. Very puzzling.
Ardour hangs when closing. 

Thanks for your work, at least it compiles now! I may go over your other
ports after xmas, they still need some work, let's see if we can get
this up and running!

Cheers, Mathias




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1355864027.71711.30.camel>