[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Foundation import file not found
From: |
Peter Wiehe |
Subject: |
Foundation import file not found |
Date: |
Tue, 14 May 2019 10:00:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Hi all,
I'm new to Objective-C and GNUStep. I am using xubuntu 18.04 GNU/Linux.
I installed GNUStep with "sudo apt-get install gnustep gnustep devel".
I'm trying to compile a simple Hello World Objc program which imports
Foundation/Foundation.h.
The first line of that program is "#import <Foundation/Foundation.h>".
I compile with "gcc -x objective.c hello.m -o hello".
But there comes an error message because the compiler can't find the
Foundation file.
What is wrong?
Kind regards
Peter
- Foundation import file not found,
Peter Wiehe <=