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

[BUG] build for android pie failed #66

Open
qwertylhl opened this issue Mar 23, 2021 · 2 comments
Open

[BUG] build for android pie failed #66

qwertylhl opened this issue Mar 23, 2021 · 2 comments
Assignees
Labels

Comments

@qwertylhl
Copy link

Description

I am building the PVRSDK for Android Pie.
Now is facing an build error about glm.

CMake Error at D:/ImaginationTechnologies/Native_SDK/framework/cmake/modules/Findglm.cmake:16 (find_package):
Could not find a package configuration file provided by "glm" with any of
the following names:

Repro steps

  1. Android studio version is 4.1.2
  2. In Android studio, use File->New->Import projects and selelct the directory Native_SDK/build-android
  3. Android Studio would sync project and report the above error.

Environment

  • SDK version:
    R20.2-v5.6
  • Operating System/Device:
    Android PIE

Additional Info

@qwertylhl qwertylhl added the bug label Mar 23, 2021
@omarzohdi omarzohdi self-assigned this Apr 13, 2021
@omarzohdi
Copy link
Contributor

Hi, qwertylhl,

Sorry for the late reply. It looks like when kicking a build using Android Studio, CMake is unable to download the glm dependency. I'd like to run a couple of tests and try and reproduce the issue. Would you mind sharing what version of the NDK, Android SDK and JRE/JDK are you using for the project so that I can set up my dev environment to be the same.

regards,
Omar.

@qwertylhl
Copy link
Author

Hello Omar,

Thanks for your reply!
Please refer the following.
SDK version: Android Pie, API level 28, revision 6
NDK version: 22.0.7026061
JRE/JDK: Sorry, I am not sure. I have not manually install JDK/JRE.
But if use "java --version" in the windows power shell, it would print the following information.

openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.10+9, mixed mode)
And because you mentioned "unable to download glm", I hope to append this information -> I works in my company network. I set the company proxy in Android Studio. I think the proxy works because Android Studio could update the SDK, download NDK and other tools.

Moreover, I also tried to compile the PVRSDK on a Linux machine.
Result is compile passed and demos could run on my target device.

Best Regards,
Q.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants