This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4378: AM4377

Part Number: AM4378

I make sdk on ubuntu 18.04lts, but i have 'qmake' error like below...

=================================
Building Matrix GUI Browser
=================================
make[1]: Entering directory '/home/ldw184lts/tiam437x/ti-processor-sdk-linux/example-applications/matrix-gui-browser-2.0'
/home/ldw184lts/tiam437x/ti-processor-sdk-linux/linux-devkit/sysroots/x86_64-arago-linux/environment-setup.d/qt5.sh: line 11: /home/ldw184lts/tiam437x/ti-processor-sdk-linux/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/qmake: No such file or directory

How can i remove build error 'qmake: No such file or directory??

  • Hi,

    Which AM437x SDK version do you use?

    I am routing your query to our SDK expert for comments.

  • Thank you for response.

    I use TI SDK 07.03.00.005 Ver.

  • I started checking to see if I can re-create this. Will follow-up shortly.

  • I just tried building the Matrix GUI Browser with a freshly-installed SDK v07.03.00.005 and the build worked without issues:

    $ make matrix-gui-browser
    =================================
    Building Matrix GUI Browser
    =================================
    make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
    make[1]: Entering directory '/home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/example-applications/matrix-gui-browser-2.0'
    Info: creating stash file /home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/example-applications/matrix-gui-browser-2.0/.qmake.stash
    make[2]: Entering directory '/home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/example-applications/matrix-gui-browser-2.0'
    arm-none-linux-gnueabihf-g++ --sysroot=/home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi -c -pipe -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=ha
    rd --sysroot=/home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi --sysroot=/home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit
    /sysroots/armv7at2hf-neon-linux-gnueabi -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../../linu
    x-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include -I../../linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtWebKitWidgets -I../../linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr
    /include/QtWebKit -I../../linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtWidgets -I../../linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtGui -I../../linux-devkit/sysroots/arm
    v7at2hf-neon-linux-gnueabi/usr/include/QtNetwork -I../../linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/include/QtCore -I. -I../../linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib/mkspecs/lin
    ux-oe-g++ -o main.o main.cpp
    <snip>
    arm-none-linux-gnueabihf-g++ --sysroot=/home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi --sysroot=/home/a0797059/ti-processor-sdk-linux-am437x-evm
    -07.03.00.005/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi --sysroot=/home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi -Wl,-O1 -Wl,-rpath-li
    nk,/home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib -o matrix_browser main.o MatrixWebView.o moc_MatrixWebView.o   /home/a0797059/ti-proce
    ssor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib/libQt5WebKitWidgets.so /home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit/sysroots/armv7
    at2hf-neon-linux-gnueabi/usr/lib/libQt5WebKit.so /home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib/libQt5Widgets.so /home/a0797059/ti-proce
    ssor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib/libQt5Gui.so /home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit/sysroots/armv7at2hf-neon
    -linux-gnueabi/usr/lib/libQt5Network.so /home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib/libQt5Core.so -lGLESv2 -lpthread
    make[2]: Leaving directory '/home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/example-applications/matrix-gui-browser-2.0'
    make[1]: Leaving directory '/home/a0797059/ti-processor-sdk-linux-am437x-evm-07.03.00.005/example-applications/matrix-gui-browser-2.0'

    Upon further inspection the Makefile part of the matrix-gui-browser-2.0 project uses a variant of qmake that should have gotten installed as part of the SDK, specifically it should be located in the linux-devkit subfolder as <sdk_install_dir>/ti-processor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/qmake.

    I suspect your SDK installation did not complete successfully, because as part of it the <sdk_install_dir>/ti-processor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit.sh installer should have gotten executed, installing/providing the sysroot and all kinds of build tools including qmake.

    I suggest re-downloading and re-installing the ti-processor-sdk-linux-am437x-evm-07.03.00.005-Linux-x86-Install.bin SDK installer. Alternatively, you can see if just running the linux-devkit.sh will do the trick to install the missing files (install into a target folder called <sdk_install_dir>/ti-processor-sdk-linux-am437x-evm-07.03.00.005/linux-devkit/, essentially alongside the linux-devkit.sh installer, as this is the expected location for all the builds to work)

    Regards, Andreas