Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode cannot find cstddef

Xcode (iOS) cannot for some reason find cstddef for a library I'm using (Boost). Does any one know how to fix this?

I am compiling under Mac OS X 10.8 with Xcode 4.6

like image 803
James Campbell Avatar asked Dec 06 '25 15:12

James Campbell


1 Answers

You should make your project all Objective-C++, renaming all the files to *.mm extension.

like image 100
amb Avatar answered Dec 08 '25 06:12

amb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!