Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. JackOSX framework, Issues with headers
Qt 6.11 is out! See what's new in the release blog

JackOSX framework, Issues with headers

Scheduled Pinned Locked Moved Solved General and Desktop
osx framework
4 Posts 3 Posters 572 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mpergand
    wrote on last edited by mpergand
    #1

    Hi all,

    I'm trying to use the jack audio framework on OSX.
    I install the JackOSX pkg, add the following in .pro:

    QMAKE_CXXFLAGS +=   -F/library/frameworks
    QMAKE_CFLAGS +=   -F/library/frameworks
    LIBS +=             -framework Jackmp
    

    The problem is when I try to include the header:

    #include <jackmp/jack.h>
    

    I have an error:

    /library/frameworks/jackmp.framework/Headers/jack.h:29:10: fatal error: 'jack/systemdeps.h' file not found
    #include <jack/systemdeps.h>
             ^
    

    jack.h try to include <jack/systemdeps.h> but there's no jack folder in the framework Headers.

    And all the includes are relative to the jack folder:

    #include <jack/systemdeps.h>
    #include <jack/types.h>
    #include <jack/transport.h>
    

    I'm missing something obvious ?
    (the name of the framework is jackmp not jack)

    jsulmJ 1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      When the includes are not where they should be I don't know what Qt (or qmake in this case) can do against. You should ask the creator of this library what is wrong.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1
      • M mpergand

        Hi all,

        I'm trying to use the jack audio framework on OSX.
        I install the JackOSX pkg, add the following in .pro:

        QMAKE_CXXFLAGS +=   -F/library/frameworks
        QMAKE_CFLAGS +=   -F/library/frameworks
        LIBS +=             -framework Jackmp
        

        The problem is when I try to include the header:

        #include <jackmp/jack.h>
        

        I have an error:

        /library/frameworks/jackmp.framework/Headers/jack.h:29:10: fatal error: 'jack/systemdeps.h' file not found
        #include <jack/systemdeps.h>
                 ^
        

        jack.h try to include <jack/systemdeps.h> but there's no jack folder in the framework Headers.

        And all the includes are relative to the jack folder:

        #include <jack/systemdeps.h>
        #include <jack/types.h>
        #include <jack/transport.h>
        

        I'm missing something obvious ?
        (the name of the framework is jackmp not jack)

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @mpergand Did you try to search for any of that header files inside the framework to see whether they are there and if so where exactly they are located?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mpergand
          wrote on last edited by mpergand
          #4

          Thanks for your responses.
          Sure there's something wrong with the framework headers.
          Hopefully there's a dylb installed as well and the headers are located in the right 'jack' folder in usr/local/include.

          So it works with the dylb, not the framework.
          Problem (seems) solved

          Thanks you all for your attention.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved