!Esenthel Building.txt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /******************************************************************************/
  2. // CODE CHANGES
  3. /******************************************************************************/
  4. Do not DELETE the following files when updating to newer SDK, they're probably generated using "arm2gnu.pl", so instead of using that utility, just make sure that "celt_pitch_xcorr_arm.s" is the same as before
  5. "Opus\lib\celt\arm\armopts-gnu.S"
  6. "Opus\lib\celt\arm\celt_pitch_xcorr_arm-gnu.S"
  7. Edit "Opus\lib\celt\arm\armcpu.c":
  8. #elif defined __APPLE__
  9. opus_uint32 opus_cpu_capabilities(void) {return OPUS_CPU_ARM_EDSP_FLAG|OPUS_CPU_ARM_MEDIA_FLAG|OPUS_CPU_ARM_NEON_FLAG;}
  10. DO NOT INCLUDE
  11. "Opus\lib\src\opus_compare.c"
  12. "Opus\lib\src\repacketizer_demo.c"
  13. /******************************************************************************/
  14. // WINDOWS
  15. /******************************************************************************/
  16. Use manually created *.sln Visual Studio files based on provided projects
  17. needed projects: celt, opus, silk_common, silk_float
  18. /******************************************************************************/
  19. // ANDROID
  20. /******************************************************************************/
  21. Use manually created *.mk files
  22. /******************************************************************************/
  23. // MAC
  24. /******************************************************************************/
  25. Use manually created *.xcodeproj
  26. /******************************************************************************/
  27. // LINUX
  28. /******************************************************************************/
  29. OPUS LIB:
  30. cd ~/Esenthel/ThirdPartyLibs/Opus
  31. mkdir Linux
  32. cd Linux
  33. ../lib/configure
  34. make
  35. lib will be created in a hidden folder:
  36. ThirdPartyLibs\Opus\Linux\.libs
  37. copy to win:
  38. ThirdPartyLibs\Opus\Linux
  39. OPUS FILE:
  40. first install openssl ogg opus
  41. sudo apt-get install libssl-dev libogg-dev libopus-dev
  42. from "Opus/file" source dir:
  43. cd ~/Esenthel/ThirdPartyLibs/Opus/file
  44. autoconf
  45. mkdir Linux
  46. cd Linux
  47. ../configure
  48. make
  49. lib will be created in a hidden folder:
  50. ThirdPartyLibs\Opus\file\Linux\.libs
  51. copy to win:
  52. ThirdPartyLibs\Opus\Linux
  53. IF THAT FAILS THEN DO:
  54. cd ~/Esenthel/ThirdPartyLibs/Opus/file/unix
  55. make
  56. and run "extract.bat"
  57. /******************************************************************************/