title: Reading Avro Protocol (avpr) file in C++
body: <p>I am building an RPC application, with clients in Java, C# and C++.
  I wrote an Avro protocol file (.avpr) and can read the protocol in Java and C#.</p>
  
  <p>How do I use this protocol file to generate code in C++?
  (Can you even use an AVPR file in C++?)</p>
  
  <p>Additional info: Doing a precompile to a flat file in C++ as described in the avro docs, gives an  error:
  Failed to parse or compile schema: Missing Json field "type": {"messages":{"...</p>