title: compile c++ program in yocto
body: <p>I have followed a tutorial to include a C program in my yocto image. It worked like a charm and now I have a helloworld script running on my machine.</p>
  
  <p>I want to do the same with c++ because I need to load a program which makes use of opencv.</p>
  
  <p>I tried by changing c with cpp but as I though, it failed. what else do I need to change to make this working? 
  Can you point me to any tutorial or example out there? I haven't been able to find a suitable one with a simple example.</p>