简体   繁体   English

如何使用 JNAerator?

[英]How to use JNAerator?

I want to use JNAerator to generate the Java wrapper of some C++ API functions for JNA.我想使用 JNAerator 为 JNA 生成一些 C++ API 函数的 Java 包装器。 The Problem is that I can't use JNAerator Studio or access Github from my PC at work.问题是我在工作时无法使用 JNAerator Studio 或从我的 PC 访问 Github。 I only have the .zip-file from the Github-repository.我只有 Github 存储库中的 .zip 文件。 I can't find any documentation or tutorial on how to use it from the command line.我找不到任何有关如何从命令行使用它的文档或教程。 Can anyone help me out?任何人都可以帮助我吗?

Edit: I tried to compile the repository with maven, but I get an error which says "non-resolveable parent POM".编辑:我试图用 maven 编译存储库,但我收到一个错误,上面写着“不可解析的父 POM”。 But anyway, I do not know what to do with the repository after compiling it.但无论如何,我不知道编译后如何处理存储库。 What steps do I need to take so I can use JNAerator/How can I set it up?我需要采取哪些步骤才能使用 JNAerator/如何设置?

You can also try the jnaerator wiki .您也可以尝试 jnaerator wiki Here's an overview .这是一个概述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM