Date: Mon, 5 Jan 2015 21:38:24 +0530 From: Mayuresh Kathe <mayuresh@kathe.in> To: freebsd-questions@freebsd.org Subject: working with obj-c under freebsd! Message-ID: <20150105160823.GA1080@aio.kathe.in>
next in thread | raw e-mail | index | archive | help
i had asked this question before and was advised to install the gnustep framework before trying out obj-c development under freebsd. finally got the whole thing installed and tried to compile the following simple objective-c program. #import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { @autoreleasepool { NSLog (@"Programming is fun!"); } return 0; } the compiler options used were as below; clang -fobjc-arc main.m -o prog1 the compiler threw up the following error; main.m:3:9: fatal error: 'Foundation/Foundation.h' file not found #import <Foundation/Foundation.h> ^ 1 error generated. what can i do to get the above resolved? thanks, ~mayuresh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150105160823.GA1080>