<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 31, 2015 at 9:02 AM, Vaclav Mach <span dir="ltr"><<a href="mailto:vaclav.mach@artisys.aero" target="_blank">vaclav.mach@artisys.aero</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
I wrote some code (in C++) using JACK1 API. It was quite easy to do that with a plenty of example files.<br>
Recently, I tried to utilize C++ libraries provided in JACK2 because I don't like mixing OO code with C api. There are a lot of C++ classes in JACK2 but I'm not able to link/include them.<br>
<br>
For example: instead of #include <jack/jack.h> I'm trying to #include "jack2/JackServer.h".<br>
<br>
There are no example files.<br>
<br>
What am I doing wrong? Or is it a bad way of using JACK2?<br></blockquote><div><br></div><div>JACK1 and JACK2 are two different implementations of the same API. The API is defined in C. Your code should work with ZERO changes regardless of the version of JACK used at run time. If you want a C++ API wrapper for JACK, there is at least floating around online. <br></div><div> <br></div><div>You've entirely misunderstood what JACK2 is, it appears.<br></div></div></div></div>