When I use Real-Time Workshop to generate C++ code, I receive the following build error:
The specified Real-Time Workshop target is configured to generate C++, but the C-only compiler, LCC, is the default compiler. To specify a C++ compiler, enter 'mex -setup' at the command prompt. To generate C code, click (Open) to open the Configuration Parameters dialog and set the target language to C.
I do not have a C++ compiler on my machine. My intent is to transfer the generated code to a different computer for compilation with other hand-written code. Why is a compiler required to just generate C++ code.
Best Answer