Ashwin: Can you elaborate on how you got the SGX stuff working? I'm trying to follow this <http://gpupowered.org/node/31> tutorial and having some difficulties.
On Thursday, July 17, 2014 10:20:16 AM UTC-7, Jay Cady wrote: > > Don: I'm unsure of what you mean by using arch-linux arm. Can you explain > how I would do this? > > Aswin: I'm actually not sure if the touchscreen works with the Qt5 > installation yet. The touchscreen is definitely functioning with the > image, but I haven't been able to do any tests yet. If I can get it > working with OpenGL, I'll let you know. > > Ashwin: A lot of the errors you get in configuring Qt from source are > normal. They just indicate that it tried to build those modules because > you didn't explicitly say to exclude them, but they don't exist. You can > suppress them by passing -no arguments with the module that is giving you > the issue when configuring (i.e. -no-sql-mysql). It doesn't matter much > because if everything else is still good, it will still configure > successfully and just disable those modules. > > On Thursday, July 17, 2014 9:13:54 AM UTC-7, ashwin.s...@gmail.com wrote: >> >> Hi, >> >> I am facing the same problem too. However, missing gl2.h is not the only >> error I am seeing. There are other similar errors for mysql.h, oci.h etc. >> I am using a the kernel version that supports SGX and was able to run a >> demo program. I do not see gl2.h anywhere in /usr/include directory. Please >> update if you find out any solution. >> >> Thanks, >> Ashwin >> >> On Wednesday, July 16, 2014 12:25:19 PM UTC-7, Jay Cady wrote: >>> >>> Hey all, >>> >>> I’ve been googling around and searching for about 2 days now with no >>> luck. >>> >>> I’m trying to cross-compile Qt5 (5.3.1 or 5.2.0) for the Beaglebone >>> Black and get Quick 2.0 and Qt Quick Controls working (so I need OpenGL). >>> So far I haven’t been able to find any good sources to walk me through this >>> process. >>> >>> I’m using a Chipsee >>> <http://www.chipsee.com/product/evm/beagle/beaglebone-black-expansion-capacitive.html?___store=english&___from_store=default> >>> *[chipsee.com <http://chipsee.com>]* cape to have an LCD and >>> capacitive touch screen with it. Chipsee gives me several prebuilt images, >>> including a Debian, Angstrom, Android, and LinuxEZSDK images. It looks like >>> the linuxEZSDK and Angstrom images come with all the OpenGL libraries >>> pre-loaded. The LinuxEZSDK comes pre-configured with everything for Qt, but >>> it’s Qt4.8. You can find their repo of images here >>> <http://www.chipsee.com/upload/BBB/>*[chipsee.com <http://chipsee.com>]* >>> . >>> >>> Right now I’ve been working with the LinuxEZSDK image to try and build >>> Qt5 from source and get it on there. I downloaded the linaro toolchain >>> <https://launchpad.net/linaro-toolchain-binaries/trunk/2013.04/+download/gcc-linaro-arm-linux-gnueabihf-4.8-2013.04-20130417_linux.tar.xz> >>> *[launchpad.net <http://launchpad.net>]* to use for the cross compile. >>> I edited the 5.3.1 source following this tutorial >>> <http://armsdr.blogspot.com/2014/01/bare-metal-qt-52-on-beaglebone-black_10.html> >>> *[armsdr.blogspot.com <http://armsdr.blogspot.com>]*to setup the build >>> for the cross-compile. If I follow that tutorial to a T, it works fine. But >>> if I try and configure using OpenGL by running the following configure >>> script: >>> >>> 1. ../qt-everywhere-opensource-src-5.3.1/configure -v -opensource - >>> confirm-license-no-pch -no-opengl -opengl es2 -make libs -device >>> linux-beaglebone-g++ -xplatform linux-arm-gnueabihf-g++ -device-option >>> CROSS_COMPILE=/usr/local/linaro/bin/arm-linux-gnueabihf- -sysroot/ >>> media/jay/rootfs -no-gcc-sysroot -prefix /opt/qt5 >>> >>> I mounted the SD card that countains the LinuxEZSDK in order to find the >>> OpenGL drivers and set the sysroot to /media/jay/rootfs, which is the root >>> of the OS. Configuring that gives me the following error: >>> >>> 1. OpenGL ES 2.x auto-detection... () >>> 2. /usr/local/linaro/bin/arm-linux-gnueabihf-g++ -c -pipe -O2 -Wall - >>> W -fPIE -I/home/jay/qt-everywhere-opensource-src-5.3.1/qtbase/ >>> mkspecs/linux-arm-gnueabihf-g++ -I/home/jay/qt-everywhere-opensource- >>> src-5.3.1/qtbase/config.tests/unix/opengles2 -I. -o opengles2.o /home >>> /jay/qt-everywhere-opensource-src-5.3.1/qtbase/config.tests/unix/ >>> opengles2/opengles2.cpp >>> 3. /home/jay/qt-everywhere-opensource-src-5.3.1/qtbase/config.tests/ >>> unix/opengles2/opengles2.cpp:45:25: fatal error:GLES2/gl2.h: No such >>> file or directory >>> 4. #include <GLES2/gl2.h> >>> 5. ^ >>> 6. compilation terminated. >>> 7. make: *** [opengles2.o] Error 1 >>> 8. OpenGL ES 2.x disabled. >>> 9. The OpenGL ES 2.0 functionality test failed! >>> 10. You might need to modify the include and library search paths >>> by editing >>> 11. QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and >>> QMAKE_LIBS_OPENGL_ES2 in >>> 12. /home/jay/qt-everywhere-opensource-src-5.3.1/qtbase/mkspecs/ >>> linux-arm-gnueabihf-g++. >>> >>> I even tried modifying the qmake.conf at >>> /qtbase/mkspecs/linux-arm-gnueabihf-g++ to include the following: >>> >>> 1. QMAKE_INCDIR_OPENGL += /media/jay/rootfs/usr/include >>> 2. QMAKE_LIBDIR_OPENGL += /media/jay/rootfs/usr/lib >>> 3. QMAKE_LIBS_OPENGL_ES2 = >>> >>> But that resulted in the same error. >>> >>> Does anyone have any ideas how I can get this cross compiled for the >>> Beaglebone with support for Qt Quick 2 and Qt Quick Controls? >>> >>> Thanks! >>> >> -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.