Skip to content

cocoBavan/TLSphinxMac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

TLSphinxMac

This is the build script to use when Building TLSphinx framework for mac
How to use

  1. Download PocketSphinx and SphinxBase from http://cmusphinx.sourceforge.net/wiki/download
  2. run ./autogen.sh in them
  3. run distclean
  4. Then copy build_mac.sh in both folders and run it.
  5. Now you will see static libraries and headers for each architectures inside bin folder.
  6. Now checkout https://github.com/tryolabs/TLSphinx
  7. Delete all .a,header files and replace them with the ones we generated with new script.
  8. Create fat libaries :
    $ lipo -create "./x86_64/libpocketsphinx.a" "./i386/libpocketsphinx.a" -output "libpocketsphinx.a"
    $ lipo -create "./x86_64/libsphinxbase.a" "./i386/libsphinxbase.a" -output "libsphinxbase.a"
    $ lipo -create "./x86_64/libsphinxad.a" "./i386/libsphinxad.a" -output "libsphinxad.a"
  9. Change the Architecture and SDK of the TLSPhinx Build Settings.
  10. Build the Porject.. Vola!!
  11. Now manually drag and drop this modified TLSphinx project on to your Project.
  12. And if you need the default assets, find them in the "share" folder and add them to the project via Build Phases-> Copy Bundle Resources

About

The build script to use for mac

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages