Sunday, 16 March 2008

Objective C in Ubuntu with GNUstep

I was following the Objective-C tutorial using GNUstep

http://gnustep.made-it.com/GSPT/xml/Tutorial_en.html

I had to install the following packages to make everything compile properly (from my history):

And in the GNUmakefile I added this path:


Hope this helps someone else get around any errors they initially encounter.

7 comments:

Yen-Ju Chen said...

This is how I install GNUstep on Ubuntu. Once dependencies are installed, I follow this guide.
A simplified version is following:
1. Download gnustep-make
2. ./configure --prefix=/usr/local/GNUstep
3. sudo make install
4. source /usr/local/GNUstep/System/Library/Makefiles/GNUstep.sh
4. Download gnustep-base
5. make
6. sudo make install

Alex Bleasdale said...

Great - thanks for that!

Daryl and Anita Lee said...

I followed your recommended intallation steps and did not get a Makefiles subdirectory anywhere in my GNUstep directory. When I run [find /usr/lib/GNUstep -name "*.make"] all I get are makefiles in the Bundles, Applications, and Preferences directories. Any idea what I need to do to get the Makefiles contents?

Daryl Lee said...

(I've changed my blogspot profile since my last post). I ran the GNUstep startup package from http://ftp.gnustep.org/pub/gnustep/core, and after adding support for TIFF and JPEG, it seems to be working. I suppose nothing worth doing should be easy. :)

Alex Bleasdale said...

Glad you solved it, Daryl

Greg Bonney said...

Hi. I think you are making it over-complicated. The Makefiles directory gets put under /usr/share/GNUstep, so I think you were just looking in the wrong place for it. Hope this helps.

Allan Kelly said...

Use gnustep-config --variable=GNUSTEP_MAKEFILES as demonstrated here:

GNUstep.org "Makefile Structure".

Cheers, al.