Open GoogleCodeExporter opened 9 years ago
I found a workaround for this. If you change the bindings to use the 10.5 SDK
(and
have the 10.5 SDK installed), the bindings will compile.
Attached is a patch to let you select the SDK via an environment variable. I
run it like:
HOC_SDK=MacOSX10.5 sh ./make-bindings-macos.sh --user
Original comment by bickfo...@gmail.com
on 21 Feb 2010 at 8:22
Attachments:
I have applied the fix-bindings.patch above (Thanks!) and modified the build
instructions in README.txt to tell people to use HOC_SDK=MacOSX10.5.
This issue will remain open until parsing the 10.6 SDK works.
Original comment by aut...@gmail.com
on 18 Jun 2010 at 12:30
One of the reasons Bindings do not compile using Mac OS 10.6 SDK is because of
macros present in the header files breaking the parser.
Using gcc -E -P on those headers before parsing them would expand all the
macros, but also expand all the #includes. Do you think the preprocessor is a
viable option for making the ifgen parse the header files successfully?
Original comment by meric...@gmail.com
on 15 Feb 2012 at 3:09
Original issue reported on code.google.com by
jejan...@gmail.com
on 6 Feb 2010 at 12:00