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.

How do I install ti-sdk-am37x-evm-06.00.00.00 setup.sh in Ubuntu 14.04LTS?

Hi,

I am having difficulty to configure ti-sdk-am37x-evm-06.00.00.00 into Qt Creator 3.5.1 (opensource) (QT Version, Compiler and Kits configuration). I find in "processors.wiki.ti.com/.../Installing_the_AM37x_SDK" link that I have to run environment setup (setup.sh). When I do I get an error that it is not for Ubuntu 14.04 LTS. Does anyone knows how do I install ti-sdk-am37x-evm-06.00.00.00 setup.sh in Ubuntu 14.04LTS?

ntms@ubuntu:~$ cd /home/ntms/ti-sdk-am37x-evm-06.00.00.00
ntms@ubuntu:~/ti-sdk-am37x-evm-06.00.00.00$ ./setup.sh
-------------------------------------------------------------------------------
TISDK setup script
This script will set up your development host for SDK development.
Parts of this script require administrator priviliges (sudo access).
-------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Verifying Linux host distribution
Unsupported host machine, only Ubuntu 10.04 LTS and Ubuntu 12.04 LTS
are supported
Failed setup, aborting..
ntms@ubuntu:~/ti-sdk-am37x-evm-06.00.00.00$

Kind Regards

  • Just comment out the lines in the script that check the version.
  • Thank you, but no luck. In QT Kits tab in Auto-detected is QT 5.5.1 GCC 64bit and my configuration of Under Manual is AM37xEVM. I also set my one as default. But on bottom left corner the PC icon I can see only Auto-detected kits wich is QT 5.5.1 GCC 64bit.

    Here is a pictures of my settings.

    Kind Regards

  • Hello Niyazi,

    Please refer to the hands on with Qt labs here.

    Best regards,
    Kemal

  • Thank you Kemal,

    I already go thru that lab. Lab uses QT Creator 2.7.1.

     This current version has been validated on Sitara SDK 06.00.00 using QT Creator 2.7.1.

     

    I am using;

     

    Qt Creator 3.5.1 (opensource)

    Based on Qt 5.5.1 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 64 bit)

    Built on Oct 13 2015 07:38:30

    From revision e548635a24

     

    And follow the LAB 2: QT Creator Hello World and I get an error. That why I posted here to see how to configure my QT to use ti-sdk-am37x-evm-06.00.00.00.

     

    Kind Regards,

  • Please, make sure that you have sourced the environment variables before running the qtcreator from the same terminal.

    ntms@ubuntu:~$ source /home/ntms/ti-sdk-am37x-evm-06.00.00.00/linux-devkit/environment-setup
    [linux-devkit]:~> qtcreator

  • Thank you Kemal,

    I just did again. And I get an error:

    ntms@ubuntu:~$ source /home/ntms/ti-sdk-am37x-evm-06.00.00.00/linux-devkit/environment-setup
    [linux-devkit]:~> qtcreator
    The program 'qtcreator' is currently not installed. You can install it by typing:
    sudo apt-get install qtcreator
    [linux-devkit]:~>

    But I already have Qt Creator 3.5.1 (opensource) (QT Version.

    :( Why is asking me that 'qtcreator' is not installed. ?????

    Here is my QT folder: /opt/Qt5.5.1. I did this installation using one of the QT help form.

  • This is not a concern. Just paste the absolute path to your qtcreator.
    <Qt install dir>/Tools/qtcreator-3.5.1/bin/qtcreator
  • Thank you. I did. But still shows me wrong configuration of the kit.
    When I try to build I get an error:

    /home/ntms/SampleHelloWorld/mainwindow.cpp:2: In file included from ../SampleHelloWorld/mainwindow.cpp:2:0:
    /home/ntms/SampleHelloWorld/ui_mainwindow.h:13: error: QtGui/QAction: No such file or directory
     #include <QtGui/QAction>
                             ^

    In terminal:

    ntms@ubuntu:~$ source /home/ntms/ti-sdk-am37x-evm-06.00.00.00/linux-devkit/environment-setup
    [linux-devkit]:~> /opt/Qt5.5.1/Tools/QtCreator/bin/qtcreator
    QByteArray ProjectExplorer::runGcc(const Utils::FileName&, const QStringList&, const QStringList&): "/home/ntms/ti-sdk-am37x-evm-06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf-gcc" "-xc++ -E -dM -" returned exit code 127: "/home/ntms/ti-sdk-am37x-evm-06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory\n"
    QByteArray ProjectExplorer::runGcc(const Utils::FileName&, const QStringList&, const QStringList&): "/home/ntms/ti-sdk-am37x-evm-06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf-gcc" "-dumpmachine" returned exit code 127: "/home/ntms/ti-sdk-am37x-evm-06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory\n"



    And here is my QT mainwindow.cpp:

    #include "mainwindow.h"
    #include "ui_mainwindow.h"

    MainWindow::MainWindow(QWidget *parent) :
        QMainWindow(parent),
        ui(new Ui::MainWindow)
    {
        ui->setupUi(this);
        ui->labelHelloWorld->setText("Hello World!");
    }

    MainWindow::~MainWindow()
    {
        delete ui;
    }

    What else?

  • You need to install lib32stdc++6

    ntms@ubuntu:~$ sudo apt-get install lib32stdc++6

    Please, also check this Ubuntu 64-bit support page article:
    processors.wiki.ti.com/.../Sitara_Linux_SDK_64_Bit_Ubuntu_Support

  • Thank you Kemal,

    I did. Here it is:

    ntms@ubuntu:~$ uname -a
    Linux ubuntu 3.19.0-33-generic #38~14.04.1-Ubuntu SMP Fri Nov 6 18:17:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
    ntms@ubuntu:~$ sudo apt-get install libc6:i386
    [sudo] password for ntms:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    libc6:i386 is already the newest version.
    libc6:i386 set to manually installed.
    0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
    ntms@ubuntu:~$

    Can you also tell me what I have to do now?
    Kind Regards
  • Could you post the output of this command?
    /home/ntms/ti-sdk-am37x-evm-06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -v