Re: Bug in CMake for Android NDK tools

Rm Beer <[email protected]> Sun, 13 Jan 2019 03:14:59 -0300
Newsgroups gmane.comp.graphics.png.devel
Message-ID <CAA0fXPtb_goiVxjA9+GfLHkcLv=8Kf_UrjwHu2NavGCyWBdPaQ@mail.gmail.com>
no, I do not have and I do not use libm. With ZLIB it does not seem to
have problems.


2019-01-09 11:26 GMT-03:00, Kyle Bentley <[email protected]>:
> Just for confirmation, you do have libm installed, correct?  And if you do,
> and specify it manually like you have for ZLIB_LIBRARY, does it work as
> expected?
>
> Kyle
> ________________________________________
> From: Rm Beer [[email protected]]
> Sent: Tuesday, January 08, 2019 11:59 PM
> To: png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: [png-mng-implement] Bug in CMake for Android NDK tools
>
> Main SO: Archlinux
> Android NDK: r19
> toolchain: API 21
>
> $ cmake
> -DCMAKE_TOOLCHAIN_FILE=${ALLEGRO5}/Allegro5/cmake/Toolchain-android.cmake
> -DANDROID_TARGET=android-15 -DARM_TARGETS=armeabi-v7a ..
> -DCMAKE_BUILD_TYPE=debug -DCMAKE_INSTALL_PREFIX=${ALLEGRO5}/libpng
> -DZLIB_LIBRARY=/opt/MV3/Android/android-toolchain-arm/user/armeabi-v7a/lib/libz.so
> -DZLIB_INCLUDE_DIR=/opt/MV3/Android/android-toolchain-arm/user/armeabi-v7a/include/
> -Wno-dev
>
> -- Selected Android NDK toolchain: /opt/MV3/Android/android-toolchain-arm
> -- Selected Android NDK toolchain: /opt/MV3/Android/android-toolchain-arm
> -- The C compiler identification is Clang 8.0.2
> -- The ASM compiler identification is Clang
> -- Found assembler:
> /opt/MV3/Android/android-toolchain-arm/bin/arm-linux-androideabi-clang
> -- Check for working C compiler:
> /opt/MV3/Android/android-toolchain-arm/bin/arm-linux-androideabi-clang
> -- Check for working C compiler:
> /opt/MV3/Android/android-toolchain-arm/bin/arm-linux-androideabi-clang
> -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Found ZLIB:
> /opt/MV3/Android/android-toolchain-arm/user/armeabi-v7a/lib/libz.so
> (found version "1.2.11")
> -- Performing Test HAVE_LD_VERSION_SCRIPT
> -- Performing Test HAVE_LD_VERSION_SCRIPT - Success
> clang80: warning: argument unused during compilation: '-stdlib=libc++'
> [-Wunused-command-line-argument]
> -- Symbol prefix:
> CMake Error: The following variables are used in this project, but
> they are set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the
> CMake files:
> M_LIBRARY
>     linked by target "png_static" in directory ${ALLEGRO5}/libpng-1.6.36
>     linked by target "png-fix-itxt" in directory ${ALLEGRO5}/libpng-1.6.36
>     linked by target "png" in directory ${ALLEGRO5}/libpng-1.6.36
>
> -- Configuring incomplete, errors occurred!
> See also "${ALLEGRO5}/libpng-1.6.36/Build/CMakeFiles/CMakeOutput.log".
> See also "${ALLEGRO5}/libpng-1.6.36/Build/CMakeFiles/CMakeError.log".
>
>
> _______________________________________________
> png-mng-implement mailing list
> png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/png-mng-implement
> This e-mail including any attachments may contain information that is
> privileged, confidential, and/or otherwise protected from disclosure to
> anyone other than its intended recipient(s). Any dissemination or use of
> this e-mail or its attachments by persons other than the intended
> recipient(s) is prohibited. If you received this message in error, please
> contact the sender immediately. Please then delete the e-mail and any
> attachments in its entirety.
>
>
> _______________________________________________
> png-mng-implement mailing list
> png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/png-mng-implement
>