本文介绍了如何安装VOCE for C ++?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试安装VOCE api,这是一个为C ++和Java构建的语音识别API。这是我第二次使用外部C ++ libs,第一次使用Java + C ++ api。

I am trying to install the VOCE api, which is a voice recognition API built for both C++ and Java. This is the second time I am working with external C++ libs, and first time working with Java + C++ api.

Voce链接 -

Voce link - http://voce.sourceforge.net/

在这个API中确实没有.lib文件,只有.jar文件!我读了整个读我文件,但没有好的线索如何设置为C ++。我使用QT,最新版本与Visual Studio 2010编译器工作。

In this API there is really no .lib files, but only .jar files! I read the whole "read me" file but no good clue at how to set this up for C++. I am using QT, the latest version which works with Visual Studio 2010 compiler.

如何设定?请帮助!

推荐答案

看看C ++头文件和VOCE中的示例,似乎C ++选项使用,以允许C ++程序运行嵌入式JVM。所有的代码仍然是Java,但你只需要#'include voce.h 并确保您已正确设置JNI。

Looking at the C++ header and examples from VOCE, it seems that the C++ option is using the Java Native Interface (JNI) to allow a C++ program to run an embedded JVM. All of the code is still in Java, but you just need to #'include he voce.h in your project and make sure you have set up JNI correctly.

有一个。

这篇关于如何安装VOCE for C ++?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 07:52