I am having a problem compiling a stand-alone program that I wrote in MATLAB. The Engine of this file is a MATLAB function that calls a bunch of other files. I used the following MATLAB compiling command to create a stand-alone executable:
mcc -t -B sgl filenames.m
I believe I have the C Math Library, C Graphics Library, and other MATLAB libraries installed. However, I keep receiving the following error message:
undefined reference to '_mclMainhg'
Best Answer