mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] PTXDIST OPENGL compiling problem
@ 2013-09-30 14:41 Daniel Machón García
  2013-09-30 14:45 ` Daniel Machón García
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Machón García @ 2013-09-30 14:41 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1570 bytes --]

Hello,

I'm traying to compile OPENGL in ptxdist-2013.09.0 i.mx6  platform and 
I'm getting this error:
/
You have asked to use pkg-config and are cross-compiling.
Please make sure you have a correctly set-up pkg-config
environment!


Warning: PKG_CONFIG_PATH has not been set.  This could mean
the host compiler's .pc files will be used. This is probably
not what you want.

The OpenGL ES 2.0 functionality test failed!
  You might need to modify the include and library search paths by editing
  QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in
  /home/user/ptxdist-2013.09.0/work_dir/platform-i.MX6/build-target/qt-everywhere-opensource-src-4.8.4/mkspecs/qws/linux-ptx-g++/

I apply an old patch I found  in the mail list, adding to qt4.make 
following lines. But it doesn't work:

* QT4_QMAKE_LIBS_OPENGL_ES2   := "-lGLESv2"
   QT4_QMAKE_INCDIR_OPENGL_ES2 := "$(SYSROOT)/usr/include/GLES2"
   QT4_QMAKE_LIBDIR_OPENGL_ES2 := "$(SYSROOT)/usr/lib"*

*          -e "s#@QMAKE_INCDIR_OPENGL_ES2@#$(strip 
$(QT4_QMAKE_INCDIR_OPENGL_ES2))#g" \
           -e "s#@QMAKE_LIBDIR_OPENGL_ES2@#$(strip 
$(QT4_QMAKE_LIBDIR_OPENGL_ES2))#g" \
           -e "s#@QMAKE_LIBS_OPENGL_ES2@#$(strip 
$(QT4_QMAKE_LIBS_OPENGL_ES2))#g" \*

Any idea to build this package?

Thanks a lot
-- 

*/Daniel Machón García
/**/INGENIERÍA SCI
/*

SEPSA_nuevo_definitivo_1

C/  Albatros, 7.  C.P. 28320 Pinto (Madrid)
Tel:  91 495 70 00           Extension: 1347
Fax:  91 692 11 45
danielmachon@sepsa.es <mailto:teresa.martinez@sepsa.es>


[-- Attachment #1.2.1: Type: text/html, Size: 3560 bytes --]

[-- Attachment #1.2.2: mailsephold.jpg --]
[-- Type: image/jpeg, Size: 2234 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] PTXDIST OPENGL compiling problem
  2013-09-30 14:41 [ptxdist] PTXDIST OPENGL compiling problem Daniel Machón García
@ 2013-09-30 14:45 ` Daniel Machón García
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Machón García @ 2013-09-30 14:45 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1502 bytes --]

Sorry,

I forgot to say I'm using OSELAS toolchain

Thanks a lot.

El 30/09/13 16:41, Daniel Machón García escribió:
> Hello,
>
> I'm traying to compile OPENGL in ptxdist-2013.09.0 i.mx6  platform and 
> I'm getting this error:
> /
> You have asked to use pkg-config and are cross-compiling.
> Please make sure you have a correctly set-up pkg-config
> environment!
>
>
> Warning: PKG_CONFIG_PATH has not been set.  This could mean
> the host compiler's .pc files will be used. This is probably
> not what you want.
>
> The OpenGL ES 2.0 functionality test failed!
>  You might need to modify the include and library search paths by editing
>  QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in
>  /home/user/ptxdist-2013.09.0/work_dir/platform-i.MX6/build-target/qt-everywhere-opensource-src-4.8.4/mkspecs/qws/linux-ptx-g++/
>
> I apply an old patch I found  in the mail list, adding to qt4.make 
> following lines. But it doesn't work:
>
> * QT4_QMAKE_LIBS_OPENGL_ES2   := "-lGLESv2"
>   QT4_QMAKE_INCDIR_OPENGL_ES2 := "$(SYSROOT)/usr/include/GLES2"
>   QT4_QMAKE_LIBDIR_OPENGL_ES2 := "$(SYSROOT)/usr/lib"*
>
> *          -e "s#@QMAKE_INCDIR_OPENGL_ES2@#$(strip 
> $(QT4_QMAKE_INCDIR_OPENGL_ES2))#g" \
>           -e "s#@QMAKE_LIBDIR_OPENGL_ES2@#$(strip 
> $(QT4_QMAKE_LIBDIR_OPENGL_ES2))#g" \
>           -e "s#@QMAKE_LIBS_OPENGL_ES2@#$(strip 
> $(QT4_QMAKE_LIBS_OPENGL_ES2))#g" \*
>
> Any idea to build this package?
>
> Thanks a lot
> -- 

[-- Attachment #1.2: Type: text/html, Size: 2570 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2013-09-30 14:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-30 14:41 [ptxdist] PTXDIST OPENGL compiling problem Daniel Machón García
2013-09-30 14:45 ` Daniel Machón García

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox