Closed ariddell closed 8 years ago
It seems like there's a convention about where to put proto files that we're missing.
Ok, I found an answer here: https://stackoverflow.com/questions/18735609/the-path-in-protobuf
If we want to keep the .proto files in a separate directory then the directory structure inside this directory has to mirror the directory structure inside the C++ source tree.
The way the makefile works right now we get a stanc.pb.cc which has this line ``
include "proto/stanc.pb.h"
but our source directory is
src/so this needs to be
include "stan/proto/stanc.pb.h"
``