• Tcl C++ library access

    From Mark Summerfield@21:1/5 to All on Sun Jun 16 12:04:59 2024
    I've started using Tcl/Tk 9.0b2 on Linux 64-bit.

    I'd quite like to access the poppler library. This provides APIs for C++ https://poppler.freedesktop.org/api/cpp/

    Is there any nice (easy:-) way to access C++ bindings from Tcl?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robert Heller@21:1/5 to mark@qtrac.eu on Sun Jun 16 16:03:53 2024
    I use SWIG to generate a wrapper module. I don't know if SWIG supports Tcl/Tk 9.0 or not -- I have only used it with Tcl 8.x.

    At Sun, 16 Jun 2024 12:04:59 +0000 Mark Summerfield <mark@qtrac.eu> wrote:


    I've started using Tcl/Tk 9.0b2 on Linux 64-bit.

    I'd quite like to access the poppler library. This provides APIs for C++ https://poppler.freedesktop.org/api/cpp/

    Is there any nice (easy:-) way to access C++ bindings from Tcl?



    --
    Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
    Deepwoods Software -- Custom Software Services
    http://www.deepsoft.com/ -- Linux Administration Services
    heller@deepsoft.com -- Webhosting Services

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul Obermeier@21:1/5 to All on Sun Jun 16 18:46:33 2024
    SWIG supports Tcl 9 since version 4.2.1, see my pull request https://github.com/swig/swig/pull/2752

    Paul

    Am 16.06.2024 um 18:03 schrieb Robert Heller:
    I use SWIG to generate a wrapper module. I don't know if SWIG supports Tcl/Tk
    9.0 or not -- I have only used it with Tcl 8.x.

    At Sun, 16 Jun 2024 12:04:59 +0000 Mark Summerfield <mark@qtrac.eu> wrote:


    I've started using Tcl/Tk 9.0b2 on Linux 64-bit.

    I'd quite like to access the poppler library. This provides APIs for C++
    https://poppler.freedesktop.org/api/cpp/

    Is there any nice (easy:-) way to access C++ bindings from Tcl?




    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark Summerfield@21:1/5 to Paul Obermeier on Mon Jun 17 06:34:36 2024
    On Sun, 16 Jun 2024 18:46:33 +0200, Paul Obermeier wrote:

    SWIG supports Tcl 9 since version 4.2.1, see my pull request https://github.com/swig/swig/pull/2752

    Paul

    Am 16.06.2024 um 18:03 schrieb Robert Heller:
    I use SWIG to generate a wrapper module. I don't know if SWIG supports
    Tcl/Tk 9.0 or not -- I have only used it with Tcl 8.x.

    At Sun, 16 Jun 2024 12:04:59 +0000 Mark Summerfield <mark@qtrac.eu>
    wrote:


    I've started using Tcl/Tk 9.0b2 on Linux 64-bit.

    I'd quite like to access the poppler library. This provides APIs for
    C++
    https://poppler.freedesktop.org/api/cpp/

    Is there any nice (easy:-) way to access C++ bindings from Tcl?




    Thanks for your replies. I can now see SWIG has Tcl 9 support. https:// www.swig.org/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)