That looks good. In the meantime I try to fully understand what are you doing and how to replicate it, you say you will add the other items in the config later. How do you will do that? I have an VirtualBox snapshot on my laptop (another Qt installation) just after the -make step, so, to try re-run the ./configure plus -make combo when we can include OpenGL I just ran -make clean, but this don't solve that re-run ./configure doesn't seem to take all the new paths. In the past, I opt to reinstall Ubuntu just for make sure the new installation will be clean, but i hate do that, i think that in certain moment i will not be able to do that anymore without expend another week configuring the IDE.
Thank you very much for your help. Jeremias. El viernes, 23 de octubre de 2020 a las 17:01:15 UTC-3, [email protected] escribió: > Okay, a bit of success. > With it picking up the older toolchain, look in the folders you are using > for any '.qt*. files. There are files that get created as '.' when running > the configure script. > > For me, > > I downloaded Qt 5.12.5 and unpacked it in a folder. > Then I created 3 folders for the prefix, extprefix and hostprefix: > > *prefix ~/opt/qt512bb/install * > *extprefix ~/opt/qt512bb/binaries * > *hostprefix ~/opt/qt512bb/tool* > > > Then I created a build folder to build qt in and moved to that folder to > build > > *mkdir -p ~/opt/qt512bb/build* > *cd ~/opt/qt512bb/build* > > > Then I ran the configure script from the build folder as such. > > *../qt-everywhere-src-5.12.5/configure -platform linux-g++-64 -release > -opengl es2 -device linux-beagleboard-g++ -device-option > CROSS_COMPILE=~/develop/bbuild/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- > > -sysroot ~/develop/bbuild/sysroot -opensource -confirm-license -make libs > -prefix ~/opt/qt512bb/install -extprefix ~/opt/qt512bb/binaries -hostprefix > ~/opt/qt512bb/tool -nomake tests -v -libdir > ~/develop/bbuild/sysroot/lib/arm-linux-gnueabihf* > > > This was just to verify the config and make sure it passes the configure > stage. Currently running make and will see if it compiles then will add the > other items in the config. > Also, I am using the default qmake.conf file. > > Helpful links: > > https://stackoverflow.com/questions/45983717/qt-sysroot-prefix-extprefix-and-hostprefix-options > > https://stackoverflow.com/questions/49139731/error-while-creating-qmake-for-a-qt-static-build > > > Jon > > > On Fri, Oct 23, 2020 at 5:44 AM 'Jeremias Ramirez' via BeagleBoard < > [email protected]> wrote: > >> Well, i'm not sure if this is something useful, but, I try to use an >> older version of the Linaro compiler. >> I was using 7.5 and i try 6.5 >> I think there's something weird updating links, because i change the >> ./configure, and the script still trying to use the 7.5v, look: >> >> + cd qtbase >> + /opt/qt5bbb/qt5/qtbase/configure -top-level -no-gcc-sysroot -device >> linux-beagleboard-g++ -device-option CROSS_COMPILE= >> */opt/gcc-linaro-6.5.0-2018.12-x86_64_armv8l-linux-gnueabihf/bin/armv8l-linux-gnueabihf*- >> >> -sysroot /mnt/bbb-rootfs -opensource -confirm-license -optimized-qmake >> -reduce-exports -release -make libs -prefix /usr/local/qt5bbb -hostprefix >> /usr/local/qt5bbb -qt-zlib -qt-libpng -no-openssl -opengl es2 -eglfs -v >> <srcbase> = /opt/qt5bbb/qt5/qtbase >> <bldbase> = /opt/qt5bbb/qt5/qtbase >> <outbase> = /opt/qt5bbb/qt5/qtbase >> Creating qmake... >> make: Nothing to be done for 'first'. >> Command line: -no-gcc-sysroot -device linux-beagleboard-g++ >> -device-option CROSS_COMPILE=/ >> *opt/gcc-linaro-6.5.0-2018.12-x86_64_armv8l-linux-gnueabihf/bin/armv8l-linux-gnueabihf*- >> >> -sysroot /mnt/bbb-rootfs -opensource -confirm-license -optimized-qmake >> -reduce-exports -release -make libs -prefix /usr/local/qt5bbb -hostprefix >> /usr/local/qt5bbb -qt-zlib -qt-libpng -no-openssl -opengl es2 -eglfs -v >> >> This is the Qt Open Source Edition. >> >> You have already accepted the terms of the Open Source license. >> >> Running configuration tests... >> >> + cd */opt/qt5bbb/qt5/config.tests && >> /opt/gcc-linaro-7.5.0-2019.12-x86_64_armv8l-linux-gnueabihf/bin/armv8l-linux-gnueabihf*-g++ >> >> -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a >> -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard -fuse-ld=gold -o >> conftest-out conftest.cpp >> >> + >> */opt/gcc-linaro-7.5.0-2019.12-x86_64_armv8l-linux-gnueabihf/bin/armv8l-linux-gnueabihf-g+*+ >> >> -dumpmachine >> > armv8l-linux-gnueabihf >> >> >> I rename the 7.5v folder and still giving me the same paths here. >> >> Best regards. >> >> El jueves, 22 de octubre de 2020 a las 22:39:35 UTC-3, [email protected] >> escribió: >> >>> Yeah, I tried with Debian 9.13 64-bit and it still shows the same error >>> for the OpenGL ES libs. >>> >>> Must be missing something. >>> >>> Jon >>> >>> On Thu, Oct 22, 2020 at 2:03 PM 'Jeremias Ramirez' via BeagleBoard < >>> [email protected]> wrote: >>> >>>> I don't know how path vars work in this kind of files, but, if you see >>>> that file, at the start includes an linux.conf file, that file also make >>>> reference to the $varPaths whom we are trying to especify. >>>> >>>> El jue., 22 de oct. de 2020 17:09, jonnymo <[email protected]> >>>> escribió: >>>> >>>>> Yeah, I just downloaded 5.12.9 and tied that but got the same end >>>>> result but more info in the log. >>>>> Also, I am following these two links and ensured both my Host and BB >>>>> have the proper libs installed and such. >>>>> >>>>> https://mechatronicsblog.com/cross-compile-and-deploy-qt-5-12-for-raspberry-pi/#comment-1706 >>>>> https://wiki.qt.io/BeagleBone_Black_Beginners_Guide >>>>> >>>>> Also, I have edits the qmake.conf and added the following but still no >>>>> go: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> *QMAKE_LFLAGS += -Wl,-rpath-link,$$[QT_SYSROOT]/lib# Extra >>>>> stuff (OpenGL, DirectFB, ...)QMAKE_INCDIR_EGL = >>>>> $$[QT_SYSROOT]/usr/include \ >>>>> $$[QT_SYSROOT]/usr/include/GLES2 \ >>>>> $$[QT_SYSROOT]/usr/include/arm-linux-gnueabihf \ >>>>> $$[QT_SYSROOT]/usr/include/arm-linux-gnueabihf/bitsQMAKE_LIBDIR_EGL >>>>> = $$[QT_SYSROOT]/lib \ $$[QT_SYSROOT]/usr/lib \ >>>>> >>>>> >>>>> $$[QT_SYSROOT]/usr/lib/arm-linux-gnueabihfQMAKE_INCDIR_OPENGL_ES2 = >>>>> $${QMAKE_INCDIR_EGL}QMAKE_LIBDIR_OPENGL_ES2 = >>>>> $${QMAKE_LIBDIR_EGL}QMAKE_INCDIR_OPENVG = >>>>> $${QMAKE_INCDIR_EGL}QMAKE_LIBDIR_OPENVG = $${QMAKE_LIBDIR_EGL}* >>>>> >>>>> >>>>> QMAKE_LIBS_EGL = -lEGL -lIMGegl -lsrv_um >>>>> QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 $${QMAKE_LIBS_EGL} >>>>> QMAKE_LIBS_OPENVG = -lOpenVG $${QMAKE_LIBS_EGL} >>>>> >>>>> DISTRO_OPTS += hard-float >>>>> >>>>> # No need for any special EGL device integration. >>>>> # Prioritize the default, compiled-in integration over any plugins. >>>>> >>>>> >>>>> >>>>> With 5.12.9 and all the libs and stuff in place, I now see this in the >>>>> log file. >>>>> >>>>> + >>>>> PKG_CONFIG_SYSROOT_DIR=/home/jomodev/development/beaglbone/bbbuild/sysroot >>>>> >>>>> PKG_CONFIG_LIBDIR=/home/jomodev/development/beaglbone/bbbuild/sysroot/usr/lib/pkgconfig:/home/jomodev/development/beaglbone/bbbuild/sysroot/usr/share/pkgconfig:/home/jomodev/development/beaglbone/bbbuild/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig >>>>> >>>>> /usr/bin/pkg-config --cflags glesv2 >>>>> header entry 'config.qtbase_gui.libraries.opengl_es2.headers.0' passed >>>>> condition. >>>>> GLES2/gl2.h not found in [] and global paths. >>>>> => source produced no result. >>>>> Trying source 1 (type makeSpec) of library opengl_es2 ... >>>>> None of [libIMGegl.so libIMGegl.a] found in >>>>> [/home/jomodev/development/beaglbone/bbbuild/sysroot/lib >>>>> /home/jomodev/development/beaglbone/bbbuild/sysroot/usr/lib >>>>> /home/jomodev/development/beaglbone/bbbuild/sysroot/usr/lib/arm-linux-gnueabihf] >>>>> >>>>> and global paths. >>>>> >>>>> I know gl2.h is in sysroot so perhaps there is a Path not set properly. >>>>> >>>>> *$ find sysroot/ -name "gl2.h"* >>>>> *sysroot/usr/include/GLES2/gl2.h* >>>>> >>>>> The adventure continues. >>>>> >>>>> Cheers, >>>>> >>>>> Jon >>>>> >>>>> >>>>> On Thu, Oct 22, 2020 at 11:04 AM 'Jeremias Ramirez' via BeagleBoard < >>>>> [email protected]> wrote: >>>>> >>>>>> I'm working with 5.12.9, so I think isn't a version issue either. >>>>>> >>>>>> El jue., 22 de oct. de 2020 14:20, jonnymo <[email protected]> >>>>>> escribió: >>>>>> >>>>>>> Qt 5.15.1 from source. >>>>>>> >>>>>>> On Thu, Oct 22, 2020 at 9:58 AM 'Jeremias Ramirez' via BeagleBoard < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> Jon, which version of Qt are you trying to build? >>>>>>>> >>>>>>>> El jue., 22 de oct. de 2020 13:33, jonnymo <[email protected]> >>>>>>>> escribió: >>>>>>>> >>>>>>>>> I have a Debian 9.13 Docker instance on Ubuntu 20.04 that I have >>>>>>>>> been building so that might be an option. I could try a 64-bit >>>>>>>>> Debian >>>>>>>>> VirtualBox image but only have a 32-bit in place now. However, I am >>>>>>>>> not >>>>>>>>> seeing anything that would indicate it is an Ubuntu vs Debian thing >>>>>>>>> but it >>>>>>>>> is possible and the libsystemd.so.0 might be an indicator. I too have >>>>>>>>> been >>>>>>>>> using Ubuntu 18.04 for this exercise. >>>>>>>>> >>>>>>>>> Cheers, >>>>>>>>> >>>>>>>>> Jon >>>>>>>>> >>>>>>>>> >>>>>>>>> On Thu, Oct 22, 2020 at 8:58 AM 'Jeremias Ramirez' via BeagleBoard >>>>>>>>> <[email protected]> wrote: >>>>>>>>> >>>>>>>>>> I think I can run the Debian image from the board memory, I have >>>>>>>>>> the SD with the Ubuntu distro and I don't have other SD available >>>>>>>>>> rigth now. >>>>>>>>>> I will try with that sysroot in a couple hours. >>>>>>>>>> Thanks. >>>>>>>>>> >>>>>>>>>> El jue., 22 de oct. de 2020 12:11, Jeremias Ramirez < >>>>>>>>>> [email protected]> escribió: >>>>>>>>>> >>>>>>>>>>> Hi again. >>>>>>>>>>> Yes, the BBB is running Ubuntu 18.04 for Arm. >>>>>>>>>>> The workstation is running Ubuntu 18.04 too. >>>>>>>>>>> >>>>>>>>>>> El jue., 22 de oct. de 2020 12:07, Dennis Lee Bieber < >>>>>>>>>>> [email protected]> escribió: >>>>>>>>>>> >>>>>>>>>>>> On Wed, 21 Oct 2020 10:50:12 -0700, in >>>>>>>>>>>> gmane.comp.hardware.beagleboard.user >>>>>>>>>>>> jonnymo <[email protected]> wrote: >>>>>>>>>>>> >>>>>>>>>>>> >If they are doing cross compiling from a remote host, then >>>>>>>>>>>> should they not >>>>>>>>>>>> >be using the BB specific libs under sysroot and not the host >>>>>>>>>>>> OpenGL libs? >>>>>>>>>>>> > >>>>>>>>>>>> Based upon the OP's response, they are building on a >>>>>>>>>>>> Beagle -- but that >>>>>>>>>>>> Beagle is running a Ubuntu image (or have some other ARM-based >>>>>>>>>>>> build >>>>>>>>>>>> environment). >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Dennis L Bieber >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> 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 [email protected]. >>>>>>>>>>>> To view this discussion on the web visit >>>>>>>>>>>> https://groups.google.com/d/msgid/beagleboard/ar73pf5pvhj95r1fn293kjk4r8m75f7i0p%404ax.com >>>>>>>>>>>> . >>>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>> 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 [email protected]. >>>>>>>>>> To view this discussion on the web visit >>>>>>>>>> https://groups.google.com/d/msgid/beagleboard/CA%2B7X7njBXiEbyTJ%3D7WZZHdhn_sMW0BtkFf%2BJXNUgeHRPyhjVAA%40mail.gmail.com >>>>>>>>>> >>>>>>>>>> <https://groups.google.com/d/msgid/beagleboard/CA%2B7X7njBXiEbyTJ%3D7WZZHdhn_sMW0BtkFf%2BJXNUgeHRPyhjVAA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>>>> . >>>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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 [email protected]. >>>>>>>>> To view this discussion on the web visit >>>>>>>>> https://groups.google.com/d/msgid/beagleboard/CAG99bkqvpyg%2BC4yXW1RzB2ORDKPYeCaO2fJbx78RybnCY%2BHz%3DA%40mail.gmail.com >>>>>>>>> >>>>>>>>> <https://groups.google.com/d/msgid/beagleboard/CAG99bkqvpyg%2BC4yXW1RzB2ORDKPYeCaO2fJbx78RybnCY%2BHz%3DA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>>> . >>>>>>>>> >>>>>>>> -- >>>>>>>> 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 [email protected]. >>>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/beagleboard/CA%2B7X7nhrtzv0WfDrQF_-YZDXTeDGtwC3a37fJn%3DtMC9-4X61wA%40mail.gmail.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/beagleboard/CA%2B7X7nhrtzv0WfDrQF_-YZDXTeDGtwC3a37fJn%3DtMC9-4X61wA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>> -- >>>>>>> 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 [email protected]. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/beagleboard/CAG99bkqdg3104Ho8pCLbmjQeweBuVnWJPB_awP8QnP%2BoutKcVQ%40mail.gmail.com >>>>>>> >>>>>>> <https://groups.google.com/d/msgid/beagleboard/CAG99bkqdg3104Ho8pCLbmjQeweBuVnWJPB_awP8QnP%2BoutKcVQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> >>>>>> -- >>>>>> 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 [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/beagleboard/CA%2B7X7ni3a5dGgkqiK0VuwYffdf7Vrz4NVt%3DVkMwohhk-it7G8Q%40mail.gmail.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/beagleboard/CA%2B7X7ni3a5dGgkqiK0VuwYffdf7Vrz4NVt%3DVkMwohhk-it7G8Q%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >>>>> 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 [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/beagleboard/CAG99bko%3DuRYs2FN5%2BG5nEsOdyUAeYSqQnT%2BY6GO9OMfPWJzg%2Bw%40mail.gmail.com >>>>> >>>>> <https://groups.google.com/d/msgid/beagleboard/CAG99bko%3DuRYs2FN5%2BG5nEsOdyUAeYSqQnT%2BY6GO9OMfPWJzg%2Bw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>>> 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 [email protected]. >>>> >>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/beagleboard/CA%2B7X7njmJw4m6Wy-5E4sB56W0_Rxe2eq_4w%2Bes9CPeSQAJw6%3Dw%40mail.gmail.com >>>> >>>> <https://groups.google.com/d/msgid/beagleboard/CA%2B7X7njmJw4m6Wy-5E4sB56W0_Rxe2eq_4w%2Bes9CPeSQAJw6%3Dw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> 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 [email protected]. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/beagleboard/a5b64ee4-3633-43eb-bdc1-c46c301e089fn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/beagleboard/a5b64ee4-3633-43eb-bdc1-c46c301e089fn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/49d42773-bfdf-4cce-a94a-96314c7e1013n%40googlegroups.com.
