Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Error while building/deploying project qgroundcontrol (kit: Desktop Qt 5.14.2 MSVC2017 64bit) When executing step "Make"
Forum Updated to NodeBB v4.3 + New Features

Error while building/deploying project qgroundcontrol (kit: Desktop Qt 5.14.2 MSVC2017 64bit) When executing step "Make"

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
20 Posts 8 Posters 2.9k 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.
  • SGaistS SGaist

    Hi,

    Are you sure you cloned the repository properly ?

    M Offline
    M Offline
    Mc6bullet
    wrote on last edited by
    #4

    @SGaist I cloned repository from New project->Import project->git clone it is right?

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

      There are submodules to clone as well. You should check whether it was done.

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

      M 1 Reply Last reply
      0
      • SGaistS SGaist

        There are submodules to clone as well. You should check whether it was done.

        M Offline
        M Offline
        Mc6bullet
        wrote on last edited by
        #6

        @SGaist That is solve but now new error is coming
        LINK : fatal error LNK1181: cannot open input file 'obj\QGCMapEngine.obj'

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

          I would start with nuking the build folder to properly start from scratch.

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

          1 Reply Last reply
          0
          • B Offline
            B Offline
            Brito_btw
            wrote on last edited by Brito_btw
            #8

            I've also encountered this problem in Qt 5.15.2 MSVC2019 64bit and I can not find that your answers still work. Do u have any other possible solution? @SGaist

            SGaistS 1 Reply Last reply
            0
            • B Brito_btw

              I've also encountered this problem in Qt 5.15.2 MSVC2019 64bit and I can not find that your answers still work. Do u have any other possible solution? @SGaist

              SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #9

              @Brito_btw hi and welcome to devnet,

              Can you give more information about what exactly is failing for you ?
              With which project ?

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

              1 Reply Last reply
              0
              • B Offline
                B Offline
                Brito_btw
                wrote on last edited by
                #10

                I'm trying to compile the QGroundcontrol project which I got from this link: https://github.com/mavlink/qgroundcontrol

                I've updated the submodules and used WSL to do all the command but I just can't build the project.

                Same error appers : LNK1104: cannot open file 'QGCMapEngine.obj'

                Any ideas?

                1 Reply Last reply
                0
                • JoeCFDJ Offline
                  JoeCFDJ Offline
                  JoeCFD
                  wrote on last edited by JoeCFD
                  #11

                  @Brito_btw said in Error while building/deploying project qgroundcontrol (kit: Desktop Qt 5.14.2 MSVC2017 64bit) When executing step "Make":

                  'QGCMapEngine.

                  The file is here. Check yours to see if it is available.
                  src/QtLocationPlugin/QGCMapEngine.cpp

                  if yes, some build flag is missing and go check cmake or pro file.

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    Brito_btw
                    wrote on last edited by
                    #12

                    OK I fixed the LNK1104 issue but now i get the C2220 error one a single line

                    7e53c422-3031-4e29-ab07-6e43e00a76d6-image.png

                    I've tried to rewrite this line (which was suggested on another thread) but it still happens this same thing.

                    T 1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #13
                      float testvalue = 0.87f;
                      

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

                      1 Reply Last reply
                      1
                      • B Offline
                        B Offline
                        Brito_btw
                        wrote on last edited by
                        #14

                        THANK YOOOOOOOUUUU

                        It worked perfectly.

                        1 Reply Last reply
                        0
                        • B Brito_btw

                          OK I fixed the LNK1104 issue but now i get the C2220 error one a single line

                          7e53c422-3031-4e29-ab07-6e43e00a76d6-image.png

                          I've tried to rewrite this line (which was suggested on another thread) but it still happens this same thing.

                          T Offline
                          T Offline
                          TheBigKam
                          wrote on last edited by
                          #15

                          @Brito_btw Hi.
                          Could you please show me how you fixed the LNK1104 error?
                          I have been struggling to do so for quite some time now. I couldn't solve it with the explanation from JoeCFD.

                          jsulmJ 1 Reply Last reply
                          0
                          • T TheBigKam

                            @Brito_btw Hi.
                            Could you please show me how you fixed the LNK1104 error?
                            I have been struggling to do so for quite some time now. I couldn't solve it with the explanation from JoeCFD.

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

                            @TheBigKam said in Error while building/deploying project qgroundcontrol (kit: Desktop Qt 5.14.2 MSVC2017 64bit) When executing step "Make":

                            Could you please show me how you fixed the LNK1104 error?

                            @SGaist already did...

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

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              Alice12
                              wrote on last edited by
                              #17

                              Hi friends. I need your help. I would be very happy if you could help me.
                              Qt 5.15.2 -- MSVC 2019-- Error 1104 pops up. Cannot find QGCMapEngine.obj file. I've read the solutions you wrote, but I don't know how to do it. I cannot find the QGCMapEngine.obj file inside the .pro file and inside the cmake files. thanks in advance

                              1 Reply Last reply
                              0
                              • U Offline
                                U Offline
                                Uby_Naba
                                wrote on last edited by
                                #18

                                hi I have encounter the same problem can u guys help to solve it i would be grateful . @Brito_btw @SGaist
                                I don't which .pro file to edit and what to build flag to add thank you for help

                                SGaistS 1 Reply Last reply
                                0
                                • U Uby_Naba

                                  hi I have encounter the same problem can u guys help to solve it i would be grateful . @Brito_btw @SGaist
                                  I don't which .pro file to edit and what to build flag to add thank you for help

                                  SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #19

                                  @Uby_Naba did you check whether the source file is present as @JoeCFD suggested ?

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

                                  1 Reply Last reply
                                  0
                                  • U Offline
                                    U Offline
                                    Uby_Naba
                                    wrote on last edited by Uby_Naba
                                    #20

                                    hi thank u for reply @SGaist
                                    yes i have checked the file is present
                                    and also check the QtLocationPlugin.pri file for
                                    SOURCES +=
                                    $$PWD/QGCMapEngine.cpp
                                    is present
                                    i just don't know what build flag is missing

                                    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