Error : make failed with exit code 2

I'm trying to compile a hello world using mbeddr in MPS. During the compilation i'm getting the error as "make failed with exit code 2 for NewSolution.Main/ NewSolution.Main.main". I have tried installing different versions of cygwin, but still getting the same problem. Please help me in figuring out what the problem is and how to solve it. I'm using the MPS version MPS-135.39
0
2 comments
Did you try asking mbeddr support? This seems to be unrelated to MPS.

http://mbeddr.com/support
0
m trying to compile a hello world using mbeddr in MPS. During the compilation i'm getting the error as "make failed with exit code 2 for NewSolution.Main/ NewSolution.Main.main".



Hi Rajalakshmi,

finding the error is quite hard without some information about your environment. Therefore, can you please give us some information on these things:
  • is your code located in a single solution?
  • how do generate the code? -> using the context menu and invoking rebuild model?
  • do you have any errors (red markers) in your model?
  • which mbeddr version/release are you using?
  • which gcc version is on your path (gcc –version)?
  • which make version is on your path (make –version)?
  • please go on the file system to the folder in which the generated Makefile is located, execute it there and show us the output


You can report your issues on the following page, which is the official mbeddr issue tracker:
https://github.com/mbeddr/mbeddr.core/issues


Domenik
0

Please sign in to leave a comment.