FFI-Platypus | Write Perl bindings to non-Perl libraries | Wrapper library
kandi X-RAY | FFI-Platypus Summary
kandi X-RAY | FFI-Platypus Summary
Platypus is a library for creating interfaces to machine code libraries written in languages like C, C++, Go, Fortran, Rust, Pascal. Essentially anything that gets compiled into machine code. This implementation uses libffi to accomplish this task. libffi is battle tested by a number of other scripting and virtual machine languages, such as Python and Ruby to serve a similar role. There are a number of reasons why you might want to write an extension with Platypus instead of XS:. This document consists of an API reference, a set of examples, some support and development (for contributors) information. If you are new to Platypus or FFI, you may want to skip down to the EXAMPLES to get a taste of what you can do with Platypus. Platypus has extensive documentation of types at FFI::Platypus::Type and its custom types API at FFI::Platypus::API. You are strongly encouraged to use API level 1 for all new code. There are a number of improvements and design fixes that you get for free. You should even consider updating existing modules to use API level 1 where feasible. How do I do that you might ask? Simply pass in the API level to the platypus constructor. The Platypus documentation has already been updated to assume API level 1.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of FFI-Platypus
FFI-Platypus Key Features
FFI-Platypus Examples and Code Snippets
Community Discussions
Trending Discussions on FFI-Platypus
QUESTION
When I am trying to install FFI::Platypus on straweberry perl 5.28.1 I get the below messsage. Any idea what might be wrong?
...ANSWER
Answered 2019-Mar-21 at 06:06From the linker error message (missing symbols EnumProcessModules
and GetModuleFileNameExA
which are Windows API functions) it is clear that the library kernel32
is missing. The linker command line shown in your update proves that.
The update also shows that you have installed Strawberry Perl under a path that contains spaces:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install FFI-Platypus
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page