Rats, Dapper (Ubuntu Beta) seems not to have gcc-objc... But IIRC, somebody did build this for PPC?You will need the following components:
* The GNU Objective-C compiler (gcc-objc). Your distribution should have this available.
building from source for Linux PPC
Moderators: winston, another_commander, Getafix
building from source for Linux PPC
step 1:
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Surely gcc -lobjc should work? Objective-C is supported by default in GCC, since it’s such a small extension to C.
E-mail: [email protected]
- winston
- Pirate
- Posts: 731
- Joined: Mon Sep 27, 2004 10:21 pm
- Location: Port St. Mary, Isle of Man
- Contact:
Yes, for Debian (and by extension, for Ubuntu) the Objective C compiler package is 'gobjc'. Just
and all should happen. This will automatically resolve any dependencies.
Bookmark your distro's package search webpage - it comes in handy when finding what packages you have available.
Code: Select all
apt-get install gobjc
Bookmark your distro's package search webpage - it comes in handy when finding what packages you have available.
(slowly getting there, reading some manpages etc...)
when compiling SDL etc. , I got a lot of
(EDIT: No, don't think so )
when compiling SDL etc. , I got a lot of
I hope that won't come around, bite me in the a**e?there is nothing to do for "all-am"
(EDIT: No, don't think so )
Last edited by Rxke on Mon Apr 24, 2006 4:47 pm, edited 1 time in total.
##= translation to the bard's tongue...
So what am I doing wrong here?
Code: Select all
make
Making all for app oolite...
Compiling file GuiDisplayGen.m ...
In bestand ingevoegd door OpenGLSprite.h:44, ##inserted in file by
door GuiDisplayGen.h:57,
door GuiDisplayGen.m:40:
SDLImage.h:13:26: let op: SDL_rotozoom.h: Onbekend bestand of map ##Warning: unknown file or map
In bestand ingevoegd door OOSound.h:10,
door GuiDisplayGen.m:44:
SDLSound.h:13:23: fout: SDL_mixer.h: Onbekend bestand of map ##Error: unknown file or map
In file included from OOSound.h:10,
from GuiDisplayGen.m:44:
SDLSound.h:23: fout: syntax error before ‘Mix_Chunk’ ##Error
In file included from OOSound.h:11,
from GuiDisplayGen.m:44:
SDLMusic.h:15: fout: syntax error before ‘Mix_Music’ ##Error
make[1]: *** [shared_obj/GuiDisplayGen.o] Fout 1 ##Error 1
make: *** [oolite.all.app.variables] Fout 2 ##Error 2
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
*Casts Summon Babelfish level 2*
Right… it’s looking for, and not finding, the header files for the SDL_mixer and SDL_rotozoom libraries. There may be packages for them; if not, they’re available from libsdl.org.
Code: Select all
make
Making all for app oolite...
Compiling file GuiDisplayGen.m ...
In file included from OpenGLSprite.h:44,
from GuiDisplayGen.h:57,
from GuiDisplayGen.m:40:
SDLImage.h:13:26: let op: SDL_rotozoom.h: No such file or directory
In file included from OOSound.h:10,
from GuiDisplayGen.m:44:
SDLSound.h:13:23: fout: SDL_mixer.h: No such file or directory
In file included from OOSound.h:10,
from GuiDisplayGen.m:44:
SDLSound.h:23: error: syntax error before ‘Mix_Chunk’
In file included from OOSound.h:11,
from GuiDisplayGen.m:44:
SDLMusic.h:15: error: syntax error before ‘Mix_Music’
make[1]: *** [shared_obj/GuiDisplayGen.o] Error 1
make: *** [oolite.all.app.variables] Error 2
E-mail: [email protected]
- winston
- Pirate
- Posts: 731
- Joined: Mon Sep 27, 2004 10:21 pm
- Location: Port St. Mary, Isle of Man
- Contact:
In particular, the build for SDL_mixer et al. is straightforward if Ubuntu doesn't have development packages for them (but I imagine Ubuntu has all this prepackaged - IIRC, some Debian user mentioned they had installed all the requisite development kit from Debian's repo, so I'd imagine Ubuntu should have it too).