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.

Error When Build Matrix GUI on CCSv5

Other Parts Discussed in Thread: AM3517

 

Has everyone entercounter the same question?

When I set configuration of make builder as http://processors.wiki.ti.com/index.php/How_to_Build_the_Matrix_GUI#Select_the_Build_Configuration,I get an error as image as below if I click OK.That  is :

java.lang.illegalArgumentExcept:Index out of bounds

Reason:

Internal Error

And before this, I have instlled  ti-sdk-am3517-evm-05.02.00.00-Linux-x86-Install as http://processors.wiki.ti.com/index.php/Installing_the_AM37x_SDK on Ubuntu10.04.2.

If I click Cancel and still build the project,I get another error as below. I don't know why. Could anyone help me? 

 

  • Hi Jianhua,

    Yes I see this issue. I'm investigating this now and hope to have an answer back to you soon.

    I was able to ignore this error message and build anyway.  You are saying you can not build at all?

     

  • Jianhua,

    I found if you ignore the failing step, you can still build the Matrix GUI. When you ignore that step, then it builds both the debug and release versions. Until that bug is fixed, a better option for you may be to build from the command line.

    On your Ubunu Host from the command line.

    cd /home/user/ti-sdk-am37x-evm-05.02.00.00/example-applications/matrix-gui-e-1.3

    make -f Makefile.build clean

    make -f Makefile.build debug

    or 

    make -f Makefile.build release

    then

    make -f Makefile.build install_debug

    or for release

    make -f Makefile.build install

  • Hi , Jeff

    First, I'am very sorry to reply this question now, however, there was still an error with the command line.

    It's Ok when I used the following two commands,

    cd /home/jiehao/ti-sdk-am3517-evm-05.02.00.00/example-applications/matrix-gui-e-1.3/

    make -f make -f Makefile.build clean

    And it's only a warning when I used the command as below:
    make -f Makefile.build release

    So far it went well, But an error occured  when I executed make -f Makefile.build install as follows:

    make -f Makefile.Debug
    make[2]: Entering directory `/home/jiehao/ti-sdk-am3517-evm-05.02.00.00/example-applications/matrix-gui-e-1.3'
    make[2]: Nothing to be done for `first'.
    make[2]: Leaving directory `/home/jiehao/ti-sdk-am3517-evm-05.02.00.00/example-applications/matrix-gui-e-1.3'
    make[1]: Leaving directory `/home/jiehao/ti-sdk-am3517-evm-05.02.00.00/example-applications/matrix-gui-e-1.3'
    install: cannot remove `/home/jiehao/ti-sdk-am3517-evm-05.02.00.00/targetNFS/usr/bin/matrix_guiE': Permission denied
    matrix_guiE debug version installed.
    cp am3517-evm/bin/* /home/jiehao/ti-sdk-am3517-evm-05.02.00.00/targetNFS/usr/bin/
    cp: cannot stat `am3517-evm/bin/*': No such file or directory
    make: *** [install_debug] Error 1

    And the result is same if I'm instead of debug and sudo. I check file Makefile.build and find where is the error ,That is

    cp ${PLATFORM}/bin/* ${DESTDIR}/usr/bin/

      In fact, I did find am3517/bin in the current directory(matrix-gui-e-1.3/),I don't know the reason of the error!

  • Jianhua,

    That issue is a known issue found in the release notes.  http://processors.wiki.ti.com/index.php/Sitara_SDK_5.02_Release_Notes

    You can find that issue: SDK_BTS_MATRIX:60

    You can fix that issue by replacing a line in your Makefile.build:

     

    Replace:

    PLATFORM ?=

    with
    PLATFORM = am3517

  • Hi ,Jeff

    It's OK now! Thank you!

  • when I first make -f Makefile.build clean,it's no problem(also Interal Error),but when I do what  you says, make -f Makefile.build clean has problem:

    rm -f *~ core *.core rm -f matrix_gui rm -f Makefile.Release make[2]: Leaving directory `/home/ajb0565/ti-sdk-am37x-evm-4.0.1.0/example-applications/matrix-gui-e-1.3' make -f Makefile.Debug distclean make[2]: Entering directory `/home/ajb0565/ti-sdk-am37x-evm-4.0.1.0/example-applications/matrix-gui-e-1.3' rm -f debug/moc_mainwindow.cpp debug/moc_buttonfactory.cpp debug/moc_buttonlaunch.cpp debug/moc_customstyle.cpp debug/moc_menupage.cpp debug/moc_osdmanager.cpp debug/moc_matrixcontrol.cpp rm -f debug/main.o debug/mainwindow.o debug/buttonfactory.o debug/buttonlaunch.o debug/customstyle.o debug/menupage.o debug/osdmanager.o debug/matrixcontrol.o debug/moc_mainwindow.o debug/moc_buttonfactory.o debug/moc_buttonlaunch.o debug/moc_customstyle.o debug/moc_menupage.o debug/moc_osdmanager.o debug/moc_matrixcontrol.o rm -f *~ core *.core rm -f matrix_gui rm -f Makefile.Debug make[2]: Leaving directory `/home/ajb0565/ti-sdk-am37x-evm-4.0.1.0/example-applications/matrix-gui-e-1.3' rm -f Makefile make[1]: Leaving directory `/home/ajb0565/ti-sdk-am37x-evm-4.0.1.0/example-applications/matrix-gui-e-1.3'

    Note:I have do it like you say