Hi,
When I was testing the project, CMake ignored the extra path in the command line. How to solve this problem?
Hi,
When I was testing the project, CMake ignored the extra path in the command line. How to solve this problem?
Hi,
The command you use looks good, and I notice that the path in the error message ends with ".../prj" and not ."../prj.conf", which is what you seemingly provide. And along with the "Ignoring extra path from command line" warning, this indicates to mee that there is a whitespace character there which we cannot see. Can you type the path again and ensure that it actually is "prj.conf"? You can also use "" arund it so that it is -DCONF_FILE="prj.conf", but it should not be needed (and also will not help if you have an invisible white space character there).
Hi,
The command you use looks good, and I notice that the path in the error message ends with ".../prj" and not ."../prj.conf", which is what you seemingly provide. And along with the "Ignoring extra path from command line" warning, this indicates to mee that there is a whitespace character there which we cannot see. Can you type the path again and ensure that it actually is "prj.conf"? You can also use "" arund it so that it is -DCONF_FILE="prj.conf", but it should not be needed (and also will not help if you have an invisible white space character there).
Hi,
I tested it.The compilation command does add ""and it is successful.
I referred to it here before. thanks for pointing out the problem.