[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is it possible/acceptable to create a component in Gambas that depends on a shared library?
[Thread Prev] | [Thread Next]
- Subject: Re: Is it possible/acceptable to create a component in Gambas that depends on a shared library?
- From: Gianluigi <gradobag@xxxxxxxxxxx>
- Date: Tue, 10 Feb 2026 23:20:34 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Il 10/02/26 22:49, Gianluigi ha scritto:
Il 10/02/26 22:40, Gianluigi ha scritto:Il 10/02/26 21:06, gbWilly ha scritto:A lot of the questions you pose here Claus have my attention as well. I'm very curious to read answers to these questions as I do want to experiment with interfacing with some C libraries myself.Great stuff, this VLC API Vuott wrote. I'll be studying it for sure and see if I can play a bit with the concept.I somehow wish there would be some really simple C library that does really simple to understand stuff any noob can read and understand, and an gambas example application that interfaces with this really simple noob friendly C library. This would be for learning purpose only, doesn't have to have a real function, just do something, like print "Hello from the library" for example or do a calculation etc.Up to now I mostly used command line applications to interface the environment. Some of these command line applications use an underlying library where the real magic happens and I would rather interface with these directly, for the simple reason to know how to do it, how to maintain it and to help others achieve the same.If I get a grasp on it myself, I will write a Gambas Learning Guide on interfacing with C libraries, at least that is my goal.gbWillyHi gbWilly, As the wiki states:There is a TEMPLATE directory in the sources that includes a script named make-component that can create a component skeleton directory from a configuration file.The configuration file must be located in the TEMPLATE/conf sub- directory.See the TEMPLATE/README file for more details (Written directly by Benoit).Regards Gianluigi P.S. I don't know C/C++, so I can't help.Found it!https://web.archive.org/web/20201026120522/https://www-e.ovgu.de/tboege/ gambas/native_comp.pdfGianluigi
This (again by Prof. Tobias Boege) is also interesting: https://lists.gambas-basic.org/pipermail/user/2014-September/049856.html Gianluigi
| Re: Is it possible/acceptable to create a component in Gambas that depends on a shared library? | Lee <t.lee.davidson@xxxxxxxxx> |