TimothyGu / libilbc

Packaged version of iLBC codec from the WebRTC project
BSD 3-Clause "New" or "Revised" License
64 stars 49 forks source link

Include the project folder #46

Open jiapei100 opened 2 months ago

jiapei100 commented 2 months ago

Otherwise, you'll meet errors like:

   19 | #include "modules/audio_coding/codecs/ilbc/augmented_cb_corr.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
....../libilbc/modules/audio_coding/codecs/ilbc/bw_expand.c:19:10: fatal error: modules/audio_coding/codecs/ilbc/bw_expand.h: No such file or directory
   19 | #include "modules/audio_coding/codecs/ilbc/bw_expand.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
....../libilbc/modules/audio_coding/codecs/ilbc/abs_quant.c:19:10: fatal error: modules/audio_coding/codecs/ilbc/abs_quant.h: No such file or directory
   19 | #include "modules/audio_coding/codecs/ilbc/abs_quant.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
....../libilbc/modules/audio_coding/codecs/ilbc/cb_mem_energy_augmentation.c:19:10: fatal error: modules/audio_coding/codecs/ilbc/cb_mem_energy_augmentation.h: No such file or directory
   19 | #include "modules/audio_coding/codecs/ilbc/cb_mem_energy_augmentation.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
compilation terminated.
....../libilbc/modules/audio_coding/codecs/ilbc/abs_quant_loop.c:19:10: fatal error: modules/audio_coding/codecs/ilbc/abs_quant_loop.h: No such file or directory
   19 | #include "modules/audio_coding/codecs/ilbc/abs_quant_loop.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
....../libilbc/modules/audio_coding/codecs/ilbc/cb_mem_energy.c:19:10: fatal error: modules/audio_coding/codecs/ilbc/cb_mem_energy.h: No such file or directory
   19 | #include "modules/audio_coding/codecs/ilbc/cb_mem_energy.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
....../libilbc/modules/audio_coding/codecs/ilbc/cb_construct.c:19:10: fatal error: modules/audio_coding/codecs/ilbc/cb_construct.h: No such file or directory
   19 | #include "modules/audio_coding/codecs/ilbc/cb_construct.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
....../libilbc/modules/audio_coding/codecs/ilbc/cb_mem_energy_calc.c:19:10: fatal error: modules/audio_coding/codecs/ilbc/cb_mem_energy_calc.h: No such file or directory
   19 | #include "modules/audio_coding/codecs/ilbc/cb_mem_energy_calc.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.