microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.24k stars 6.4k forks source link

[angle] build failure ios #40634

Open hsdk123 opened 2 months ago

hsdk123 commented 2 months ago

Operating system

mac

Compiler

No response

Steps to reproduce the behavior

`./vcpkg install angle:arm64-ios-release`

Failure logs

FAILED: CMakeFiles/ANGLE.dir/src/libANGLE/Display.cpp.o 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DANGLE_CAPTURE_ENABLED=0 -DANGLE_ENABLE_ESSL -DANGLE_ENABLE_GLSL -DANGLE_ENABLE_OPENGL -DANGLE_EXPORT="" -DANGLE_IS_64_BIT_CPU -DANGLE_PLATFORM_LINUX -DANGLE_STANDALONE_BUILD -DANGLE_STATIC=1 -DANGLE_UTIL_EXPORT="" -DEGLAPI="" -DEGL_EGL_PROTOTYPES=0 -DGL_API="" -DGL_API="__attribute__((visibility(\"default\")))" -DGL_APICALL="" -DGL_APICALL="__attribute__((visibility(\"default\")))" -DGL_GLES_PROTOTYPES=0 -DGL_SILENCE_DEPRECATION -DLIBANGLE_IMPLEMENTATION -DNOMINMAX -DUSE_SYSTEM_EGL -D_CRT_SECURE_NO_DEPRECATE -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_WARNINGS -I/Users/hkim809/Desktop/SoulEngineProject/vcpkg/buildtrees/angle/src/fb17168c17-ae4e4ce263.clean/include -I/Users/hkim809/Desktop/SoulEngineProject/vcpkg/buildtrees/angle/src/fb17168c17-ae4e4ce263.clean/include/KHR -I/Users/hkim809/Desktop/SoulEngineProject/vcpkg/buildtrees/angle/src/fb17168c17-ae4e4ce263.clean/src -I/Users/hkim809/Desktop/SoulEngineProject/vcpkg/buildtrees/angle/src/fb17168c17-ae4e4ce263.clean/src/common/third_party/base -I/Users/hkim809/Desktop/SoulEngineProject/vcpkg/buildtrees/angle/src/fb17168c17-ae4e4ce263.clean/src/common/base -I/Users/hkim809/Desktop/SoulEngineProject/vcpkg/buildtrees/angle/src/fb17168c17-ae4e4ce263.clean/src/common/third_party/xxhash -I/Users/hkim809/Desktop/SoulEngineProject/vcpkg/buildtrees/angle/src/fb17168c17-ae4e4ce263.clean/third_party/zlib/google -I/Users/hkim809/Desktop/SoulEngineProject/vcpkg/buildtrees/angle/arm64-ios-release-rel/include -isystem /Users/hkim809/Desktop/SoulEngineProject/vcpkg/installed/arm64-ios-release/include -fdiagnostics-color=always -fcolor-diagnostics -Wextra -Wall -pipe -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-parentheses-equality -Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fPIC -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -std=gnu++17 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk -fPIC -w -MD -MT CMakeFiles/ANGLE.dir/src/libANGLE/Display.cpp.o -MF CMakeFiles/ANGLE.dir/src/libANGLE/Display.cpp.o.d -o CMakeFiles/ANGLE.dir/src/libANGLE/Display.cpp.o -c /Users/hkim809/Desktop/SoulEngineProject/vcpkg/buildtrees/angle/src/fb17168c17-ae4e4ce263.clean/src/libANGLE/Display.cpp
/Users/hkim809/Desktop/SoulEngineProject/vcpkg/buildtrees/angle/src/fb17168c17-ae4e4ce263.clean/src/libANGLE/Display.cpp:407:28: error: no type named 'DisplayEGL' in namespace 'rx'; did you mean 'Display'?
                impl = new rx::DisplayEGL(state);
                           ^~~~~~~~~~~~~~
                           Display
/Users/hkim809/Desktop/SoulEngineProject/vcpkg/buildtrees/angle/src/fb17168c17-ae4e4ce263.clean/src/libANGLE/renderer/ImageImpl.h:24:7: note: 'Display' declared here
class Display;
      ^
1 error generated.

Additional context

Thank you for the great work - looking for some help on ios!

FrankXie05 commented 1 month ago

@hsdk123 Could you please provide the error and config log? Thanks.