You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The include_directories line should read include_directories("${CMAKE_BINARY_DIR}" /path/to/draco/src) (with /src at the end) otherwise the include paths seem to be wrong.
More critically, adding draco to target_link_libraries seems to result in an error ld: error: unable to find library -ldraco
When following the instructions in BUILDING under Android Studio Project Integration (https://github.com/google/draco/blob/main/BUILDING.md#android-studio-project-integration)
...I noticed two issues.
The
include_directories
line should readinclude_directories("${CMAKE_BINARY_DIR}" /path/to/draco/src)
(with/src
at the end) otherwise the include paths seem to be wrong.More critically, adding
draco
totarget_link_libraries
seems to result in an errorld: error: unable to find library -ldraco
It looks like this:
target_link_libraries( ${CMAKE_PROJECT_NAME} android draco log GLESv2 )
ld: error: unable to find library -ldraco
Any ideas how to get this to build from within Android Studio? (Mixed Kotlin/C++ project)
The text was updated successfully, but these errors were encountered: