I'm trying to compile a ROS node that calls functions from a dynamic c++ library created using MatLab's mcc compiler. This requires me to compile against the library I wrote as well as the matlab mcl libraries which allow mcc'd libraries to be deployed.
The .so and .h files for the library I wrote are in my src folder, and appear to be linking to the node code correctly. However, I receive the error message "fatal error: mclmcrrt.h: No such file or directory" when running make.
mclmcrrt.h is the primary header file for mcc library deployment, located at /opt/matlab/extern/include/. How do I indicate to cmake that it can find the required files at this location?
Post score: 1