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. Qt Creator - Error 1 status when building
Forum Updated to NodeBB v4.3 + New Features

Qt Creator - Error 1 status when building

Scheduled Pinned Locked Moved Solved Mobile and Embedded
8 Posts 3 Posters 6.7k Views 1 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.
  • embdevE Offline
    embdevE Offline
    embdev
    wrote on last edited by
    #1

    Dear fellow coders, I encounter an error when building and cross-compiling for my embedded Linux.:

    tlv320aic31.o Error 1

    Does this error means Qt is unable to find my object file for the build process?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you show the compile log before you get that error ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      embdevE 1 Reply Last reply
      0
      • embdevE Offline
        embdevE Offline
        embdev
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          Can you show the compile log before you get that error ?

          embdevE Offline
          embdevE Offline
          embdev
          wrote on last edited by embdev
          #4

          @SGaist this is the compile output:

          From what I see, there's some error in obtaining my object file. From Qt standpoint, do you think it's the missing object file that is required for this make process? As from my tlv320aic31 folder, the object file is missing and i'm still trying to resolve that portion, as it's pertaining to my embedded Linux target itself.

          11:13:43: Running steps for project VDEC_test...
          11:13:43: Configuration unchanged, skipping qmake step.
          11:13:44: Starting: "/usr/bin/make"
          /home/aa/Hi3536_SDK_V2.0.4.0/v1_QtEmbedded-4.8.6/bin/qmake -spec ../../v1_QtEmbedded-4.8.6/mkspecs/qws/linux-hisiv400-arm-g++ -o Makefile ../VDEC_test/VDEC_test.pro
          arm-hisiv400-linux-gcc -c -pipe -O2 -Wall -W -I../../v1_QtEmbedded-4.8.6/mkspecs/qws/linux-hisiv400-arm-g++ -I../VDEC_test -I../../mpp_single/sample/common -I../../mpp_single/include -I../../mpp_single/extdrv/tlv320aic31 -I/opt/hisi-linux/x86-arm/arm-hisiv400-linux/target/usr/include -I../../mpp_single/include -I../../mpp_single/include -I../../mpp_single/include -I../../mpp_single/include -I../../mpp_single/include -I../../mpp_single/include -I. -I../VDEC_test -I. -o tlv320aic31.o ../../mpp_single/extdrv/tlv320aic31/tlv320aic31.c

          cc1: out of memory allocating 3355443200 bytes after a total of 339968 bytes
          Makefile:544: recipe for target 'tlv320aic31.o' failed
          make: *** [tlv320aic31.o] Error 1
          11:13:44: The process "/usr/bin/make" exited with code 2.
          Error while building/deploying project VDEC_test (kit: HI3536 Qt4.8)
          When executing step "Make"
          11:13:44: Elapsed time: 00:00.

          jsulmJ 1 Reply Last reply
          0
          • embdevE embdev

            @SGaist this is the compile output:

            From what I see, there's some error in obtaining my object file. From Qt standpoint, do you think it's the missing object file that is required for this make process? As from my tlv320aic31 folder, the object file is missing and i'm still trying to resolve that portion, as it's pertaining to my embedded Linux target itself.

            11:13:43: Running steps for project VDEC_test...
            11:13:43: Configuration unchanged, skipping qmake step.
            11:13:44: Starting: "/usr/bin/make"
            /home/aa/Hi3536_SDK_V2.0.4.0/v1_QtEmbedded-4.8.6/bin/qmake -spec ../../v1_QtEmbedded-4.8.6/mkspecs/qws/linux-hisiv400-arm-g++ -o Makefile ../VDEC_test/VDEC_test.pro
            arm-hisiv400-linux-gcc -c -pipe -O2 -Wall -W -I../../v1_QtEmbedded-4.8.6/mkspecs/qws/linux-hisiv400-arm-g++ -I../VDEC_test -I../../mpp_single/sample/common -I../../mpp_single/include -I../../mpp_single/extdrv/tlv320aic31 -I/opt/hisi-linux/x86-arm/arm-hisiv400-linux/target/usr/include -I../../mpp_single/include -I../../mpp_single/include -I../../mpp_single/include -I../../mpp_single/include -I../../mpp_single/include -I../../mpp_single/include -I. -I../VDEC_test -I. -o tlv320aic31.o ../../mpp_single/extdrv/tlv320aic31/tlv320aic31.c

            cc1: out of memory allocating 3355443200 bytes after a total of 339968 bytes
            Makefile:544: recipe for target 'tlv320aic31.o' failed
            make: *** [tlv320aic31.o] Error 1
            11:13:44: The process "/usr/bin/make" exited with code 2.
            Error while building/deploying project VDEC_test (kit: HI3536 Qt4.8)
            When executing step "Make"
            11:13:44: Elapsed time: 00:00.

            jsulmJ Online
            jsulmJ Online
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @embdev said in Qt Creator - Error 1 status when building:

            cc1: out of memory allocating 3355443200 bytes after a total of 339968 bytes

            The compiler fails to allocate more than 3GB of RAM:

            cc1: out of memory allocating 3355443200 bytes after a total of 339968 bytes
            

            This is strange. How much RAM does your PC have? Is there enough free RAM?

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

            embdevE 1 Reply Last reply
            0
            • jsulmJ jsulm

              @embdev said in Qt Creator - Error 1 status when building:

              cc1: out of memory allocating 3355443200 bytes after a total of 339968 bytes

              The compiler fails to allocate more than 3GB of RAM:

              cc1: out of memory allocating 3355443200 bytes after a total of 339968 bytes
              

              This is strange. How much RAM does your PC have? Is there enough free RAM?

              embdevE Offline
              embdevE Offline
              embdev
              wrote on last edited by embdev
              #6

              @jsulm i'm running Qt Creator 4.1.0 in Ubuntu via Virtualbox machine. I've allocated 7 GB worth of memory to 64-bit Ubuntu (Virtualbox) so should be sufficient. I've also tried allocating 10 GB memory but also same problem.

              I did some quick research that it could be due to source code type need to be converted to standard non-Unicode encoding (Click here.) Do you think it could be the source of the problem? I'm still trying to make sense / figure out the source file type if it's possible to convert to another type.

              jsulmJ 1 Reply Last reply
              0
              • embdevE embdev

                @jsulm i'm running Qt Creator 4.1.0 in Ubuntu via Virtualbox machine. I've allocated 7 GB worth of memory to 64-bit Ubuntu (Virtualbox) so should be sufficient. I've also tried allocating 10 GB memory but also same problem.

                I did some quick research that it could be due to source code type need to be converted to standard non-Unicode encoding (Click here.) Do you think it could be the source of the problem? I'm still trying to make sense / figure out the source file type if it's possible to convert to another type.

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

                @embdev Could be a compiler bug.

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

                embdevE 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @embdev Could be a compiler bug.

                  embdevE Offline
                  embdevE Offline
                  embdev
                  wrote on last edited by
                  #8

                  @jsulm it's kind of odd, anyway I recreated the a project file again and this error seems to be gone.

                  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