Re: Bindings for FLTK - testers needed
Michael Van Canneyt via fpc-pascal <[email protected]> Wed, 24 Jun 2026 15:17:21 +0200 (CEST)
| Newsgroups | gmane.comp.compilers.free-pascal.general |
|---|---|
| Message-ID | <[email protected]> |
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-530007952-1782307042=:4143775 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 24 Jun 2026, Dibo via fpc-pascal wrote: > VersionĀ 1.5.23.4. Finally solved issues with static linking. It turned > out that FPC while linking doesn't call everything as g++ call while > linking. I had to write patch. Does anyone know why it is needed and why > FPC doesn't call this by default? This is a code which I need to call in > my bindings at first thing before anything else: FPC does not really support linking to C++ libraries. The usual mechanism is to write a C library that sits between FPC/C++, which handles initialization. Probably there will be other initialization routines that must be called, you will likely discover them one by one, whenever a new widget is used that needs one. Michael. --8323329-530007952-1782307042=:4143775 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal --8323329-530007952-1782307042=:4143775--