2016-05-05 4 views
3

Ich bin neu in Linphone. Ich Klon Linphone Git Repo here, ich habe Fehler, wenn ich Linphone Projekt kompilieren werde.CMake Fehler beim Übersetzen von Linphone Android-Projekt in Ubuntu 16.04

Wie erwähnt Schritt in linphone github Seite here, folgen Sie alle Schritt. und installieren Sie die erforderliche Software in Ubuntu 16.04.

Wenn ich zu tun bin ./prepare.py -ac oder ./prepare.py -L habe den gleichen Fehler.

Probleme ist,

/linphone-android$ ./prepare.py ac 
cmake /home/krunal/linphone-android/submodules/cmake-builder -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/home/krunal/linphone-android/liblinphone-sdk/android-arm -DCMAKE_INSTALL_PREFIX=/home/krunal/linphone-android/liblinphone-sdk/android-arm -DLINPHONE_BUILDER_WORK_DIR=/home/krunal/linphone-android/WORK/android-arm -DCMAKE_TOOLCHAIN_FILE=toolchains/toolchain-android-arm.cmake -DLINPHONE_BUILDER_CONFIG_FILE=configs/config-android.cmake -DCMAKE_INSTALL_MESSAGE=LAZY -DLINPHONE_BUILDER_EXTERNAL_SOURCE_PATH=/home/krunal/linphone-android/submodules -DENABLE_VIDEO=NO -G "Unix Makefiles" -DENABLE_GPL_THIRD_PARTIES=YES -DENABLE_NON_FREE_CODECS=YES -DENABLE_AMRNB=YES -DENABLE_AMRWB=YES -DENABLE_BV16=YES -DENABLE_CODEC2=YES -DENABLE_G729=YES -DENABLE_GSM=YES -DENABLE_ILBC=YES -DENABLE_ISAC=YES -DENABLE_OPUS=YES -DENABLE_SILK=YES -DENABLE_SPEEX=YES -DENABLE_FFMPEG=YES -DENABLE_H263=YES -DENABLE_H263P=YES -DENABLE_MPEG4=YES -DENABLE_OPENH264=YES -DENABLE_VPX=YES 
CMake Error at toolchains/android/toolchain-android.cmake:53 (message): 
Cannot find the compiler 
Call Stack (most recent call first): 
toolchains/toolchain-android-arm.cmake:27 (include) 
/usr/share/cmake-3.5/Modules/CMakeDetermineSystem.cmake:98 (include) 
CMakeLists.txt 


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage 
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage 
- Configuring incomplete, errors occurred! 
+0

Nun, müssen Sie die C eingestellt und die C++ - Compiler. Hast du überhaupt einen passenden Compiler installiert? – usr1234567

+1

@ usr1234567 Nein ich installiere keinen c Compiler im System. Also, welcher Compiler wird in cmake verwendet. Kann ich mit GCC-Compiler ... gehen? –

+0

CMake hat nichts mit Ihrem Compiler zu tun. Wahrscheinlich wird etwas GCC benötigt. Sie sollten mehr über Cross Compiling lernen und ein Tutorial machen oder ein Buch lesen. – usr1234567

Antwort