The error "No rule to make target" is typically thrown by the make/gmake build automation tool because it can't find the instructions on how to create a particular file or target.
Based on the error log shared, it is my understanding that there are several compilation errors in the function named ‘version1_RRTPlanner_planPath.constpro’. I am assuming that this function is in the file ‘autonomouscodegen_dubins.cpp’ and the tool is unable to locate the file due to the compilation errors.
Please refer to the following troubleshooting steps to resolve the compilation errors received:
- The error being reported indicates that ‘x_data’ is not being initialized previously. From the error message it seems like the variable was only declared and not initialized
- Similarly, the variables ‘edgeId_data’ and ‘parentId_data’ are also not being initialized.
If the make error persists after resolving the compilation errors, then kindly refer to the following MATLAB Answer threads as they provide valuable insights to resolving this issue:
- https://www.mathworks.com/matlabcentral/answers/814790-why-do-i-get-the-build-error-no-rule-to-make-target
- https://www.mathworks.com/matlabcentral/answers/1748725-no-rule-to-make-target-error
I hope this helps!