KeshaviPhone / plcrashreporter

Automatically exported from code.google.com/p/plcrashreporter
Other
0 stars 0 forks source link

crash_report.pb-c.h Missing #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the source
2. Integrate within your app
3. Compile

What is the expected output? What do you see instead?
The app to compile. Does not, gives error that crash_report.pb-c.h does not 
exist, it's not in the source tarball

What version of the product are you using? On what operating system?
xcode 4.6, mountain lion

Please provide any additional information below.
1.1-rc2

Original issue reported on code.google.com by aks...@mehta.info on 13 Mar 2013 at 1:06

GoogleCodeExporter commented 9 years ago
crash_report.pb-c.h (along with crash_report.pb-c.c) are generated by the 
protobuf compiler from the .proto file, as part of the project's build phase.

PLCrashReporter sources, like those of most sizable projects, aren't intended 
to be extracted from their enclosing project; the code relies on various Xcode 
build features, preprocessor defines set by the project file, and similar.

If you want to use PLCrashReporter without the actual project file, then you'll 
have to generate the .pb-c. files by hand using the protobuf-c compiler, and 
integrate them into your project. You'll also need to be sure to set the 
appropriate defines for the build; I can't think of all the potential issues 
off the top of my head, but at the very least, there are non-async-safe 
features are enabled/disabled by the project depending on the build style.

Original comment by landon.j.fuller@gmail.com on 13 Mar 2013 at 3:43