Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[glew] Build error #24724

Closed
Say-Y opened this issue May 15, 2022 · 1 comment · Fixed by #31084
Closed

[glew] Build error #24724

Say-Y opened this issue May 15, 2022 · 1 comment · Fixed by #31084
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.

Comments

@Say-Y
Copy link

Say-Y commented May 15, 2022

I'm making a buildable cross-platform(Windows, Android) engine on windows 10, 11.

Host Environment

  • OS: Windows 11
  • Compiler: ? (Visual Studio 2022)
  • vcpkg version: (newest) revision 0cf5b43
  • additional environmental variables: ANDROID_NDK_HOME: C:\Microsoft\AndroidNDK\android-ndk-r21e
    image

To Reproduce
vcpkg.exe install glew:arm64-android
or
vcpkg.exe install glew:arm-android

Failure logs

Computing installation plan...
The following packages will be built and installed:
    glew[core]:arm64-android -> 2.2.0
Detecting compiler hash for triplet arm64-android...
Restored 0 packages from C:\Users\gksqu\AppData\Local\vcpkg\archives in 128.7 us. Use --debug to see more details.
Installing 1/1 glew:arm64-android...
Building glew[core]:arm64-android...
-- Using community triplet arm64-android. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: D:\Source\StarEngine\StarEngineSample\StarEngine\Engine\Source\ThirdParty\vcpkg\triplets\community\arm64-android.cmake
-- Using cached glew-2.2.0.tgz.
-- Cleaning sources at D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/buildtrees/glew/src/glew-7f0b9182fc.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/downloads/glew-2.2.0.tgz
-- Applying patch fix-LNK2019.patch
-- Using source at D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/buildtrees/glew/src/glew-7f0b9182fc.clean
-- Configuring arm64-android-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:128 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/buildtrees/glew/src/glew-7f0b9182fc.clean/build/cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/packages/glew_arm64-android/debug -DBUILD_UTILS=OFF -DCMAKE_MAKE_PROGRAM=D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -DCMAKE_SYSTEM_NAME=Android -DCMAKE_SYSTEM_VERSION=21 -DBUILD_SHARED_LIBS=OFF -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/scripts/toolchains/android.cmake -DVCPKG_TARGET_TRIPLET=arm64-android -DVCPKG_SET_CHARSET_FLAG=ON -DVCPKG_PLATFORM_TOOLSET=external -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE -DCMAKE_VERBOSE_MAKEFILE=ON -DVCPKG_APPLOCAL_DEPS=OFF -DCMAKE_TOOLCHAIN_FILE=D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -DVCPKG_CXX_FLAGS= -DVCPKG_CXX_FLAGS_RELEASE= -DVCPKG_CXX_FLAGS_DEBUG= -DVCPKG_C_FLAGS= -DVCPKG_C_FLAGS_RELEASE= -DVCPKG_C_FLAGS_DEBUG= -DVCPKG_CRT_LINKAGE=static -DVCPKG_LINKER_FLAGS= -DVCPKG_LINKER_FLAGS_RELEASE= -DVCPKG_LINKER_FLAGS_DEBUG= -DVCPKG_TARGET_ARCHITECTURE=arm64 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin -D_VCPKG_ROOT_DIR=D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg -D_VCPKG_INSTALLED_DIR=D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/installed -DVCPKG_MANIFEST_INSTALL=OFF
    Working Directory: D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/buildtrees/glew/arm64-android-dbg
    Error code: 1
    See logs for more information:
      D:\Source\StarEngine\StarEngineSample\StarEngine\Engine\Source\ThirdParty\vcpkg\buildtrees\glew\config-arm64-android-dbg-out.log
      D:\Source\StarEngine\StarEngineSample\StarEngine\Engine\Source\ThirdParty\vcpkg\buildtrees\glew\config-arm64-android-dbg-err.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:343 (vcpkg_execute_required_process)
  ports/glew/portfile.cmake:21 (vcpkg_cmake_configure)
  scripts/ports.cmake:146 (include)


error: building glew:arm64-android failed with: BUILD_FAILED
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
    https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+glew
You can submit a new issue at:
    https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[glew]+Build+error
Include '[glew] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
    vcpkg-tool version: 2022-05-05-67e17c1782801cf481be9ac0b3765dff3e4bdeb8
    vcpkg-scripts version: 0cf5b4305 2022-05-13 (2 days ago)

config-arm64-android-dbg-err.log

CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY
  OPENGL_INCLUDE_DIR)
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files/CMake/share/cmake-3.23/Modules/FindOpenGL.cmake:443 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/scripts/buildsystems/vcpkg.cmake:824 (_find_package)
  CMakeLists.txt:43 (find_package)

config-arm64-android-dbg-out.log

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring incomplete, errors occurred!
See also "D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/buildtrees/glew/arm64-android-dbg/CMakeFiles/CMakeOutput.log".

D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/buildtrees/glew/arm64-android-dbg/CMakeFiles/CMakeOutput.log

The target system is: Android - 1 - aarch64
The host system is: Windows - 10.0.22621 - AMD64
Detecting C compiler ABI info compiled with the following output:
Change Dir: D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/buildtrees/glew/arm64-android-dbg/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe cmTC_13457 && [1/2] Building C object CMakeFiles/cmTC_13457.dir/CMakeCCompilerABI.c.o
Android (7019983 based on r365631c3) clang version 9.0.9 (https://android.googlesource.com/toolchain/llvm-project a2a1e703c0edb03ba29944e529ccbf457742737b) (based on LLVM 9.0.9svn)
Target: aarch64-none-linux-android21
Thread model: posix
InstalledDir: C:\Microsoft\AndroidNDK\android-ndk-r21e\toolchains\llvm\prebuilt\windows-x86_64\bin
Found candidate GCC installation: C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android\4.9.x
Selected GCC installation: C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x
Candidate multilib: .;@m64
Selected multilib: .;@m64
 "C:\\Microsoft\\AndroidNDK\\android-ndk-r21e\\toolchains\\llvm\\prebuilt\\windows-x86_64\\bin\\clang.exe" -cc1 -triple aarch64-none-linux-android21 -emit-obj -mrelax-all -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu generic -target-feature +neon -target-abi aapcs -mllvm -aarch64-fix-cortex-a53-835769=1 -fallow-half-arguments-and-returns -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -v -ffunction-sections -fdata-sections -coverage-notes-file "D:\\Source\\StarEngine\\StarEngineSample\\StarEngine\\Engine\\Source\\ThirdParty\\vcpkg\\buildtrees\\glew\\arm64-android-dbg\\CMakeFiles\\CMakeTmp\\CMakeFiles/cmTC_13457.dir/CMakeCCompilerABI.c.gcno" -resource-dir "C:\\Microsoft\\AndroidNDK\\android-ndk-r21e\\toolchains\\llvm\\prebuilt\\windows-x86_64\\lib64\\clang\\9.0.9" -dependency-file "CMakeFiles\\cmTC_13457.dir\\CMakeCCompilerABI.c.o.d" -sys-header-deps -MT CMakeFiles/cmTC_13457.dir/CMakeCCompilerABI.c.o -D ANDROID -D _FORTIFY_SOURCE=2 -isysroot C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot -internal-isystem C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/local/include -internal-isystem "C:\\Microsoft\\AndroidNDK\\android-ndk-r21e\\toolchains\\llvm\\prebuilt\\windows-x86_64\\lib64\\clang\\9.0.9\\include" -internal-externc-isystem C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/aarch64-linux-android -internal-externc-isystem C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/include -internal-externc-isystem C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include -Wformat -fdebug-compilation-dir "D:\\Source\\StarEngine\\StarEngineSample\\StarEngine\\Engine\\Source\\ThirdParty\\vcpkg\\buildtrees\\glew\\arm64-android-dbg\\CMakeFiles\\CMakeTmp" -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -o CMakeFiles/cmTC_13457.dir/CMakeCCompilerABI.c.o -x c "C:/Program Files/CMake/share/cmake-3.23/Modules/CMakeCCompilerABI.c"
clang -cc1 version 9.0.9 based upon LLVM 9.0.9svn default target x86_64-w64-windows-gnu
ignoring nonexistent directory "C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/include"
#include "..." search starts here:
#include <...> search starts here:
 C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/local/include
 C:\Microsoft\AndroidNDK\android-ndk-r21e\toolchains\llvm\prebuilt\windows-x86_64\lib64\clang\9.0.9\include
 C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/aarch64-linux-android
 C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include
End of search list.
[2/2] Linking C executable cmTC_13457
Android (7019983 based on r365631c3) clang version 9.0.9 (https://android.googlesource.com/toolchain/llvm-project a2a1e703c0edb03ba29944e529ccbf457742737b) (based on LLVM 9.0.9svn)
Target: aarch64-none-linux-android21
Thread model: posix
InstalledDir: C:\Microsoft\AndroidNDK\android-ndk-r21e\toolchains\llvm\prebuilt\windows-x86_64\bin
Found candidate GCC installation: C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android\4.9.x
Selected GCC installation: C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x
Candidate multilib: .;@m64
Selected multilib: .;@m64
 "C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin\\ld" --sysroot=C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot -pie -z noexecstack -EL --fix-cortex-a53-843419 --warn-shared-textrel -z now -z relro -z max-page-size=4096 --hash-style=both --enable-new-dtags --eh-frame-hdr -m aarch64linux -dynamic-linker /system/bin/linker64 -o cmTC_13457 "C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21\\crtbegin_dynamic.o" "-LC:\\Microsoft\\AndroidNDK\\android-ndk-r21e\\toolchains\\llvm\\prebuilt\\windows-x86_64\\lib64\\clang\\9.0.9\\lib\\linux\\aarch64" -LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x -LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/lib/../lib64 -LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21 -LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android -LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/lib -LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib --exclude-libs libgcc.a --exclude-libs libgcc_real.a --exclude-libs libatomic.a --build-id --fatal-warnings --no-undefined --gc-sections CMakeFiles/cmTC_13457.dir/CMakeCCompilerABI.c.o -lgcc -ldl -lc -lgcc -ldl "C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21\\crtend_android.o"



Parsed C implicit include dir info from above output: rv=done
  found start of include info
  found start of implicit include info
    add: [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/local/include]
    add: [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/9.0.9/include]
    add: [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/aarch64-linux-android]
    add: [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include]
  end of search list found
  collapse include dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/local/include] ==> [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/local/include]
  collapse include dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/9.0.9/include] ==> [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/9.0.9/include]
  collapse include dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/aarch64-linux-android] ==> [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/aarch64-linux-android]
  collapse include dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include] ==> [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include]
  implicit include dirs: [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/local/include;C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/9.0.9/include;C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/aarch64-linux-android;C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include]


Parsed C implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld\.lld\.exe|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/buildtrees/glew/arm64-android-dbg/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command(s):D:/Source/StarEngine/StarEngineSample/StarEngine/Engine/Source/ThirdParty/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe cmTC_13457 && [1/2] Building C object CMakeFiles/cmTC_13457.dir/CMakeCCompilerABI.c.o]
  ignore line: [Android (7019983 based on r365631c3) clang version 9.0.9 (https://android.googlesource.com/toolchain/llvm-project a2a1e703c0edb03ba29944e529ccbf457742737b) (based on LLVM 9.0.9svn)]
  ignore line: [Target: aarch64-none-linux-android21]
  ignore line: [Thread model: posix]
  ignore line: [InstalledDir: C:\Microsoft\AndroidNDK\android-ndk-r21e\toolchains\llvm\prebuilt\windows-x86_64\bin]
  ignore line: [Found candidate GCC installation: C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android\4.9.x]
  ignore line: [Selected GCC installation: C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x]
  ignore line: [Candidate multilib: .]
  ignore line: [@m64]
  ignore line: [Selected multilib: .]
  ignore line: [@m64]
  ignore line: [ "C:\\Microsoft\\AndroidNDK\\android-ndk-r21e\\toolchains\\llvm\\prebuilt\\windows-x86_64\\bin\\clang.exe" -cc1 -triple aarch64-none-linux-android21 -emit-obj -mrelax-all -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu generic -target-feature +neon -target-abi aapcs -mllvm -aarch64-fix-cortex-a53-835769=1 -fallow-half-arguments-and-returns -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -v -ffunction-sections -fdata-sections -coverage-notes-file "D:\\Source\\StarEngine\\StarEngineSample\\StarEngine\\Engine\\Source\\ThirdParty\\vcpkg\\buildtrees\\glew\\arm64-android-dbg\\CMakeFiles\\CMakeTmp\\CMakeFiles/cmTC_13457.dir/CMakeCCompilerABI.c.gcno" -resource-dir "C:\\Microsoft\\AndroidNDK\\android-ndk-r21e\\toolchains\\llvm\\prebuilt\\windows-x86_64\\lib64\\clang\\9.0.9" -dependency-file "CMakeFiles\\cmTC_13457.dir\\CMakeCCompilerABI.c.o.d" -sys-header-deps -MT CMakeFiles/cmTC_13457.dir/CMakeCCompilerABI.c.o -D ANDROID -D _FORTIFY_SOURCE=2 -isysroot C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot -internal-isystem C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/local/include -internal-isystem "C:\\Microsoft\\AndroidNDK\\android-ndk-r21e\\toolchains\\llvm\\prebuilt\\windows-x86_64\\lib64\\clang\\9.0.9\\include" -internal-externc-isystem C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/aarch64-linux-android -internal-externc-isystem C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/include -internal-externc-isystem C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include -Wformat -fdebug-compilation-dir "D:\\Source\\StarEngine\\StarEngineSample\\StarEngine\\Engine\\Source\\ThirdParty\\vcpkg\\buildtrees\\glew\\arm64-android-dbg\\CMakeFiles\\CMakeTmp" -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -o CMakeFiles/cmTC_13457.dir/CMakeCCompilerABI.c.o -x c "C:/Program Files/CMake/share/cmake-3.23/Modules/CMakeCCompilerABI.c"]
  ignore line: [clang -cc1 version 9.0.9 based upon LLVM 9.0.9svn default target x86_64-w64-windows-gnu]
  ignore line: [ignoring nonexistent directory "C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/include"]
  ignore line: [#include "..." search starts here:]
  ignore line: [#include <...> search starts here:]
  ignore line: [ C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/local/include]
  ignore line: [ C:\Microsoft\AndroidNDK\android-ndk-r21e\toolchains\llvm\prebuilt\windows-x86_64\lib64\clang\9.0.9\include]
  ignore line: [ C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/aarch64-linux-android]
  ignore line: [ C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include]
  ignore line: [End of search list.]
  ignore line: [[2/2] Linking C executable cmTC_13457]
  ignore line: [Android (7019983 based on r365631c3) clang version 9.0.9 (https://android.googlesource.com/toolchain/llvm-project a2a1e703c0edb03ba29944e529ccbf457742737b) (based on LLVM 9.0.9svn)]
  ignore line: [Target: aarch64-none-linux-android21]
  ignore line: [Thread model: posix]
  ignore line: [InstalledDir: C:\Microsoft\AndroidNDK\android-ndk-r21e\toolchains\llvm\prebuilt\windows-x86_64\bin]
  ignore line: [Found candidate GCC installation: C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android\4.9.x]
  ignore line: [Selected GCC installation: C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x]
  ignore line: [Candidate multilib: .]
  ignore line: [@m64]
  ignore line: [Selected multilib: .]
  ignore line: [@m64]
  link line: [ "C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin\\ld" --sysroot=C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot -pie -z noexecstack -EL --fix-cortex-a53-843419 --warn-shared-textrel -z now -z relro -z max-page-size=4096 --hash-style=both --enable-new-dtags --eh-frame-hdr -m aarch64linux -dynamic-linker /system/bin/linker64 -o cmTC_13457 "C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21\\crtbegin_dynamic.o" "-LC:\\Microsoft\\AndroidNDK\\android-ndk-r21e\\toolchains\\llvm\\prebuilt\\windows-x86_64\\lib64\\clang\\9.0.9\\lib\\linux\\aarch64" -LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x -LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/lib/../lib64 -LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21 -LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android -LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/lib -LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib --exclude-libs libgcc.a --exclude-libs libgcc_real.a --exclude-libs libatomic.a --build-id --fatal-warnings --no-undefined --gc-sections CMakeFiles/cmTC_13457.dir/CMakeCCompilerABI.c.o -lgcc -ldl -lc -lgcc -ldl "C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21\\crtend_android.o"]
    arg [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin\\ld] ==> ignore
    arg [--sysroot=C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot] ==> ignore
    arg [-pie] ==> ignore
    arg [-znoexecstack] ==> ignore
    arg [-EL] ==> ignore
    arg [--fix-cortex-a53-843419] ==> ignore
    arg [--warn-shared-textrel] ==> ignore
    arg [-znow] ==> ignore
    arg [-zrelro] ==> ignore
    arg [-zmax-page-size=4096] ==> ignore
    arg [--hash-style=both] ==> ignore
    arg [--enable-new-dtags] ==> ignore
    arg [--eh-frame-hdr] ==> ignore
    arg [-m] ==> ignore
    arg [aarch64linux] ==> ignore
    arg [-dynamic-linker] ==> ignore
    arg [/system/bin/linker64] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_13457] ==> ignore
    arg [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21\\crtbegin_dynamic.o] ==> obj [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21\\crtbegin_dynamic.o]
    arg [-LC:\\Microsoft\\AndroidNDK\\android-ndk-r21e\\toolchains\\llvm\\prebuilt\\windows-x86_64\\lib64\\clang\\9.0.9\\lib\\linux\\aarch64] ==> dir [C:\\Microsoft\\AndroidNDK\\android-ndk-r21e\\toolchains\\llvm\\prebuilt\\windows-x86_64\\lib64\\clang\\9.0.9\\lib\\linux\\aarch64]
    arg [-LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x] ==> dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x]
    arg [-LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/lib/../lib64] ==> dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/lib/../lib64]
    arg [-LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21] ==> dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21]
    arg [-LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android] ==> dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android]
    arg [-LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/lib] ==> dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/lib]
    arg [-LC:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib] ==> dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib]
    arg [--exclude-libs] ==> ignore
    arg [libgcc.a] ==> ignore
    arg [--exclude-libs] ==> ignore
    arg [libgcc_real.a] ==> ignore
    arg [--exclude-libs] ==> ignore
    arg [libatomic.a] ==> ignore
    arg [--build-id] ==> ignore
    arg [--fatal-warnings] ==> ignore
    arg [--no-undefined] ==> ignore
    arg [--gc-sections] ==> ignore
    arg [CMakeFiles/cmTC_13457.dir/CMakeCCompilerABI.c.o] ==> ignore
    arg [-lgcc] ==> lib [gcc]
    arg [-ldl] ==> lib [dl]
    arg [-lc] ==> lib [c]
    arg [-lgcc] ==> lib [gcc]
    arg [-ldl] ==> lib [dl]
    arg [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21\\crtend_android.o] ==> obj [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21\\crtend_android.o]
  collapse obj [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21\\crtbegin_dynamic.o] ==> [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21/crtbegin_dynamic.o]
  collapse obj [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21\\crtend_android.o] ==> [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21/crtend_android.o]
  collapse library dir [C:\\Microsoft\\AndroidNDK\\android-ndk-r21e\\toolchains\\llvm\\prebuilt\\windows-x86_64\\lib64\\clang\\9.0.9\\lib\\linux\\aarch64] ==> [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/9.0.9/lib/linux/aarch64]
  collapse library dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x] ==> [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x]
  collapse library dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/lib/../lib64] ==> [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/aarch64-linux-android/lib64]
  collapse library dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21] ==> [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21]
  collapse library dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android] ==> [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android]
  collapse library dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/lib] ==> [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/aarch64-linux-android/lib]
  collapse library dir [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib] ==> [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib]
  implicit libs: [gcc;dl;c;gcc;dl]
  implicit objs: [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21/crtbegin_dynamic.o;C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21/crtend_android.o]
  implicit dirs: [C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/9.0.9/lib/linux/aarch64;C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x;C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/aarch64-linux-android/lib64;C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android/21;C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib/aarch64-linux-android;C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/aarch64-linux-android/lib;C:/Microsoft/AndroidNDK/android-ndk-r21e/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib]
  implicit fwks: []

Additional context
image
image

@Cheney-W Cheney-W self-assigned this May 16, 2022
@Cheney-W Cheney-W added the category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. label May 16, 2022
@Cheney-W Cheney-W removed their assignment May 16, 2022
@LilyWangLL
Copy link
Contributor

This issue hasn’t been updated in 3 months, if it is still an issue, please reopen this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants