Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Regarding porting for an embedded device

Regarding porting for an embedded device

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
25 Posts 4 Posters 6.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Naveen_DN Offline
    Naveen_DN Offline
    Naveen_D
    wrote on last edited by
    #1

    Hi all,

    I have a julius speech recognition code which i have used in Qt for desktop application. now i want to port julius to an embedded device. Since i am a beginner, i dont have much knowledge on how to port this for an embedded device.

    Can anyone please help me or guide me in this matter.

    Thanks

    Naveen_D

    jsulmJ 1 Reply Last reply
    0
    • Naveen_DN Naveen_D

      Hi all,

      I have a julius speech recognition code which i have used in Qt for desktop application. now i want to port julius to an embedded device. Since i am a beginner, i dont have much knowledge on how to port this for an embedded device.

      Can anyone please help me or guide me in this matter.

      Thanks

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Naveen_D What is this device?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      Naveen_DN 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Naveen_D What is this device?

        Naveen_DN Offline
        Naveen_DN Offline
        Naveen_D
        wrote on last edited by
        #3

        @jsulm thanks for the reply,
        i am trying with embedded boards like i-MX 6, jacinto.

        Naveen_D

        jsulmJ 1 Reply Last reply
        0
        • Naveen_DN Naveen_D

          @jsulm thanks for the reply,
          i am trying with embedded boards like i-MX 6, jacinto.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Naveen_D You need a sysroot and compiler for your target device. Then cross compile Qt for the device and then cross compile your app with that Qt version.
          Here you can see how it is done for RaspberryPi: http://wiki.qt.io/index.php?title=Raspberrypi_beginners_guide&redirect=no

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          Naveen_DN 2 Replies Last reply
          1
          • jsulmJ jsulm

            @Naveen_D You need a sysroot and compiler for your target device. Then cross compile Qt for the device and then cross compile your app with that Qt version.
            Here you can see how it is done for RaspberryPi: http://wiki.qt.io/index.php?title=Raspberrypi_beginners_guide&redirect=no

            Naveen_DN Offline
            Naveen_DN Offline
            Naveen_D
            wrote on last edited by
            #5

            @jsulm Sirji, if the boards are completely new, same procedure ?

            Naveen_D

            1 Reply Last reply
            0
            • jsulmJ jsulm

              @Naveen_D You need a sysroot and compiler for your target device. Then cross compile Qt for the device and then cross compile your app with that Qt version.
              Here you can see how it is done for RaspberryPi: http://wiki.qt.io/index.php?title=Raspberrypi_beginners_guide&redirect=no

              Naveen_DN Offline
              Naveen_DN Offline
              Naveen_D
              wrote on last edited by
              #6

              @jsulm

              You need a sysroot and compiler for your target device.

              Where can i get the sysroot and compiler for this device ?

              Naveen_D

              jsulmJ 1 Reply Last reply
              0
              • Naveen_DN Naveen_D

                @jsulm

                You need a sysroot and compiler for your target device.

                Where can i get the sysroot and compiler for this device ?

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Naveen_D Depends on the device. I don't know where to get it for your device.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • tomasz3dkT Offline
                  tomasz3dkT Offline
                  tomasz3dk
                  wrote on last edited by
                  #8

                  In most cases board manufacturers provide some sdk for their boards (toolchain, sysroot, etc). Probably you can download it from manufacturer website. I-mx6 processor is very popular, and there are many board based on this processor. What board do you use?

                  Naveen_DN 1 Reply Last reply
                  0
                  • tomasz3dkT tomasz3dk

                    In most cases board manufacturers provide some sdk for their boards (toolchain, sysroot, etc). Probably you can download it from manufacturer website. I-mx6 processor is very popular, and there are many board based on this processor. What board do you use?

                    Naveen_DN Offline
                    Naveen_DN Offline
                    Naveen_D
                    wrote on last edited by Naveen_D
                    #9

                    @tomasz3dk i am using i-MX 6 dual lite board

                    Naveen_D

                    1 Reply Last reply
                    0
                    • tomasz3dkT Offline
                      tomasz3dkT Offline
                      tomasz3dk
                      wrote on last edited by tomasz3dk
                      #10

                      It is a your design board based on this processor or bought from 3rd party manufacturer? This is important information, because if its your design board you will probably have to make your own rootfs, sdk etc. Yocto is in most cases best option for those purposes.

                      Naveen_DN 1 Reply Last reply
                      0
                      • tomasz3dkT tomasz3dk

                        It is a your design board based on this processor or bought from 3rd party manufacturer? This is important information, because if its your design board you will probably have to make your own rootfs, sdk etc. Yocto is in most cases best option for those purposes.

                        Naveen_DN Offline
                        Naveen_DN Offline
                        Naveen_D
                        wrote on last edited by
                        #11

                        @tomasz3dk its completely new board, bought from 3rd party manufacturer.

                        Naveen_D

                        tomasz3dkT 1 Reply Last reply
                        0
                        • Naveen_DN Naveen_D

                          @tomasz3dk its completely new board, bought from 3rd party manufacturer.

                          tomasz3dkT Offline
                          tomasz3dkT Offline
                          tomasz3dk
                          wrote on last edited by
                          #12

                          @Naveen_D So you can ask manufacturer about sdk for this board, if sdk is not provided ,you have to build your own.

                          Naveen_DN 1 Reply Last reply
                          0
                          • tomasz3dkT tomasz3dk

                            @Naveen_D So you can ask manufacturer about sdk for this board, if sdk is not provided ,you have to build your own.

                            Naveen_DN Offline
                            Naveen_DN Offline
                            Naveen_D
                            wrote on last edited by Naveen_D
                            #13

                            @tomasz3dk Okay sir, thanks for the information, i will check with them.

                            In case if i need to build the sdk, is there any procedure for this ?

                            Naveen_D

                            tomasz3dkT 1 Reply Last reply
                            0
                            • Naveen_DN Naveen_D

                              @tomasz3dk Okay sir, thanks for the information, i will check with them.

                              In case if i need to build the sdk, is there any procedure for this ?

                              tomasz3dkT Offline
                              tomasz3dkT Offline
                              tomasz3dk
                              wrote on last edited by
                              #14

                              @Naveen_D I think that Yocto is the best choice.

                              Naveen_DN 2 Replies Last reply
                              0
                              • tomasz3dkT tomasz3dk

                                @Naveen_D I think that Yocto is the best choice.

                                Naveen_DN Offline
                                Naveen_DN Offline
                                Naveen_D
                                wrote on last edited by
                                #15

                                @tomasz3dk ok thanks

                                Naveen_D

                                1 Reply Last reply
                                0
                                • tomasz3dkT tomasz3dk

                                  @Naveen_D I think that Yocto is the best choice.

                                  Naveen_DN Offline
                                  Naveen_DN Offline
                                  Naveen_D
                                  wrote on last edited by
                                  #16

                                  As suggested by @tomasz3dk i am trying with yocto....
                                  i have the tool chain, sysroot, debugger,compiler for qt 5.6.2 in that iMX-6 board. but when i try to build the sample example for qt and qml i get the following errors, can anyone please suggest me the possible solution, what i have to do further to make it work.

                                  error for qt example :
                                  g++ -o QtExample main.o exqamplewidget.o moc_exqamplewidget.o -lQt5Widgets -lQt5Gui -lQt5Core -lGLESv2 -lpthread

                                  /usr/bin/ld: cannot find -lQt5Widgets

                                  /usr/bin/ld: cannot find -lQt5Gui

                                  /usr/bin/ld: cannot find -lQt5Core

                                  /usr/bin/ld: cannot find -lGLESv2

                                  collect2: error: ld returned 1 exit status

                                  make: *** [QtExample] Error 1

                                  12:47:06: The process "/usr/bin/make" exited with code 2.

                                  Error while building/deploying project QtExample (kit: iMX-6)

                                  The kit iMX-6 has configuration issues which might be the root cause for this problem.

                                  When executing step "Make"

                                  12:47:06: Elapsed time: 00:00.

                                  for qml example :
                                  g++ -o QmlExample main.o qrc_qml.o -lQt5Quick -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lGLESv2 -lpthread

                                  /usr/bin/ld: cannot find -lQt5Quick

                                  /usr/bin/ld: cannot find -lQt5Gui

                                  /usr/bin/ld: cannot find -lQt5Qml

                                  /usr/bin/ld: cannot find -lQt5Network

                                  /usr/bin/ld: cannot find -lQt5Core

                                  /usr/bin/ld: cannot find -lGLESv2

                                  collect2: error: ld returned 1 exit status

                                  make: *** [QmlExample] Error 1

                                  12:48:55: The process "/usr/bin/make" exited with code 2.

                                  Error while building/deploying project QmlExample (kit: iMX-6)

                                  The kit iMX-6 has configuration issues which might be the root cause for this problem.

                                  When executing step "Make"

                                  12:48:55: Elapsed time: 00:02.

                                  Thanks

                                  Naveen_D

                                  jsulmJ tomasz3dkT 2 Replies Last reply
                                  0
                                  • Naveen_DN Naveen_D

                                    As suggested by @tomasz3dk i am trying with yocto....
                                    i have the tool chain, sysroot, debugger,compiler for qt 5.6.2 in that iMX-6 board. but when i try to build the sample example for qt and qml i get the following errors, can anyone please suggest me the possible solution, what i have to do further to make it work.

                                    error for qt example :
                                    g++ -o QtExample main.o exqamplewidget.o moc_exqamplewidget.o -lQt5Widgets -lQt5Gui -lQt5Core -lGLESv2 -lpthread

                                    /usr/bin/ld: cannot find -lQt5Widgets

                                    /usr/bin/ld: cannot find -lQt5Gui

                                    /usr/bin/ld: cannot find -lQt5Core

                                    /usr/bin/ld: cannot find -lGLESv2

                                    collect2: error: ld returned 1 exit status

                                    make: *** [QtExample] Error 1

                                    12:47:06: The process "/usr/bin/make" exited with code 2.

                                    Error while building/deploying project QtExample (kit: iMX-6)

                                    The kit iMX-6 has configuration issues which might be the root cause for this problem.

                                    When executing step "Make"

                                    12:47:06: Elapsed time: 00:00.

                                    for qml example :
                                    g++ -o QmlExample main.o qrc_qml.o -lQt5Quick -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lGLESv2 -lpthread

                                    /usr/bin/ld: cannot find -lQt5Quick

                                    /usr/bin/ld: cannot find -lQt5Gui

                                    /usr/bin/ld: cannot find -lQt5Qml

                                    /usr/bin/ld: cannot find -lQt5Network

                                    /usr/bin/ld: cannot find -lQt5Core

                                    /usr/bin/ld: cannot find -lGLESv2

                                    collect2: error: ld returned 1 exit status

                                    make: *** [QmlExample] Error 1

                                    12:48:55: The process "/usr/bin/make" exited with code 2.

                                    Error while building/deploying project QmlExample (kit: iMX-6)

                                    The kit iMX-6 has configuration issues which might be the root cause for this problem.

                                    When executing step "Make"

                                    12:48:55: Elapsed time: 00:02.

                                    Thanks

                                    jsulmJ Offline
                                    jsulmJ Offline
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #17

                                    @Naveen_D As the error message says you should check your iMX-6 kit. It looks like it is broken: all the needed libraries are missing. Please check your Kit: is the correct compiler set? Is the correct Qt version set? Are there any warning/errors in the Kit?
                                    g++, /usr/bin/ld and /usr/bin/make look like tools from your host PC not for your device.

                                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    Naveen_DN 1 Reply Last reply
                                    0
                                    • jsulmJ jsulm

                                      @Naveen_D As the error message says you should check your iMX-6 kit. It looks like it is broken: all the needed libraries are missing. Please check your Kit: is the correct compiler set? Is the correct Qt version set? Are there any warning/errors in the Kit?
                                      g++, /usr/bin/ld and /usr/bin/make look like tools from your host PC not for your device.

                                      Naveen_DN Offline
                                      Naveen_DN Offline
                                      Naveen_D
                                      wrote on last edited by
                                      #18

                                      @jsulm oh okay sir, will check with the kit.
                                      do i need to connect the board before building the project...?

                                      Naveen_D

                                      jsulmJ 1 Reply Last reply
                                      0
                                      • Naveen_DN Naveen_D

                                        @jsulm oh okay sir, will check with the kit.
                                        do i need to connect the board before building the project...?

                                        jsulmJ Offline
                                        jsulmJ Offline
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #19

                                        @Naveen_D If you have the sysroot on your host PC then no need to connect the device

                                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                                        1 Reply Last reply
                                        0
                                        • Naveen_DN Naveen_D

                                          As suggested by @tomasz3dk i am trying with yocto....
                                          i have the tool chain, sysroot, debugger,compiler for qt 5.6.2 in that iMX-6 board. but when i try to build the sample example for qt and qml i get the following errors, can anyone please suggest me the possible solution, what i have to do further to make it work.

                                          error for qt example :
                                          g++ -o QtExample main.o exqamplewidget.o moc_exqamplewidget.o -lQt5Widgets -lQt5Gui -lQt5Core -lGLESv2 -lpthread

                                          /usr/bin/ld: cannot find -lQt5Widgets

                                          /usr/bin/ld: cannot find -lQt5Gui

                                          /usr/bin/ld: cannot find -lQt5Core

                                          /usr/bin/ld: cannot find -lGLESv2

                                          collect2: error: ld returned 1 exit status

                                          make: *** [QtExample] Error 1

                                          12:47:06: The process "/usr/bin/make" exited with code 2.

                                          Error while building/deploying project QtExample (kit: iMX-6)

                                          The kit iMX-6 has configuration issues which might be the root cause for this problem.

                                          When executing step "Make"

                                          12:47:06: Elapsed time: 00:00.

                                          for qml example :
                                          g++ -o QmlExample main.o qrc_qml.o -lQt5Quick -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lGLESv2 -lpthread

                                          /usr/bin/ld: cannot find -lQt5Quick

                                          /usr/bin/ld: cannot find -lQt5Gui

                                          /usr/bin/ld: cannot find -lQt5Qml

                                          /usr/bin/ld: cannot find -lQt5Network

                                          /usr/bin/ld: cannot find -lQt5Core

                                          /usr/bin/ld: cannot find -lGLESv2

                                          collect2: error: ld returned 1 exit status

                                          make: *** [QmlExample] Error 1

                                          12:48:55: The process "/usr/bin/make" exited with code 2.

                                          Error while building/deploying project QmlExample (kit: iMX-6)

                                          The kit iMX-6 has configuration issues which might be the root cause for this problem.

                                          When executing step "Make"

                                          12:48:55: Elapsed time: 00:02.

                                          Thanks

                                          tomasz3dkT Offline
                                          tomasz3dkT Offline
                                          tomasz3dk
                                          wrote on last edited by tomasz3dk
                                          #20

                                          @Naveen_D It seems that you didn't set your iMX-6 kit properly. Look here. Btw you do not need connect your device to your computer, when you only crosscompile program for your device. It is necessary when you deploy program to device (by clicking "run" in qtcreator, of course before this you should set proper device for this kit).

                                          Naveen_DN 1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved