[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: Lee <t.lee.davidson@xxxxxxxxx>
- Date: Tue, 10 Feb 2026 18:29:34 -0500
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 2/10/26 5:20 PM, Gianluigi wrote:
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.pdf GianluigiThis (again by Prof. Tobias Boege) is also interesting: https://lists.gambas-basic.org/pipermail/user/2014-September/049856.html Gianluigi
I never new that Tobi wrote a "how to". I have just read that PDF. And, I'll probably have to read it again several times! Good stuff, Gianluigi. Thank you. -- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
| Re: Is it possible/acceptable to create a component in Gambas that depends on a shared library? | Gianluigi <gradobag@xxxxxxxxxxx> |