KajiTetsushi / HomeworldSDL

Other
4 stars 1 forks source link

Can't compile biggie and kas2c on macOS #1

Closed KajiTetsushi closed 4 years ago

KajiTetsushi commented 4 years ago

macOS Mojave 10.14.6

This is what I get when trying to run these tools:

biggie

cd ./tools/biggie && sh ./biggie-MacOSX-compile.sh:

In file included from ../../src/Game/Types.c:5:
../../src/Game/Types.h:15:10: fatal error: 'SDL_stdinc.h' file not found
#include "SDL_stdinc.h"
         ^~~~~~~~~~~~~~
1 error generated.
In file included from ../../src/Game/BigFile.c:18:
In file included from ../../src/Game/BigFile.h:12:
../../src/Game/Types.h:15:10: fatal error: 'SDL_stdinc.h' file not found
#include "SDL_stdinc.h"
         ^~~~~~~~~~~~~~
1 error generated.
In file included from main.c:12:
In file included from ./../../src/Game/BigFile.h:12:
./../../src/Game/Types.h:15:10: fatal error: 'SDL_stdinc.h' file not found
#include "SDL_stdinc.h"
         ^~~~~~~~~~~~~~
1 error generated.

kas2c

cd ./tools/kas2c && sh ./kas2c-MacOSX-compile.sh

In file included from lexer.l:8:
./../../src/Game/Types.h:15:10: fatal error: 'SDL_stdinc.h' file not found
#include "SDL_stdinc.h"
         ^~~~~~~~~~~~~~
1 error generated.
In file included from parser.y:18:
./../../src/Game/Types.h:15:10: fatal error: 'SDL_stdinc.h' file not found
#include "SDL_stdinc.h"
         ^~~~~~~~~~~~~~
1 error generated.

This doesn't make sense considering that the SDL lib points to the local Xcode workspace folder (602a016): https://github.com/KajiTetsushi/HomeworldSDL/blob/56ee4dc544260811748ec7e298aa28abf565d0b4/.gitignore#L5-L8