phoboslab / wipeout-rewrite

2.64k stars 212 forks source link

[macOS] Could not open texture file #28

Closed maxterry closed 1 year ago

maxterry commented 1 year ago

Attempted to run on macOS with

> brew install sdl2 glew
> make sdl
> open wipegame

Got this error:

> /Users/u/Documents/wipeout-rewrite/wipegame ; exit;
atlas texture     1
inserted atlas texture (  2x  2) at (  0,  0)
load cmp wipeout/textures/drfonts.cmp
Abort at "src/utils.c" line 23: Could not open file for reading: wipeout/textures/drfonts.cmp
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

Does run as expected by instead running the executable as documented in the README with

> ./wipegame
phoboslab commented 1 year ago

Related: #10; still need to go through this and also make this work for the Sokol platform.

phoboslab commented 1 year ago

Should be fixed with https://github.com/phoboslab/wipeout-rewrite/commit/108cfac9dc91566085ca048f6d001130b071f85f