-1

I am trying to compile this code on Open SuSE with GCC. I am getting "file not found error" for mono and related header files. I have installed mono and monodevelop lib. Please guide me on how to solve this error?

dandan78
  • 13,328
  • 13
  • 64
  • 78
Omkar
  • 2,129
  • 8
  • 33
  • 59
  • Not sure what your problem is. Find where the required headers have been installed and pass that directory to `gcc` using the `-I` switch (such as `-I /usr/include/mono-2.0`). Don't forget to link to mono libraries (for example `-l mono-2.0`). – Jester Jun 05 '14 at 17:46

1 Answers1

0

I found the problem, it was because libmono-2_0-devel library was not installed on my machine. I was assuming that this will be pre-installed as I have installed mono. And also none of the document which talk about "Embedding Mono" mentioned this dependency.

Omkar
  • 2,129
  • 8
  • 33
  • 59