簡體   English   中英

C ++,Voce-如何編譯項目?

[英]c++, Voce - how to compile a project?

我的問題是我想試用Voce,但是無法啟動示例程序。 我必須進行很多調整,並且我可以看到我和Voce之間唯一的障礙是(希望如此)以下錯誤:每當我編譯示例程序時,它都會成功編譯,但是隨后,當我想啟動它時給我以下錯誤:

[Voce] Java virtual machine created
[Voce ERROR] The requested Java class: voce/SpeechInterface could not be found.  Make sure the class path correctly points to the Voce classes.
This is a speech recognition test. Speak digits from 0-9 into the microphone. Speak 'quit' to quit.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f0824ffcbd2, pid=7537, tid=139672968279936
#
# JRE version: OpenJDK Runtime Environment (8.0_72-b15) (build 1.8.0_72-internal-b15)
# Java VM: OpenJDK 64-Bit Server VM (25.72-b15 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x651bd2]
#
# Core dump written. Default location: /home/username/testAudio/folder/core or core.7537
#
# An error report file with more information is saved as:
# /home/username/testAudio/folder/enter code herehs_err_pid7537.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

這是整個輸出。

更多信息:我正在使用Kubuntu作為操作系統(基本上是Linux)。

先感謝您!

同時,我能夠解決此問題。 如果有人遇到相同的問題,我將發布解決方案:我只需要編輯cpp文件以匹配lib文件夾的位置,因為我的程序找不到它。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM