HomeForumsOpenEarsConfiguring Your App For OpenEars: libOpenEarsLibrary.a is red in my project

This topic has 2 voices, contains 6 replies, and was last updated by  Halle 257 days ago.

Viewing 7 posts - 1 through 7 (of 7 total)
Author Posts
Author Posts
September 1, 2011 at 8:01 pm #7567

sefiroths

i have completed “Getting Started With OpenEars” and now i’m trying to make the lib available in my app. i have readed and followed :
Configuring Your App For OpenEars, tryed steps over and over all day, but
i compiled the project stopping at step 5…this is part of the 228 warnings and 1 errors:

Check dependencies

[WARN]Warning: Multiple build commands for output file /Users/Eros/Library/Developer/Xcode/DerivedData/myOpenEarsTest-acmdklrqungznggpjewgxuxqsvwo/Build/Products/Debug-iphonesimulator/myOpenEarsTest.app/Exports.def
[WARN]Warning: Multiple build commands for output file /Users/Eros/Library/Developer/Xcode/DerivedData/myOpenEarsTest-acmdklrqungznggpjewgxuxqsvwo/Build/Products/Debug-iphonesimulator/myOpenEarsTest.app/README
[WARN]Warning: Multiple build commands for output file /Users/Eros/Library/Developer/Xcode/DerivedData/myOpenEarsTest-acmdklrqungznggpjewgxuxqsvwo/Build/Products/Debug-iphonesimulator/myOpenEarsTest.app/config.guess
[WARN]Warning: Multiple build commands for output file /Users/Eros/Library/Developer/Xcode/DerivedData/myOpenEarsTest-acmdklrqungznggpjewgxuxqsvwo/Build/Products/Debug-iphonesimulator/myOpenEarsTest.app/config.sub
[WARN]warning: no rule to process file '$(PROJECT_DIR)/../../../../librerieGiochi/voiceRecognition/OpenEars/CMULibraries/wince/voices/src/cmu_us_slt8k/paramfiles.mak' of type sourcecode.make for architecture i386
[WARN]warning: no rule to process file '$(PROJECT_DIR)/../../../../librerieGiochi/voiceRecognition/OpenEars/mitlm.0.4/src/optimize/lbfgs.f' of type sourcecode.fortran for architecture i386
[WARN]warning: no rule to process file '$(PROJECT_DIR)/../../../../librerieGiochi/voiceRecognition/OpenEars/mitlm.0.4/src/optimize/lbfgsb.f' of type sourcecode.fortran for architecture i386

warning: no rule to process file '$(PROJECT_DIR)/../../../../librerieGiochi/voiceRecognition/OpenEars/CMULibraries/wince/voices/src/cmu_us_rms8k/paramfiles.mak' of type sourcecode.make for architecture i386
warning: no rule to process file '$(PROJECT_DIR)/../../../../librerieGiochi/voiceRecognition/OpenEars/mitlm.0.4/src/optimize/lbfgsb.f' of type sourcecode.fortran for architecture i386

/Users/Eros/Desktop/myOpenEarsTestDB/../../../../librerieGiochi/voiceRecognition/OpenEars/CMULibraries/sphinxbase-0.6.1/test/unit/test_ngram/turtle.lm:496: bad character: .
/Users/Eros/Desktop/myOpenEarsTestDB/../../../../librerieGiochi/voiceRecognition/OpenEars/CMULibraries/sphinxbase-0.6.1/test/unit/test_ngram/turtle.lm:496: bad character: 3
/Users/Eros/Desktop/myOpenEarsTestDB/../../../../librerieGiochi/voiceRecognition/OpenEars/CMULibraries/sphinxbase-0.6.1/test/unit/test_ngram/turtle.lm:496: bad character: 0
/Users/Eros/Desktop/myOpenEarsTestDB/../../../../librerieGiochi/voiceRecognition/OpenEars/CMULibraries/sphinxbase-0.6.1/test/unit/test_ngram/turtle.lm:496: bad character: 1
/Users/Eros/Desktop/myOpenEarsTestDB/../../../../librerieGiochi/voiceRecognition/OpenEars/CMULibraries/sphinxbase-0.6.1/test/unit/test_ngram/turtle.lm:496: bad character: 0
/Users/Eros/Desktop/myOpenEarsTestDB/../../../../librerieGiochi/voiceRecognition/OpenEars/CMULibraries/sphinxbase-0.6.1/test/unit/test_ngram/turtle.lm:496: unknown error processing section 1
/Users/Eros/Desktop/myOpenEarsTestDB/../../../../librerieGiochi/voiceRecognition/OpenEars/CMULibraries/sphinxbase-0.6.1/test/unit/test_ngram/turtle.lm:496: unknown error processing section 1
/Users/Eros/Desktop/myOpenEarsTestDB/../../../../librerieGiochi/voiceRecognition/OpenEars/CMULibraries/sphinxbase-0.6.1/test/unit/test_ngram/turtle.lm:499: premature EOF
Command /Developer/usr/bin/lex failed with exit code 1

some ideas?
another strange thing: openEarsSampleProject when i try to open with xcode, now the project is empty.....
libOpenEarsLibrary.a is in red
thanks

  • This reply was modified 260 days ago by  sefiroths.

September 1, 2011 at 8:07 pm #7569

sefiroths

i have opened openEarsSampleProject when i try to open with xcode, now the project is as the beginning… mha!

September 1, 2011 at 8:21 pm #7570

sefiroths

sorry perhaps is too late…my head is smoking!
i have dragged the [openears] folder into xcode instead of dragging in the same folder where is my project folder…

September 1, 2011 at 8:40 pm #7571

Halle

Sorry, I don’t quite understand whether you are still having an issue or not, but it doesn’t matter that the library is in red — it is always red even when everything is working perfectly.

September 2, 2011 at 9:25 am #7573

Halle

Still not sure if you are having trouble here, but just taking one of the warnings as a basis for guessing about what the issues might be:

/Users/Eros/Desktop/myOpenEarsTestDB/../../../../librerieGiochi/voiceRecognition/OpenEars/CMULibraries/sphinxbase-0.6.1/test/unit/test_ngram/turtle.lm:496: bad character: 1

There is no way that sphinxbase-0.6.1/test can end up being compiled along with the sphinxbase source files if you are following the instructions and using the existing OpenEars static library project. The only way this could happen is if the entire sphinxbase folder has either been dragged into either the static library project or the main project.

So, my advice is to start over from the very beginning — most likely you hit an issue while doing the install, then tried to work around it in your own way, and the workaround is causing its own issues. Throw out your DerivedData contents relating to that project, throw out any contents of any related build folders, throw out the downloaded CMU library files that you ran the InstallOpenEars.pl script on already. Then go back and very carefully follow the instructions (you can ask me for clarification if something is confusing). You don’t have to do anything with the unarchived CMU library files directly, other than dragging in your acoustic model, phonetic dictionary and possibly language model at the end according to the instructions.

September 4, 2011 at 10:39 am #7577

sefiroths

thanks Halle i have solved it finally, thanks a lot!

September 4, 2011 at 12:41 pm #7578

Halle

Glad to hear it!

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

You must be logged in to reply to this topic.