We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Updating to NDK r27b+ on any of these samples fails with several compilation issues regarding standard C++ symbols not being found.
NDK r27b+
The issue is only reproducible on Windows.
Even if a workaround has been discovered, it doesn't seem like a proper solution since this bug might be just surfacing a bigger issue.
ALooper_pollAll
ALooper_pollOnce
ndkVersion '26.1.10909125'
ndkVersion '27.1.12297006'
Errors regarding C++ symbols not being properly linked appear:
ld.lld: error: undefined symbol: std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>::find(char, unsigned long) const ld.lld: error: undefined symbol: std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>>::replace(unsigned long, unsigned long, unsigned long, char) ld.lld: error: undefined symbol: __cxa_guard_acquire ...
c++
target_link_libraries(...)
target_link_libraries(game android bullet3 imgui game-activity::game-activity_static games-frame-pacing::swappy_static atomic EGL GLESv2 jnigraphics log z -----> c++ )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Updating to
NDK r27b+
on any of these samples fails with several compilation issues regarding standard C++ symbols not being found.The issue is only reproducible on Windows.
Even if a workaround has been discovered, it doesn't seem like a proper solution since this bug might be just surfacing a bigger issue.
Steps to Reproduce
ALooper_pollAll
withALooper_pollOnce
on line 214.ALooper_pollAll
has been deprecated in NDK 27 (read more).ndkVersion '26.1.10909125'
withndkVersion '27.1.12297006'
.Results
Errors regarding C++ symbols not being properly linked appear:
Workaround
c++
to the bottom oftarget_link_libraries(...)
:The text was updated successfully, but these errors were encountered: