HomeForumsOpenEars.911 upgrade questions

This topic has 3 voices, contains 21 replies, and was last updated by  Halle 251 days ago.

Viewing 22 posts - 1 through 22 (of 22 total)
Author Posts
Author Posts
July 14, 2011 at 8:21 pm #7131

jimmyno

Hi,
I tried to upgrade to the latest version of openears, but when I launch the build with the device connected, I get this error:

Undefined symbols for architecture armv7:
“___gxx_personality_sj0″, referenced from:
-[ContinuousModel listeningLoopWithLanguageModelAtPath:dictionaryAtPath:languageModelIsJSGF:] in libOpenEarsLibrary.a(ContinuousModel.o)
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status

July 14, 2011 at 9:14 pm #7132

jimmyno

ok sorry:) I had renamed the file from .m to .mm

July 14, 2011 at 9:56 pm #7133

Halle

:)

July 15, 2011 at 10:09 am #7134

jimmyno

Hi,
Yesterday before going to sleep I could run my app with the latest version of openears, however, I receive a warning that I can not understand. The application starts and runs, but I always get: Warning: Pocketshpinix controller May Not Respond to startListeningWithLanguageModelAtPath:pathToALanguageModelFileAsString dictionaryAtPath:pathToADictionaryFileAsString languageModelIsJSGF:YESorNO

surely I’m missing something, but I double checked several times, the statements are all in the file .h . I think if I had forgotten some dependence on the application would not start.

Thanks

July 15, 2011 at 10:45 am #7135

Halle

Hi,

It looks like you copy/pasted the method out of the docs (understandably) but the arguments in the method that you’ve posted shouldn’t really be in the implementation. Do you get better results when you copy and paste the implementation of that method from the sample app instead?

July 15, 2011 at 11:16 am #7136

jimmyno

No sorry, I just pasted the error I get in the console, the method I use and on which I get the warning is this: [self.pocketsphinxControllerstartListeningWithLanguageModelAtPath:pathToALanguageModelFileAsString dictionaryAtPath:pathToADictionaryFileAsString languageModelIsJSGF:YESorNO];

I also tried to copy the entire viewDidLoad:{ } by example, making sure to remove the statements of buttons and other unnecessary things, but I always get the warning. but I noticed a strange thing, if I remove dependencies on “Header Search Paths” and recompile, my application continues to run. How is this possible?

July 15, 2011 at 11:20 am #7137

Halle

But the method you showed could never compile under any circumstances. There’s no space between self.pocketsphinxController and startListening etc, and all of the arguments are fake arguments that are just in the tutorial for explanatory purposes.

July 15, 2011 at 11:32 am #7138

jimmyno

I had understood this, but I thought that my warning was dependent on another. Now rechecking everything again. I thank you as always for your patience :)

July 15, 2011 at 11:39 am #7139

Halle

No problem — I would also recommend that you do “clean all” and also open up the organizer and empty the DerivedData folder for the app. You may have something that is really not quite set up right, but you aren’t seeing the real errors for it yet because for whatever reason, your old compiled code is still in there somewhere.

July 15, 2011 at 4:52 pm #7141

jimmyno

I have another questions: the last version of openears, is aivable only for xcode 4?

July 15, 2011 at 4:57 pm #7142

Halle

It works with Xcode 3 and 4 but the instructions are only for 4, and I’m not currently giving support for 3. I think it is possible to figure out how to install it in 3 if you follow the suggestion on this page:

http://www.politepix.com/openears/gettingstarted

From the part which begins with the phrase “Please note, instructions are now for Xcode 4 only. ” However, those instructions are only a bit helpful because there are some significant differences between that old version and the new version, which means that you can’t just emulate the instructions for the old version. It’s better to stick with Xcode 4.

July 15, 2011 at 5:09 pm #7143

jimmyno

All right, all right! I did as you recommended! Evidently xcode took inclusions in the files of the old library. Now it works :)

July 16, 2011 at 6:03 pm #7158

jimmyno

bother you with the last question of today :) is possible with the latest version of openears reduce the processing time as they did with the previous version? I mean changing the line was: if ((continuousListener-> read_ts – timestamp)> 16000) {… Thanks!

July 16, 2011 at 9:24 pm #7238

Halle

It’s much easier now to do that in .911 — open up OpenEarsConfig.h and look at the kSecondsOfSilenceToDetect setting.

July 17, 2011 at 9:41 am #7259

jimmyno

Oh great! I thought they were acting on two different methods. I changed the parameter and is perfect for me now. Thanks as always :)

July 17, 2011 at 10:11 am #7260

Halle

Do you not want to reduce the time of kSecondsOfSilenceToDetect more?

July 17, 2011 at 10:29 am #7262

jimmyno

No I tried it and it’s perfect for me at 0.1! :)

July 17, 2011 at 11:56 am #7264

Halle

Whoops, looks like you got an edit in up there :) . Super, glad that works.

September 10, 2011 at 7:43 pm #7589

conan6219

Sorry to bother you again. Just a simple question, is there a simple way to upgrade openears to the latest version?

September 10, 2011 at 7:47 pm #7590

Halle

Which version are you currently using?

September 10, 2011 at 8:42 pm #7591

conan6219

0.9.02 with xcode 3 and now I’ve just upgrade to xcode 4

September 10, 2011 at 8:51 pm #7592

Halle

Sorry, there is no simple way to go from 0.902 to 0.911 (especially at the same time as going from Xcode 3 to Xcode 4). First remove the old version, do “clean all” and thrown out any OpenEars-related contents in DerivedData, carefully go through all the steps in Configuring Your App For OpenEars, and then make sure that you update your app in any necessary ways (for instance, some classes will need to be changed from .m to .mm and the listening loop method has a new signature; it’s all in Configuring Your App For OpenEars).

Viewing 22 posts - 1 through 22 (of 22 total)

You must be logged in to reply to this topic.