Closed
Description
I'm trying to build log4cplus for Android. It would be really great to make it easy to build for Android too because this is the best logging library there is..
I'm working with Linux environment and I've read instruction from /android/android.toolchain.cmake
michael@michael-VirtualBox:~/Downloads/log4cplus-1.2.1-rc2/build$ export ANDROID_NDK=~/Downloads/android-ndk-r15c
michael@michael-VirtualBox:~/Downloads/log4cplus-1.2.1-rc2/build$ cmake -DCMAKE_TOOLCHAIN_FILE=../android/android.toolchain.cmake ..
CMake Error: Could not find cmake module file: /home/michael/Downloads/log4cplus-1.2.1-rc2/build/CMakeFiles/3.0.2/CMakeCXXCompiler.cmake
CMake Error at CMakeLists.txt:14 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry
CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name
if it is in the PATH.
CMake Error at CMakeLists.txt:14 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting the CMake cache entry
CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler
name if it is in the PATH.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
michael@michael-VirtualBox:~/Downloads/log4cplus-1.2.1-rc2/build$