Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Ubuntu creator can not build
Qt 6.11 is out! See what's new in the release blog

Ubuntu creator can not build

Scheduled Pinned Locked Moved General and Desktop
9 Posts 4 Posters 3.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.
  • P Offline
    P Offline
    pmjz
    wrote on last edited by
    #1

    looks like including relative file isnot allowable, any ideas

    @16:22:01: Running build steps for project units...
    16:22:01: Configuration unchanged, skipping qmake step.
    16:22:01: Configuration unchanged, skipping qmake step.
    16:22:01: Configuration unchanged, skipping qmake step.
    16:22:01: Configuration unchanged, skipping qmake step.
    16:22:01: Configuration unchanged, skipping qmake step.
    16:22:01: Configuration unchanged, skipping qmake step.
    16:22:01: Starting: "/usr/bin/make" -w
    16:22:01: Starting: "/usr/bin/make" -w
    16:22:01: Starting: "/usr/bin/make" -w
    16:22:01: Starting: "/usr/bin/make" -w
    16:22:01: Starting: "/usr/bin/make" -w
    16:22:01: Starting: "/usr/bin/make" -w
    make: Entering directory /home/administrator/QtProjects/Source/Trunk/units-build-desktop' make: Entering directory /home/administrator/QtProjects/Source/Trunk/units-build-desktop'
    make: Entering directory /home/administrator/QtProjects/Source/Trunk/units-build-desktop' make: Entering directory /home/administrator/QtProjects/Source/Trunk/units-build-desktop'
    make: Entering directory /home/administrator/QtProjects/Source/Trunk/units-build-desktop' make: Entering directory /home/administrator/QtProjects/Source/Trunk/units-build-desktop'
    g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DUNITS_LIBRARY -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.2/mkspecs/linux-g++ -I../units -I/usr/local/Trolltech/Qt-4.8.2/include/QtCore -I/usr/local/Trolltech/Qt-4.8.2/include -I. -I../units -I. -o unit.o ../units/unit.cpp
    g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DUNITS_LIBRARY -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.2/mkspecs/linux-g++ -I../units -I/usr/local/Trolltech/Qt-4.8.2/include/QtCore -I/usr/local/Trolltech/Qt-4.8.2/include -I. -I../units -I. -o unit.o ../units/unit.cpp
    g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DUNITS_LIBRARY -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.2/mkspecs/linux-g++ -I../units -I/usr/local/Trolltech/Qt-4.8.2/include/QtCore -I/usr/local/Trolltech/Qt-4.8.2/include -I. -I../units -I. -o unit.o ../units/unit.cpp
    g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DUNITS_LIBRARY -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.2/mkspecs/linux-g++ -I../units -I/usr/local/Trolltech/Qt-4.8.2/include/QtCore -I/usr/local/Trolltech/Qt-4.8.2/include -I. -I../units -I. -o unit.o ../units/unit.cpp
    g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DUNITS_LIBRARY -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.2/mkspecs/linux-g++ -I../units -I/usr/local/Trolltech/Qt-4.8.2/include/QtCore -I/usr/local/Trolltech/Qt-4.8.2/include -I. -I../units -I. -o unit.o ../units/unit.cpp
    g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DUNITS_LIBRARY -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.2/mkspecs/linux-g++ -I../units -I/usr/local/Trolltech/Qt-4.8.2/include/QtCore -I/usr/local/Trolltech/Qt-4.8.2/include -I. -I../units -I. -o unit.o ../units/unit.cpp
    In file included from ../units/unitformat.h:37:0,
    In file included from ../units/unitformat.h:37:0,
    In file included from ../units/unitformat.h:37:0,
    In file included from ../units/unitformat.h:37:0,
    In file included from ../units/unitformat.h:37:0,
    In file included from ../units/unitformat.h:37:0,
    from ../units/unit.cpp:6:
    from ../units/unit.cpp:6:
    from ../units/unit.cpp:6:
    from ../units/unit.cpp:6:
    from ../units/unit.cpp:6:
    from ../units/unit.cpp:6:
    ../units/si.h:33:18: fatal error: Vector: No such file or directory
    ../units/si.h:33:18: fatal error: Vector: No such file or directory
    ../units/si.h:33:18: fatal error: Vector: No such file or directory
    ../units/si.h:33:18: fatal error: Vector: No such file or directory
    ../units/si.h:33:18: fatal error: Vector: No such file or directory
    ../units/si.h:33:18: fatal error: Vector: No such file or directory
    compilation terminated.
    compilation terminated.
    compilation terminated.
    compilation terminated.
    compilation terminated.
    compilation terminated.
    make: Leaving directory /home/administrator/QtProjects/Source/Trunk/units-build-desktop' make: Leaving directory /home/administrator/QtProjects/Source/Trunk/units-build-desktop'
    make: Leaving directory /home/administrator/QtProjects/Source/Trunk/units-build-desktop' make: Leaving directory /home/administrator/QtProjects/Source/Trunk/units-build-desktop'
    make: Leaving directory /home/administrator/QtProjects/Source/Trunk/units-build-desktop' make: Leaving directory /home/administrator/QtProjects/Source/Trunk/units-build-desktop'
    make: *** [unit.o] Error 1
    make: *** [unit.o] Error 1
    make: *** [unit.o] Error 1
    make: *** [unit.o] Error 1
    make: *** [unit.o] Error 1
    make: *** [unit.o] Error 1
    16:22:02: The process "/usr/bin/make" exited with code 2.
    16:22:02: The process "/usr/bin/make" exited with code 2.
    16:22:02: The process "/usr/bin/make" exited with code 2.
    16:22:02: The process "/usr/bin/make" exited with code 2.
    16:22:02: The process "/usr/bin/make" exited with code 2.
    16:22:02: The process "/usr/bin/make" exited with code 2.
    Error while building project units (target: Desktop)
    When executing build step 'Make'@

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dbzhang800
      wrote on last edited by
      #2

      Is
      @
      Vector
      @
      a header file created by yourself?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MuldeR
        wrote on last edited by
        #3

        There is a <vector> header file in the C++ standard library.

        However that <vector> starts with a lower-case character. On Windows upper or lower case doesn't matter in file names, but on Linux it does. May this be the problem?

        My OpenSource software at: http://muldersoft.com/

        Qt v4.8.6 MSVC 2013, static/shared: http://goo.gl/BXqhrS

        Go visit the coop: http://youtu.be/Jay...

        1 Reply Last reply
        0
        • P Offline
          P Offline
          pmjz
          wrote on last edited by
          #4

          [quote author="1+1=2" date="1335911723"]Is
          @
          Vector
          @
          a header file created by yourself?[/quote]

          nope, and also I check those header files and its exactly exist there

          1 Reply Last reply
          0
          • P Offline
            P Offline
            pmjz
            wrote on last edited by
            #5

            [quote author="MuldeR" date="1335916952"]There is a <vector> header file in the C++ standard library.

            However that <vector> starts with a lower-case character. On Windows upper or lower case doesn't matter in file names, but on Linux it does. May this be the problem?[/quote]

            give me more detail please

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dbzhang800
              wrote on last edited by
              #6

              [quote author="pmjz" date="1335923547"]
              [quote author="1+1=2" date="1335911723"]Is
              @
              Vector
              @
              a header file created by yourself?[/quote]

              nope, and also I check those header files and its exactly exist there[/quote]

              Can you tell us where is the header and which package provide it?


              I don't think a serious tool will provide such a header file.

              1 Reply Last reply
              0
              • P Offline
                P Offline
                pmjz
                wrote on last edited by
                #7

                ok,simply, I have a package named units which includes all header files

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  There seems to be no file "Vector" in ../units. Please be aware that case matters on linux: if the file is called "vector", then '#include "Vector"' will fail. On windows that will work.

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    pmjz
                    wrote on last edited by
                    #9

                    you guys are right, changing to vector is working very well,thanks

                    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