Makefile error in QT "Makefile Error 3"
-
Hi I recently completed my project I was working on but have ran into a error at last second when building the program. It says "[Makefile:273: Makefile] Error 3" Here is a screenshot of my .pro file.
Is there anything I'm missing? Thank you for any help.
-
Hi I recently completed my project I was working on but have ran into a error at last second when building the program. It says "[Makefile:273: Makefile] Error 3" Here is a screenshot of my .pro file.
Is there anything I'm missing? Thank you for any help.
@IsaacPrkr
Hi.Maybe this link can help you:
https://stackoverflow.com/questions/35190802/makefile-error-3
It seems your INCLUDEPATH is wrong
-
@IsaacPrkr
Hi.Maybe this link can help you:
https://stackoverflow.com/questions/35190802/makefile-error-3
It seems your INCLUDEPATH is wrong
-
@CP71 Hi thank you for the link, I'm very new to QT and not really sure what changes I need to make I know its the include path but I'm not sure what I need to put in that line of code.
You are missing the \ characters in your INCLUDEPATH (see image in red) and more, it seems you have a strange character after data/nmea
-
You are missing the \ characters in your INCLUDEPATH (see image in red) and more, it seems you have a strange character after data/nmea
-
@IsaacPrkr Yes, but don't put a trailing
\
after the last one. -
@IsaacPrkr Yes, but don't put a trailing
\
after the last one. -
Hi,
Your SOURCES variables contains non C++ files.
-
@JonB Hi, I've done that and ran it, it created the new file outside of the project file. But now I get these errors.
@IsaacPrkr
From SOURCES move all files that are not cpp to OTHER_FILEOTHER_FILES += \
$$PWD/data/NMEA/gga_rmc-1.log \
$$PWD/data/NMEA/gga_rmc-2.log -
@IsaacPrkr
From SOURCES move all files that are not cpp to OTHER_FILEOTHER_FILES += \
$$PWD/data/NMEA/gga_rmc-1.log \
$$PWD/data/NMEA/gga_rmc-2.log -
I'm not actually sure If I'm importing the project file correctly I clone the repository of a file named gps from my friend, I then go into qtcreator - file - new file or project - import project - import as qmake project - i choose the file i cloned - select all the files in file selection - and then for project management i just click finish. The repository now already contains a .pro file which is that one my friend has now but I dont know how to import a project without overwriting that one if that makes sense. Cause my friend says that one has no errors for him.
-
Why don't you just open the project ?
-
@CP71 So like this?
Also my friend has been working on another .pro file himself that looks like this.
I'm not sure but we somehow have .pro files in the project file.
@IsaacPrkr
In first image you have missed + in INCLUDEPATH:INCLUDEPATH += \
You must remove the .PRO file from its self