Error while building/deploying project qgroundcontrol (kit: Desktop Qt 5.14.2 MSVC2017 64bit) When executing step "Make"
-
I'm trying to build a project which is clone from git hub it's giving error. I try to solve but it can't? please help me to figure it out from this error.
link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /VERSION:0.0 /MANIFEST:embed /OUT:staging\QGroundControl.exe @C:\Users\ROHANK~1\AppData\Local\Temp\QGroundControl.exe.8616.521078.jom
LINK : fatal error LNK1104: cannot open file 'QGCMapEngine.obj'
jom: C:\Users\Rohan Katta\source\repos\mavlink\build-qgroundcontrol-Desktop_Qt_5_14_2_MSVC2017_64bit-Debug\Makefile [staging\QGroundControl.exe] Error 1104
22:09:52: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project qgroundcontrol (kit: Desktop Qt 5.14.2 MSVC2017 64bit)
When executing step "Make" -
Hi,
Are you sure you cloned the repository properly ?
-
There are submodules to clone as well. You should check whether it was done.
-
I would start with nuking the build folder to properly start from scratch.
-
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
@Brito_btw hi and welcome to devnet,
Can you give more information about what exactly is failing for you ?
With which project ? -
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?
-
@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.cppif yes, some build flag is missing and go check cmake or pro file.
-
float testvalue = 0.87f;
-
OK I fixed the LNK1104 issue but now i get the C2220 error one a single line
I've tried to rewrite this line (which was suggested on another thread) but it still happens this same thing.
@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. -
@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.@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...
-
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 -
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