REPOST Linker problem
-
I do not believe this
I have removed "do not post warning messages " and have no more linker issue.
I have two major problems and I like to get some serious help .
( please read the entire post and ask questions before going off the subject - which is to solve linker problem)I am getting INTERMITTENT messages - they are sort of contradicting each other . And sort of funny, if it was not serious.
The file was not used , so the linking was not done.
Then the file was not found at all.:-1: warning: QMAKE_CXXFLAGS_WARN_OFF: linker input file unused because linking not done
:-1: error: error: QMAKE_CXXFLAGS_WARN_OFF: linker input file not found: No such file or directory
The linker has to find its "input file" then use it - as simple as that.
The above simply states that the "input file " is missing (for linker to use it ) , but only sometime...
Is there a compiler / linker option I am missing ?
I have :subdirs" project and ONLY the main /executable project is failing this way . Any other suboroject compile / run as expected.
I am going to "strip off " the subprojects - if that is an issue , and find which one is causing the problem.
Thanks
-
@mchinand said in REPOST Linker problem:
Please paste more of the compiler/linker output, not just the error line.
I am NOT getting any other output , you could assume I would posted it if I had one which would help. Duh..
(This "let's chat ", is getting out of hand. )Give me some credit , work with what I and you have , and address the issue.
PLEASE -
@mchinand thaqt post turned into sermon telling me why I need to fix my warnings., hence THIS REPOST.
I do not need to be told how to code , I was asking for solution to THIS issue.
Apparently it will remain unresolved....
Removing the "ignore warnings " (from .pro file ) is just a hack, not a solution. -
I gave you that "sermon" because you failed to describe the behaviour you were trying to achieve, leaving the forum to guess what you were doing. I made an educated guess which apparently you thought was beneath you. However, rather than actually engage with attacking the problem by providing adequate information you simply went quiet and started another thread. This thread still contains inadequate information.
Give me some credit ,
You earn credit.
work with what I and you have ,
Which as has been pointed out at least twice is inadequate to even start.
and address the issue.
You first. Post your PRO file. Tell us what environment you are working in. Post the entire compiler linker output.