BelledonneCommunications / mediastreamer2

Linphone.org mirror for mediastreamer2 (git://git.linphone.org/mediastreamer2.git)
http://linphone.org
GNU Affero General Public License v3.0
133 stars 104 forks source link

Building error #35

Open antonio-couto opened 2 years ago

antonio-couto commented 2 years ago

No Matter what I do always I get this error on Debian 11:

/usr/src/mediastreamer2/src/crypto/dtls_srtp.c:28:10: fatal error: bctoolbox/crypto.h: No such file or directory

This is the command line for build:

bctoolbox:

sudo cmake . -DCMAKE_PREFIX_PATH=/usr/local/include/mbedtls -DENABLE_POLARSSL=NO -DENABLE_TESTS=NO -DENABLE_TESTS_COMPONENT=NO

m2:

sudo cmake . -DSRTP_INCLUDE_DIRS=/usr/include -DSRTP_LIBRARIES=/usr/lib -DENABLE_DOC=NO -DENABLE_UNIT_TESTS=NO -DCMAKE_PREFIX_PATH=/usr/include:/usr/local/include/mbedtls:/usr/local/include/bctoolbox:/usr/local/include/BCUnit:/usr/src/bctoolbox/include/bctoolbox:/usr/src/bctoolbox/include

Any advice will be much appreciate Thanks in avanced.