mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Daniel Machón García" <danielmachon@sepsa.es>
To: ptxdist@pengutronix.de
Subject: [ptxdist] PTXDIST OPENGL compiling problem
Date: Mon, 30 Sep 2013 16:41:49 +0200	[thread overview]
Message-ID: <52498DAD.6040109@sepsa.es> (raw)


[-- 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

             reply	other threads:[~2013-09-30 14:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-30 14:41 Daniel Machón García [this message]
2013-09-30 14:45 ` Daniel Machón García

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52498DAD.6040109@sepsa.es \
    --to=danielmachon@sepsa.es \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox