Shop OBEX P1 Docs P2 Docs Learn Events
Dev C++ "VOCE" — Parallax Forums

Dev C++ "VOCE"

teganburnsteganburns Posts: 134
edited 2014-01-07 14:53 in General Discussion
http://voce.sourceforge.net/
I have been working on learning C++ recently and came across a pretty cool object(I believe they are called that anyways) and it is written in Java. But there are C++ project files and If I'm not mistaking I can set up the "JNI" in Dev-C++. I have done some research online but to no avail. So, I'm reaching out to my fellow "prop-heads" to see if anyone is open to helping out. I attached a screenshot of the compiler errors of the code from the download (voce-0.9.1>samples>recognitionTest>c++>recognitionTest.cpp)
Deleteme.jpg
1024 x 578 - 74K
980 x 391 - 30K

Comments

  • Heater.Heater. Posts: 21,230
    edited 2014-01-05 20:24
    Your problems start with the first error "voce/voce.h No sucj file or directory"

    That means there is an include path missing from your project or set wrongly.

    I have no idea how to fix that without playing with Dev-C++ and voce but I hope that is a clue.
  • teganburnsteganburns Posts: 134
    edited 2014-01-07 14:15
    So i changed the directories and that seemed to get the job done. But now i get a new error... I think it has to do with the line

    voce::init("../../../lib", false, true, "./grammar", "digits");

    because that seems to be the "linker".
    864 x 809 - 67K
    874 x 268 - 8K
  • Heater.Heater. Posts: 21,230
    edited 2014-01-07 14:53
    Well now you are into the world of connecting C++ code to Java via the JNI interface.
    I suspect you will need to get onto the voce authors about this.
    Or there is always stackoverflow.
Sign In or Register to comment.