Jump to content
AlexSavo

OpenGL functions declaration not found while building a project using Qt5 GUI

Recommended Posts

Hi TinkerBoard team and community,

I am truing to build a project with Qt5 GUI on TinkerBoard according to this instructions.

I am having bunch of errors like this: 

In file included from /usr/include/arm-linux-gnueabihf/qt5/QtGui/QOpenGLFunctions:1:0,
                 from /home/linaro/Src/OpenHantek6022/openhantek/src/glscope.h:9,
                 from /home/linaro/Src/OpenHantek6022/openhantek/src/dsowidget.h:11,
                 from /home/linaro/Src/OpenHantek6022/openhantek/src/dsowidget.cpp:12:
/usr/include/arm-linux-gnueabihf/qt5/QtGui/qopenglfunctions.h: In member function ‘void QOpenGLFunctions::glBindTexture(GLenum, GLuint)’:
/usr/include/arm-linux-gnueabihf/qt5/QtGui/qopenglfunctions.h:595:5: error: ‘::glBindTexture’ has not been declared
     ::glBindTexture(target, texture);
     ^~
/usr/include/arm-linux-gnueabihf/qt5/QtGui/qopenglfunctions.h: In member function ‘void QOpenGLFunctions::glBlendFunc(GLenum, GLenum)’:
/usr/include/arm-linux-gnueabihf/qt5/QtGui/qopenglfunctions.h:606:5: error: ‘::glBlendFunc’ has not been declared
     ::glBlendFunc(sfactor, dfactor);

I have found a similar problem reported in a couple of years ago.
Is manual building/installing libmali still the solution for the problem?

Share this post


Link to post
Share on other sites

Some additional information about the environment:
 

~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
uname -a
Linux tinkerboard 4.4.132+ #8 SMP Thu Aug 13 08:51:08 UTC 2020 armv7l GNU/Linux

 

Share this post


Link to post
Share on other sites

Hi;

I tried to use new Debian10 image and result still same.  All mali drivers are listed as truncated. Also, i tried to install mali drivers as declared as in Rockchip github repository, installed successfully but no hope about problem. I was so excited to use ThinkerBoard2 but no chance. If you have any other suggestion, i want to try.

Share this post


Link to post
Share on other sites
3 hours ago, tooz said:

hello @dlphmn,

what image are you using? if you download the official release of debian 10 image from our site it should have solved the issue 

https://tinker-board.asus.com/download-list.html?product=tinker-board-2s 

Hi;

I did all my test by last official release (as you mentioned) and this problem occured with that. No chance with mali drivers, so we cannot use Qt (C++) for running anything. Even I choose LibGLES as documented, application crushed after start up.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...