Hello,
I followed the guide in the page
https://gitlab.linphone.org/BC/public/linphone-sdk/ and also run these with
the MSYS2 MSYS command in Windows 10:
pacman -S mingw-w64-i686-cmake
pacman -S mingw-w64-i686-ninja
pacman -S p7zip
My PATH variable includes these:
C:\msys64;C:\msys64\usr\bin;C:\msys64\mingw32\bin;C:\msys64\mingw64\bin;C:\msys64\usr\lib\p7zip;
Then I run the configuration command:
cmake -DENABLE_AAUDIO=OFF -DENABLE_ADVANCED_IM=NO -DENABLE_AMRNB=OFF
-DENABLE_AMRWB=OFF -DENABLE_ASSETS=NO -DENABLE_BV16=NO -DENABLE_CAMERA2=OFF
-DENABLE_CODEC2=OFF -DENABLE_CSHARP_WRAPPER=OFF -DENABLE_CXX_WRAPPER=NO
-DENABLE_DB_STORAGE=NO -DENABLE_DEBUG_LOGS=YES -DENABLE_DOC=OFF
-DENABLE_EMBEDDED_OPENH264=OFF -DENABLE_FFMPEG=OFF -DENABLE_G726=OFF
-DENABLE_G729=OFF -DENABLE_G729B_CNG=OFF -DENABLE_GPL_THIRD_PARTIES=NO
-DENABLE_GSM=NO -DENABLE_GTK_UI=OFF -DENABLE_H263=OFF -DENABLE_H263P=OFF
-DENABLE_ILBC=OFF -DENABLE_ISAC=OFF -DENABLE_JAVA_WRAPPER=OFF
-DENABLE_JAZZY_DOC=OFF -DENABLE_JPEG=NO -DENABLE_LIME=OFF
-DENABLE_LIME_X3DH=NO -DENABLE_MBEDTLS=YES -DENABLE_MDNS=OFF
-DENABLE_MKV=NO -DENABLE_MPEG4=OFF -DENABLE_NLS=OFF
-DENABLE_NON_FREE_CODECS=OFF -DENABLE_OPENH264=OFF -DENABLE_OPUS=NO
-DENABLE_PCAP=OFF -DENABLE_POLARSSL=OFF -DENABLE_QRCODE=OFF
-DENABLE_RTP_MAP_ALWAYS_IN_SDP=OFF -DENABLE_SILK=OFF
-DENABLE_SOCI_MYSQL=OFF -DENABLE_SPEEX=YES -DENABLE_SQLITE=YES
-DENABLE_SRTP=NO -DENABLE_SWIFT_WRAPPER=OFF -DENABLE_TOOLS=NO
-DENABLE_TUNNEL=OFF -DENABLE_UNIT_TESTS=NO -DENABLE_UNMAINTAINED=OFF
-DENABLE_UPDATE_CHECK=OFF -DENABLE_V4L=OFF -DENABLE_VCARD=NO
-DENABLE_VIDEO=NO -DENABLE_VPX=OFF -DENABLE_WASAPI=ON
-DENABLE_WEBRTC_AEC=YES -DENABLE_WEBRTC_AECM=YES -DENABLE_WEBRTC_VAD=OFF
-DENABLE_X264=OFF -DENABLE_XML2=NO -DENABLE_ZLIB=NO -DENABLE_ZRTP=NO
-DENABLE_ZRTP=OFF ..
and then the build command:
cmake --build .
My build ends with the error:
-- Build files have been written to:
C:/e/linphone-sdk/build/WORK/desktop/Build/speex
[32/128] Performing build step for 'EP_sqlite3'
[1/2] Building C object CMakeFiles/sqlite3.dir/sqlite3.c.obj
[2/2] Linking C shared library libsqlite3.dll
ninja: build stopped: subcommand failed.
ninja: build stopped: subcommand failed.
What could be problem?
Thanks for the any help!
I included the configuration and build logs below.
BR,
George
Configuration log
-- Building for: Ninja
-- Enabled features:
* Debug logs, Enable debug level logs in libinphone and mediastreamer2.
* Sqlite, Enable bc version of sqlite3
* Mbedtls, Crypto stack implementation based on mbeddtls.
* WebRTC AEC, WebRTC echo canceller support.
* WebRTC AECM, WebRTC echo canceller for mobile support.
* WASAPI, Windows Audio Session API (WASAPI) sound card support.
* Speex, Speex audio encoding/decoding support.
* FlexiAPI, Enable the FlexiAPI support in Liblinphone.
* LDAP, Enable LDAP Liblinphone.
-- Disabled features:
* Embedded OpenH264, Embed the openh264 library instead of downloading it
from Cisco.
* Unit tests, Enable unit tests support with BCUnit library.
* Doc, Enable documentation generation with Doxygen
* Tools, Enable tools binary compilation.
* unmaintained, Allow inclusion of unmaintained code in the build.
* Xml2, Enable bc version of libxml2
* Zlib, Enable bc version of zlib
* Soci mysql, Enable mysql support of SOCI
* Sanitizer, Enable Clang sanitizer
* HW Sanitizer, Enable Android HW sanitizer
* Polarssl, Crypto stack implementation based on polarssl.
* Tunnel, Secure tunnel for SIP/RTP (require license).
* RTP Map always in SDP, Always include rtpmap in SDP.
* mDNS, Multicast DNS support
* DNS_SERVICE, Enable Apple DNS Service. Available on Mac and iOS.
Incompatible with ENABLE_MDNS.
* GPL third parties, Usage of GPL third-party code (FFmpeg and x264).
* Non free codecs, Allow inclusion of non-free codecs in the build.
* SRTP, SRTP media encryption support.
* ZRTP, ZRTP media encryption support.
* AMRNB, AMR narrow-band audio encoding/decoding support (require license).
* AMRWB, AMR wide-band audio encoding/decoding support (require license).
* Codec2, Codec2 audio encoding/decoding support.
* G729, G.729 audio encoding/decoding support.
* G729B CNG, G.729 annex B confort noise generation.
* G726, G.726 audio encoding/decoding support.
* GSM, GSM audio encoding/decoding support.
* iLBC, iLBC audio encoding/decoding support.
* ISAC, ISAC audio encoding/decoding support.
* OPUS, OPUS audio encoding/decoding support.
* Silk, Silk audio encoding/decoding support.
* WebRTC VAD, WebRTC voice activation detector support.
* BV16, BroadVoice 16 audio encoding/decoding support.
* Video, Ability to capture and display video.
* V4L, Ability to capture and display video using libv4l2 .
* jpeg, JPEG support with libjpeg-turbo.
* qrcode, QRCode support with zxing.
* Qt GL, Enable Qt OpenGL rendering support.
* FFmpeg, Some video processing features via FFmpeg: JPEG
encoding/decoding, video scaling, H264