Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

A long-forgotten loved one will appear soon. Buy the negatives at any price.


comp / comp.lang.tcl / Tcl C++ library access

SubjectAuthor
* Tcl C++ library accessMark Summerfield
`* Re: Tcl C++ library accessRobert Heller
 `* Re: Tcl C++ library accessPaul Obermeier
  `- Re: Tcl C++ library accessMark Summerfield

1
Subject: Tcl C++ library access
From: Mark Summerfield
Newsgroups: comp.lang.tcl
Date: Sun, 16 Jun 2024 12:04 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-3.nntp.ord.giganews.com!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 16 Jun 2024 12:04:59 +0000
From: mark@qtrac.eu (Mark Summerfield)
Subject: Tcl C++ library access
Newsgroups: comp.lang.tcl
MIME-Version: 1.0
User-Agent: Pan/0.154 (Izium; 517acf4)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <wrOdnd4DVb92SfP7nZ2dnZfqnPednZ2d@brightview.co.uk>
Date: Sun, 16 Jun 2024 12:04:59 +0000
Lines: 6
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-OeMQrwVAemX0ueq3AlKMNeaKg+xnoE80uIksmobylelFUM+g1ue20R5gSuBUDARQeZ96zo90FF/eF7J!ASudw9Ngoc2L8PZdew5nkOwFRGcevemdzce6rgsMEJ49VYyZoSfn9Ac79uZmgW7jpBM3SarHOzy3!r88WQ33Td+ykX49itBEGc+T8sg==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

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?

Subject: Re: Tcl C++ library access
From: Robert Heller
Newsgroups: comp.lang.tcl
Organization: Deepwoods Software
Date: Sun, 16 Jun 2024 16:03 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-2.nntp.ord.giganews.com!border-4.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 16 Jun 2024 16:03:53 +0000
MIME-Version: 1.0
From: heller@deepsoft.com (Robert Heller)
Organization: Deepwoods Software
X-Newsreader: TkNews 3.0 (1.2.17)
Subject: Re: Tcl C++ library access
In-Reply-To: <wrOdnd4DVb92SfP7nZ2dnZfqnPednZ2d@brightview.co.uk>
References: <wrOdnd4DVb92SfP7nZ2dnZfqnPednZ2d@brightview.co.uk>
Newsgroups: comp.lang.tcl
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset="us-ascii"
Originator: heller@sharky4.deepsoft.com
Message-ID: <4GudnTUXT5p0kfL7nZ2dnZfqn_GdnZ2d@giganews.com>
Date: Sun, 16 Jun 2024 16:03:53 +0000
Lines: 21
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-uDAx6PvU/OqroDdJYSu1ryDHBX5fPy30mzHlzZkCqyePrXi4CKEdu5/WDOei4RYNbuLk6ZbkbaT17Zi!SopEoYY2wfMkIro+4MLlytJYmslq+CG9zJglcEIUH/uImmJ5sFIrjK8V2XlbNr3NRpTIGdZAZLma!tRE=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

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

Subject: Re: Tcl C++ library access
From: Paul Obermeier
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Sun, 16 Jun 2024 16:46 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: obermeier@poSoft.de (Paul Obermeier)
Newsgroups: comp.lang.tcl
Subject: Re: Tcl C++ library access
Date: Sun, 16 Jun 2024 18:46:33 +0200
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <v4n4te$4qiu$1@dont-email.me>
References: <wrOdnd4DVb92SfP7nZ2dnZfqnPednZ2d@brightview.co.uk>
<4GudnTUXT5p0kfL7nZ2dnZfqn_GdnZ2d@giganews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 16 Jun 2024 18:46:38 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="84788ef93664454515bcf8ac333c0bf4";
logging-data="158302"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KqPcB/1P8fg6YLrEVTVoZvmu9qBmhRHg="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:r1PgUkDUcWZTyUopU8aOs2XpjIY=
In-Reply-To: <4GudnTUXT5p0kfL7nZ2dnZfqn_GdnZ2d@giganews.com>
View all headers

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?
>>
>>
>

Subject: Re: Tcl C++ library access
From: Mark Summerfield
Newsgroups: comp.lang.tcl
Date: Mon, 17 Jun 2024 06:34 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-3.nntp.ord.giganews.com!nntp.giganews.com!local-3.nntp.ord.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 17 Jun 2024 06:34:36 +0000
From: mark@qtrac.eu (Mark Summerfield)
Subject: Re: Tcl C++ library access
Newsgroups: comp.lang.tcl
References: <wrOdnd4DVb92SfP7nZ2dnZfqnPednZ2d@brightview.co.uk>
<4GudnTUXT5p0kfL7nZ2dnZfqn_GdnZ2d@giganews.com>
<v4n4te$4qiu$1@dont-email.me>
MIME-Version: 1.0
User-Agent: Pan/0.154 (Izium; 517acf4)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <dhednRfMQq9hRfL7nZ2dnZfqnPGdnZ2d@brightview.co.uk>
Date: Mon, 17 Jun 2024 06:34:36 +0000
Lines: 28
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-LQ48TneXoJqpK6gEXbthQfUCXT4KROOzPkfbrSgCb7lT1/B6KLIoOxc//L5R4La5jQkqajhpFpVcck7!r6H4hORAOsf1wZbqCp5ww0I5m0E9h4gu6LWIyZ/K6AVjiRuCGlXdgVP0We7WMEHlj+FFtF9rwqqI!Amw4y/kUs/s0GGjY7CsBVjjOig==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

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/

1

rocksolid light 0.9.8
clearnet tor