Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. qt交叉编译 ./configure 选项opengl es2 报错
Forum Updated to NodeBB v4.3 + New Features

qt交叉编译 ./configure 选项opengl es2 报错

Scheduled Pinned Locked Moved Unsolved Chinese
3 Posts 3 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bobbyzhang
    wrote on last edited by
    #1

    ./configure
    --prefix=${CYBER_CROSS_WORKING_DIR}/qt-everywhere-src-${VERSION}/arm-qt
    -opensource
    -debug
    -opengl es2
    -xplatform linux-arm-gnueabi-g++
    -confirm-license
    make -j16 && make install
    popd
    ,以上配置会出现报错
    339fbcc6-d414-4cb9-ad0c-289090478e2b-image.png
    将以上选项的-opengl es2 \ 换为-no-opengl \ 可以正常编译安装,请教一下大家这是什么原因?

    T Ronel_qtmasterR 2 Replies Last reply
    0
    • B bobbyzhang

      ./configure
      --prefix=${CYBER_CROSS_WORKING_DIR}/qt-everywhere-src-${VERSION}/arm-qt
      -opensource
      -debug
      -opengl es2
      -xplatform linux-arm-gnueabi-g++
      -confirm-license
      make -j16 && make install
      popd
      ,以上配置会出现报错
      339fbcc6-d414-4cb9-ad0c-289090478e2b-image.png
      将以上选项的-opengl es2 \ 换为-no-opengl \ 可以正常编译安装,请教一下大家这是什么原因?

      T Offline
      T Offline
      Tom_Dannel
      wrote on last edited by
      #2

      @bobbyzhang 看提示,板子是否支持ES2,如果不支持,则把选项去除,如果支持,则你的配置选项出现问题,看提示貌似配置了win32,另外把编译依赖的工具都安装好了,例如python,gperf,具体看文档

      1 Reply Last reply
      0
      • B bobbyzhang

        ./configure
        --prefix=${CYBER_CROSS_WORKING_DIR}/qt-everywhere-src-${VERSION}/arm-qt
        -opensource
        -debug
        -opengl es2
        -xplatform linux-arm-gnueabi-g++
        -confirm-license
        make -j16 && make install
        popd
        ,以上配置会出现报错
        339fbcc6-d414-4cb9-ad0c-289090478e2b-image.png
        将以上选项的-opengl es2 \ 换为-no-opengl \ 可以正常编译安装,请教一下大家这是什么原因?

        Ronel_qtmasterR Offline
        Ronel_qtmasterR Offline
        Ronel_qtmaster
        wrote on last edited by Ronel_qtmaster
        #3

        @bobbyzhang Hi . I don't speak chinese but i understand your issue.
        for Qt to detect opengl es 2 you will need to have libEGL.so and libGLESv2.so in your sysroot, especially in opt\vc\lib

        so rename libEGL.so.1 and libGLESv2.so.2 to libEGL.so and libGLESv2.so
        rename libEGL_static.a to libEGL.a and
        libGLESv2_static.a to libGLESv2.a
        Run configure again.You may find detailed infos in my article https://drive.google.com/file/d/1-Dd228_crhvV1VJnNjqLCAl3O6_cWeJ4/view?usp=drive_link

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved