This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] SK-AM62P-LP:glmark2-ES2-wayland 编译过程

Guru**** 2394305 points
Other Parts Discussed in Thread: SK-AM62P-LP

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1491698/sk-am62p-lp-glmark2-es2-wayland-compilation-procedure

器件型号:SK-AM62P-LP

工具与软件:

SDK 版本- ti-processor-sdk-linux-am62pxx-evm-10.00.07.04

我可以运行作为 SDK 一部分提供的 glmark2-ES2-wayland 应用程序二进制文件。

我计划为 wayland-glesv2 -> https://github.com/glmark2/glmark2/tree/2023.01编译标准 glmark2源代码

我成功编译了源代码,但在运行应用程序时,我遇到了与 EGL 相关的错误。

我还在 TI Git 存储库中搜索了 glmark2-ES2-wayland 的源、但该资源不可用。

如何继续?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    请详细说明您执行了哪些步骤、并提供您看到的错误的日志。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Divyansh Mittal:

    glmark2来源: https://github.com/glmark2/glmark2/tree/2023.01

    目标 SK-AM62P-LP 中的构建步骤:

    Meson 设置 build -Dflavor=wayland-glesv2

    Ninja -C 构建-J4

    Ninja -C Build 安装

    它正在成功编译、而运行时则抛出以下错误、

    root@am62pxx-EVM:~/glmark2-ti/build/esml#./glmark2-es2-wayland src
    错误:找不到合适的 EGL 配置
    错误:无法获取 GL 可视化配置!
    错误:无法初始化画布

    此致、

    Harithan S

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    Glmark 是作为 Yocto 的一部分进行编译的、但以下为社区(非 TI)开发的配方: https://github.com/openembedded/meta-openembedded/blob/scarthgap/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb。 

    在说明方面、以下是几个月前我的步骤:

    第1步: 首先 通过 Yocto 构建目标映像
    步骤2: 使用以下命令构建 sysroots: machine=am62pxx-evm bitbake build-sysroots
    第3步:克隆 Weston 和结帐分公司 10.0
    第4步:复制以下 meson 交叉文件并修改 sysroot_BASE 路径。
    Meson.cross

    步骤5:使用以下命令生成:

    全屏
    1.
    don build/--cross-file=meson.cross --prefix=/usr --buildtype=plain --brd=bin --sbwindir=sbin --datadir=share --libdir=lib

    第6步:运行 ninja -C build/
    步骤7:从 Build/Clients 目录复制二进制文件

    此致、
    Krunal

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Krunal Bhargav34:

    我根据 Yocto 进行了编译、它解决了我的问题。

    谢谢、此致、

    Harithan S