All of lore.kernel.org
 help / color / mirror / Atom feed
* Build of qtbase fails due to no OpenGL libraries, but completes after cleaning qtbase.
       [not found]   ` <53B394EC.1060606@emagii.com>
@ 2014-07-02  5:21     ` Ulf Samuelsson
  2014-07-02 13:31       ` Ulf Samuelsson
  2014-07-02 13:32       ` Denys Dmytriyenko
  0 siblings, 2 replies; 4+ messages in thread
From: Ulf Samuelsson @ 2014-07-02  5:21 UTC (permalink / raw)
  To: meta-ti

When I build an image with QT5 using meta-arago, qtbase fails with a lot 
of error messages.


Some errors:

$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:52:1: 
error: expected class-name before '{' token
linking part1
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp: 
In destructor 'virtual OpenGLWindow::~OpenGLWindow()':
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:63:12: 
warning: possible problem detected in invocation of delete operator: 
[enabled by default]
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:63:12: 
warning: invalid use of incomplete type 'class QOpenGLPaintDevice' 
[enabled by default]
In file included from 
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:41:0:
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:47:7: 
warning: forward declaration of 'class QOpenGLPaintDevice' [enabled by 
default]
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:63:12: 
note: neither the destructor nor the class-specific operator delete will 
be called, even if they are declared when the class is defined
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp: 
In member function 'virtual void OpenGLWindow::render()':
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:78:24: 
error: invalid use of incomplete type 'class QOpenGLPaintDevice'
In file included from 
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:41:0:
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:47:7: 
error: forward declaration of 'class QOpenGLPaintDevice'
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:13: 
error: 'GL_COLOR_BUFFER_BIT' was not declared in this scope
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:35: 
error: 'GL_DEPTH_BUFFER_BIT' was not declared in this scope
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:57: 
error: 'GL_STENCIL_BUFFER_BIT' was not declared in this scope
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:78: 
error: 'glClear' was not declared in this scope
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:82:13: 
error: invalid use of incomplete type 'class QOpenGLPaintDevice'
In file included from 
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:41:0:
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:47:7: 
error: forward declaration of 'class QOpenGLPaintDevice'
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:84:30: 
error: no matching function for call to 
'QPainter::QPainter(QOpenGLPaintDevice*&)'
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:84:30: 
note: candidates are:
In file included from 
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/include/QtGui/qpainter.h:1:0,
                  from 
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/include/QtGui/QPainter:1,
                  from 
$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:47:

Googling indicates that this is because:

    "If -no-opengl is specified and OpenGL development files are 
installed, the error does occur."

If I clean out qtbase, and then continue build, it will complete.
$ bitbase -c cleansstate qtbase
$ bitbake <image>

My guess is that during configuration, OpenGL cannot be found, but it is 
there during compile.
There seems to be a dependency error (libgles-omap3?).




BR
Ulf Samuelsson


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build of qtbase fails due to no OpenGL libraries, but completes after cleaning qtbase.
  2014-07-02  5:21     ` Build of qtbase fails due to no OpenGL libraries, but completes after cleaning qtbase Ulf Samuelsson
@ 2014-07-02 13:31       ` Ulf Samuelsson
  2014-07-02 13:36         ` Denys Dmytriyenko
  2014-07-02 13:32       ` Denys Dmytriyenko
  1 sibling, 1 reply; 4+ messages in thread
From: Ulf Samuelsson @ 2014-07-02 13:31 UTC (permalink / raw)
  To: meta-ti

2014-07-02 07:21, Ulf Samuelsson skrev:
> When I build an image with QT5 using meta-arago, qtbase fails with a 
> lot of error messages.
>
I added

DEPENDS += "libgles-omap3"

to my 'qtbase_5.1.1.bbappend'
and now I can rebuild qt5 without this error.

BR
Ulf Samuelsson


>
> Some errors:
>
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:52:1: 
> error: expected class-name before '{' token
> linking part1
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp: 
> In destructor 'virtual OpenGLWindow::~OpenGLWindow()':
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:63:12: 
> warning: possible problem detected in invocation of delete operator: 
> [enabled by default]
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:63:12: 
> warning: invalid use of incomplete type 'class QOpenGLPaintDevice' 
> [enabled by default]
> In file included from 
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:41:0:
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:47:7: 
> warning: forward declaration of 'class QOpenGLPaintDevice' [enabled by 
> default]
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:63:12: 
> note: neither the destructor nor the class-specific operator delete 
> will be called, even if they are declared when the class is defined
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp: 
> In member function 'virtual void OpenGLWindow::render()':
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:78:24: 
> error: invalid use of incomplete type 'class QOpenGLPaintDevice'
> In file included from 
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:41:0:
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:47:7: 
> error: forward declaration of 'class QOpenGLPaintDevice'
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:13: 
> error: 'GL_COLOR_BUFFER_BIT' was not declared in this scope
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:35: 
> error: 'GL_DEPTH_BUFFER_BIT' was not declared in this scope
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:57: 
> error: 'GL_STENCIL_BUFFER_BIT' was not declared in this scope
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:78: 
> error: 'glClear' was not declared in this scope
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:82:13: 
> error: invalid use of incomplete type 'class QOpenGLPaintDevice'
> In file included from 
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:41:0:
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:47:7: 
> error: forward declaration of 'class QOpenGLPaintDevice'
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:84:30: 
> error: no matching function for call to 
> 'QPainter::QPainter(QOpenGLPaintDevice*&)'
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:84:30: 
> note: candidates are:
> In file included from 
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/include/QtGui/qpainter.h:1:0,
>                  from 
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/include/QtGui/QPainter:1,
>                  from 
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:47:
>
> Googling indicates that this is because:
>
>    "If -no-opengl is specified and OpenGL development files are 
> installed, the error does occur."
>
> If I clean out qtbase, and then continue build, it will complete.
> $ bitbase -c cleansstate qtbase
> $ bitbake <image>
>
> My guess is that during configuration, OpenGL cannot be found, but it 
> is there during compile.
> There seems to be a dependency error (libgles-omap3?).
>
>
>
>
> BR
> Ulf Samuelsson



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build of qtbase fails due to no OpenGL libraries, but completes after cleaning qtbase.
  2014-07-02  5:21     ` Build of qtbase fails due to no OpenGL libraries, but completes after cleaning qtbase Ulf Samuelsson
  2014-07-02 13:31       ` Ulf Samuelsson
@ 2014-07-02 13:32       ` Denys Dmytriyenko
  1 sibling, 0 replies; 4+ messages in thread
From: Denys Dmytriyenko @ 2014-07-02 13:32 UTC (permalink / raw)
  To: Ulf Samuelsson; +Cc: meta-ti

On Wed, Jul 02, 2014 at 07:21:24AM +0200, Ulf Samuelsson wrote:
> When I build an image with QT5 using meta-arago, qtbase fails with a
> lot of error messages.

This is the wrong mailing list - meta-ti has nothing to do with qtbase.

Moreover, why are you still using 5.1.1? There were many fixes in Qt5 5.2.x 
and 5.3.x. Also, it depends on your setup and what layers and features you 
configure. Either way, it's a discussion for a distro layer, you can use 
meta-arago mailing list for that...


> Some errors:
> 
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:52:1:
> error: expected class-name before '{' token
> linking part1
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:
> In destructor 'virtual OpenGLWindow::~OpenGLWindow()':
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:63:12:
> warning: possible problem detected in invocation of delete operator:
> [enabled by default]
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:63:12:
> warning: invalid use of incomplete type 'class QOpenGLPaintDevice'
> [enabled by default]
> In file included from $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:41:0:
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:47:7:
> warning: forward declaration of 'class QOpenGLPaintDevice' [enabled
> by default]
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:63:12:
> note: neither the destructor nor the class-specific operator delete
> will be called, even if they are declared when the class is defined
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:
> In member function 'virtual void OpenGLWindow::render()':
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:78:24:
> error: invalid use of incomplete type 'class QOpenGLPaintDevice'
> In file included from $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:41:0:
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:47:7:
> error: forward declaration of 'class QOpenGLPaintDevice'
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:13:
> error: 'GL_COLOR_BUFFER_BIT' was not declared in this scope
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:35:
> error: 'GL_DEPTH_BUFFER_BIT' was not declared in this scope
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:57:
> error: 'GL_STENCIL_BUFFER_BIT' was not declared in this scope
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:78:
> error: 'glClear' was not declared in this scope
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:82:13:
> error: invalid use of incomplete type 'class QOpenGLPaintDevice'
> In file included from $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:41:0:
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:47:7:
> error: forward declaration of 'class QOpenGLPaintDevice'
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:84:30:
> error: no matching function for call to
> 'QPainter::QPainter(QOpenGLPaintDevice*&)'
> $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:84:30:
> note: candidates are:
> In file included from $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/include/QtGui/qpainter.h:1:0,
>                  from $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/include/QtGui/QPainter:1,
>                  from $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:47:
> 
> Googling indicates that this is because:
> 
>    "If -no-opengl is specified and OpenGL development files are
> installed, the error does occur."
> 
> If I clean out qtbase, and then continue build, it will complete.
> $ bitbase -c cleansstate qtbase
> $ bitbake <image>
> 
> My guess is that during configuration, OpenGL cannot be found, but
> it is there during compile.
> There seems to be a dependency error (libgles-omap3?).
> 
> 
> 
> 
> BR
> Ulf Samuelsson
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build of qtbase fails due to no OpenGL libraries, but completes after cleaning qtbase.
  2014-07-02 13:31       ` Ulf Samuelsson
@ 2014-07-02 13:36         ` Denys Dmytriyenko
  0 siblings, 0 replies; 4+ messages in thread
From: Denys Dmytriyenko @ 2014-07-02 13:36 UTC (permalink / raw)
  To: Ulf Samuelsson; +Cc: meta-ti

On Wed, Jul 02, 2014 at 03:31:48PM +0200, Ulf Samuelsson wrote:
> 2014-07-02 07:21, Ulf Samuelsson skrev:
> >When I build an image with QT5 using meta-arago, qtbase fails with
> >a lot of error messages.
> >
> I added
> 
> DEPENDS += "libgles-omap3"
> 
> to my 'qtbase_5.1.1.bbappend'
> and now I can rebuild qt5 without this error.

If you use PACKAGECONFIG from qtbase properly, it shouldn't be needed, as when 
"gles2" flag is set, it depends on virtual/egl and virtual/libgles2, which 
libgles-omap3 already provides...


> >Some errors:
> >
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:52:1:
> >error: expected class-name before '{' token
> >linking part1
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:
> >In destructor 'virtual OpenGLWindow::~OpenGLWindow()':
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:63:12:
> >warning: possible problem detected in invocation of delete
> >operator: [enabled by default]
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:63:12:
> >warning: invalid use of incomplete type 'class QOpenGLPaintDevice'
> >[enabled by default]
> >In file included from $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:41:0:
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:47:7:
> >warning: forward declaration of 'class QOpenGLPaintDevice'
> >[enabled by default]
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:63:12:
> >note: neither the destructor nor the class-specific operator
> >delete will be called, even if they are declared when the class is
> >defined
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:
> >In member function 'virtual void OpenGLWindow::render()':
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:78:24:
> >error: invalid use of incomplete type 'class QOpenGLPaintDevice'
> >In file included from $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:41:0:
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:47:7:
> >error: forward declaration of 'class QOpenGLPaintDevice'
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:13:
> >error: 'GL_COLOR_BUFFER_BIT' was not declared in this scope
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:35:
> >error: 'GL_DEPTH_BUFFER_BIT' was not declared in this scope
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:57:
> >error: 'GL_STENCIL_BUFFER_BIT' was not declared in this scope
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:80:78:
> >error: 'glClear' was not declared in this scope
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:82:13:
> >error: invalid use of incomplete type 'class QOpenGLPaintDevice'
> >In file included from $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:41:0:
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.h:47:7:
> >error: forward declaration of 'class QOpenGLPaintDevice'
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:84:30:
> >error: no matching function for call to
> >'QPainter::QPainter(QOpenGLPaintDevice*&)'
> >$TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:84:30:
> >note: candidates are:
> >In file included from $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/include/QtGui/qpainter.h:1:0,
> >                 from $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/include/QtGui/QPainter:1,
> >                 from $TMP/$WORKDIR/5.1.1-r0-arago1/qtbase-opensource-src-5.1.1/examples/gui/openglwindow/openglwindow.cpp:47:
> >
> >Googling indicates that this is because:
> >
> >   "If -no-opengl is specified and OpenGL development files are
> >installed, the error does occur."
> >
> >If I clean out qtbase, and then continue build, it will complete.
> >$ bitbase -c cleansstate qtbase
> >$ bitbake <image>
> >
> >My guess is that during configuration, OpenGL cannot be found, but
> >it is there during compile.
> >There seems to be a dependency error (libgles-omap3?).
> >
> >
> >
> >
> >BR
> >Ulf Samuelsson
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-02 13:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3FE772D53E77C441B4E5285AE1261596694E44E8@AFSESTHEX6.af.se>
     [not found] ` <AB4BC7AE-6073-4AB3-8573-93B92E50D342@emagii.com>
     [not found]   ` <53B394EC.1060606@emagii.com>
2014-07-02  5:21     ` Build of qtbase fails due to no OpenGL libraries, but completes after cleaning qtbase Ulf Samuelsson
2014-07-02 13:31       ` Ulf Samuelsson
2014-07-02 13:36         ` Denys Dmytriyenko
2014-07-02 13:32       ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.