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: Re: [ptxdist] PTXDIST OPENGL compiling problem
Date: Mon, 30 Sep 2013 16:45:31 +0200	[thread overview]
Message-ID: <52498E8B.4010301@sepsa.es> (raw)
In-Reply-To: <52498DAD.6040109@sepsa.es>


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

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

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

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=52498E8B.4010301@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