On May 25, 2013 04:57:05 PM Tim E. Real wrote:
> On May 25, 2013 08:50:39 PM Florian Jung wrote:
> > Hi
> >
> > latest trunk does not build on Debian Squeeze, it does build however on
> > Gentoo.
> >
> > I'm getting these errors:
> >
> > [ 60%] Building CXX object muse/driver/CMakeFiles/driver.dir/jack.o
> > /home/flo/muse-git/muse2/muse/driver/jack.cpp: In member function
> > 'virtual unsigned int MusECore::JackAudioDevice::portLatency(void*,
> > bool) const':
> > /home/flo/muse-git/muse2/muse/driver/jack.cpp:1575: error:
> > 'jack_latency_range_t' was not declared in this scope
> > /home/flo/muse-git/muse2/muse/driver/jack.cpp:1575: error: expected ';'
> > before 'p_range'
> > /home/flo/muse-git/muse2/muse/driver/jack.cpp:1576: error:
> > 'JackPlaybackLatency' was not declared in this scope
> > /home/flo/muse-git/muse2/muse/driver/jack.cpp:1576: error: 'p_range' was
> > not declared in this scope
> > /home/flo/muse-git/muse2/muse/driver/jack.cpp:1576: error:
> > 'jack_port_get_latency_range' was not declared in this scope
> > /home/flo/muse-git/muse2/muse/driver/jack.cpp:1584: error: expected ';'
> > before 'c_range'
> > /home/flo/muse-git/muse2/muse/driver/jack.cpp:1585: error:
> > 'JackCaptureLatency' was not declared in this scope
> > /home/flo/muse-git/muse2/muse/driver/jack.cpp:1585: error: 'c_range' was
> > not declared in this scope
> > make[2]: *** [muse/driver/CMakeFiles/driver.dir/jack.o] Error 1
> > make[1]: *** [muse/driver/CMakeFiles/driver.dir/all] Error 2
> > make: *** [all] Error 2
> >
> > What's wrong there :(?
> >
> > Greetings,
> > flo
>
> Oh sorry, I added some preliminary latency stuff which makes use of
> the Jack latency API.
>
> Which Jack version is installed?
>
> This is odd, jack_latency_range_t and all the latency stuff is
> in both Jack-1 and Jack-2.
>
> Should all be in the included jack.h header.
> So it should work.
>
> Maybe this is just a red-herring and really it can't find the jack.h header?
> Hmm...
>
> Thanks.
> Tim.
>
The offending jack_latency_range_t, and friends, are in <jack/types.h>
Hm looking in our jack.cpp I see we have only
#include <jack/midiport.h>
Although later we have our
#include "jackaudio.h"
where in jackaudio.h we find the real main jack header
#include <jack/jack.h>
Could that be the problem...
Try adding the main jack header near the top our jack.cpp:
#include <jack/jack.h>
or else just
#include <jack/types.h>
Tim.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer