Skip to content

Conversation

@JulianGro
Copy link
Member

@JulianGro JulianGro commented Jan 4, 2026

Still a lot to do.

I got all required dependencies to build, thought not all those changes are upstreamed yet.
Dependency pull requests:

Known issues:

  • For some reason our CMake flags don't get set. Maybe the Android toolchain gets called first, and our Conan toolchain's _INIT variables have no effect? As a workaround we add -DCMAKE_CXX_FLAGS="-falign-functions=32 -fPIC" to CMake. The Android toolchain doesn't define any CMAKE_CXX_FLAGS, so this is fine.
  • shadergen.py fails. Presumably we are building the shader generator for Android, so the build computer cannot run it.
  • Building without -DGL_APIENTRY=''" fails. I have no idea what is going on there: compiler_error.txt I assume I am doing something wrong when it comes to targetting/linking OpenGL, but I have no idea.

Example Conan install command:

conan install . -b missing -pr=tools/conan-profiles/android -of build

Example CMake configure command:

cmake --preset conan-release -DOVERTE_RENDERING_BACKEND:STRING=GLES -DCMAKE_CXX_FLAGS="-falign-functions=32 -fPIC -DGL_APIENTRY=''" -DHIFI_ANDROID_APP=interface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant