From owner-freebsd-questions@FreeBSD.ORG Mon Jan 5 16:09:01 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E4E592D for ; Mon, 5 Jan 2015 16:09:01 +0000 (UTC) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:c:538::196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D44F5279C for ; Mon, 5 Jan 2015 16:09:00 +0000 (UTC) Received: from mfilter28-d.gandi.net (mfilter28-d.gandi.net [217.70.178.159]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 9F9D41720D3 for ; Mon, 5 Jan 2015 17:08:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter28-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter28-d.gandi.net (mfilter28-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id UxGnuKAp-Zhw for ; Mon, 5 Jan 2015 17:08:27 +0100 (CET) X-Originating-IP: 120.60.143.243 Received: from localhost (triband-mum-120.60.143.243.mtnl.net.in [120.60.143.243]) (Authenticated sender: mayuresh@kathe.in) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 611DD172095 for ; Mon, 5 Jan 2015 17:08:26 +0100 (CET) Date: Mon, 5 Jan 2015 21:38:24 +0530 From: Mayuresh Kathe To: freebsd-questions@freebsd.org Subject: working with obj-c under freebsd! Message-ID: <20150105160823.GA1080@aio.kathe.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2015 16:09:01 -0000 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 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 ^ 1 error generated. what can i do to get the above resolved? thanks, ~mayuresh