From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from srv1001smtp.sepsa.es ([80.81.127.89]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VQej6-0000Z4-Pj for ptxdist@pengutronix.de; Mon, 30 Sep 2013 16:45:34 +0200 Message-ID: <52498E8B.4010301@sepsa.es> Date: Mon, 30 Sep 2013 16:45:31 +0200 From: =?ISO-8859-1?Q?Daniel_Mach=F3n_Garc=EDa?= MIME-Version: 1.0 References: <52498DAD.6040109@sepsa.es> In-Reply-To: <52498DAD.6040109@sepsa.es> Subject: Re: [ptxdist] PTXDIST OPENGL compiling problem Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1832874126==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============1832874126== Content-Type: multipart/alternative; boundary="------------070106090909010109020209" --------------070106090909010109020209 Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Content-Transfer-Encoding: quoted-printable Sorry, I forgot to say I'm using OSELAS toolchain Thanks a lot. El 30/09/13 16:41, Daniel Mach=F3n Garc=EDa escribi=F3: > Hello, > > I'm traying to compile OPENGL in ptxdist-2013.09.0 i.mx6 platform and=20 > 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-eve= rywhere-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=20 > following lines. But it doesn't work: > > * QT4_QMAKE_LIBS_OPENGL_ES2 :=3D "-lGLESv2" > QT4_QMAKE_INCDIR_OPENGL_ES2 :=3D "$(SYSROOT)/usr/include/GLES2" > QT4_QMAKE_LIBDIR_OPENGL_ES2 :=3D "$(SYSROOT)/usr/lib"* > > * -e "s#@QMAKE_INCDIR_OPENGL_ES2@#$(strip=20 > $(QT4_QMAKE_INCDIR_OPENGL_ES2))#g" \ > -e "s#@QMAKE_LIBDIR_OPENGL_ES2@#$(strip=20 > $(QT4_QMAKE_LIBDIR_OPENGL_ES2))#g" \ > -e "s#@QMAKE_LIBS_OPENGL_ES2@#$(strip=20 > $(QT4_QMAKE_LIBS_OPENGL_ES2))#g" \* > > Any idea to build this package? > > Thanks a lot > --=20 --------------070106090909010109020209 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit 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
--
DMG si
--------------070106090909010109020209-- --===============1832874126== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1832874126==--