Building Oolite

News and discussion of the PC port of Oolite.

Moderators: winston, another_commander

Post Reply
Frantic
Competent
Competent
Posts: 41
Joined: Sun Mar 26, 2006 1:41 pm
Location: Brno
Contact:

Building Oolite

Post by Frantic »

Used the guide at http://wiki.alioth.net/index.php/Runnin ... rom_source to get setup as I wanted to try my hand at modications to the source.

Step 2.8 fails:

$ make
Making all for app oolite...
Compiling file src/Core/vector.c ...
/bin/sh: sdl-config: command not found
In file included from src/Core/vector.h:43,
from src/Core/vector.c:45:
src/Core/OOOpenGL.h:12:24: SDL_opengl.h: No such file or directory
In file included from src/Core/vector.c:45:
src/Core/vector.h:64: error: syntax error before "GLfloat"
src/Core/vector.h:64: warning: no semicolon at end of struct or union


Upon suggestion, I attempted to install an SDL package SDL-devel-1.2.9-mingw32.tar.gz but no matter where I put the files withing gnustep local dir or oolite source directories, it makes no difference.

Any idea what step is missing before the compiler will work?
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2530
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post by Selezen »

Copy all of the DLLs required into the Windows\System folder.

Either that or try adding the DLL locations into your PATH statement.
Frantic
Competent
Competent
Posts: 41
Joined: Sun Mar 26, 2006 1:41 pm
Location: Brno
Contact:

Post by Frantic »

Nevermind, fixed now. Gnustep needed to be installed i nthe default install directory :-)

I now have Amiga hyperspace sound!
dajt
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 364
Joined: Tue Aug 17, 2004 7:05 am
Location: Orange, NSW, Australia

Post by dajt »

Yes, the SDL-devel archive has the sdl-config in it which assumes GNUstep is in the default location.

This is why the instructions tell you to accept all defaults in the installers!
Regards,
David Taylor.
Frantic
Competent
Competent
Posts: 41
Joined: Sun Mar 26, 2006 1:41 pm
Location: Brno
Contact:

Post by Frantic »

I kinda assumed the directory would be the safe one to change.

Now to get jump drives online...
Post Reply