Ok.
Either my place is all over the head or there's actually something wrong.
I'm trying to compile TPT for OS X Mavericks and it is horribly failing. I'm following the wiki's instructions and it just won't work.
Here's what's going on.
It's bombing out at ./configure && make (from what I know, probably the ./configure part.)
The error I'm getting is:
./src/video/x11/SDL_x11sym.h:168:17: error: conflicting types for '_XData32'
SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len)...
./src/video/x11/SDL_x11dyn.c:95:5: note: expanded from macro 'SDL_X11_SYM'
rc fn params { ret p##fn args ; }
/usr/X11R6/include/X11/Xlibint.h:568:12: note: previous declaration is here
extern int _XData32(
I removed the CGDirectPaletteRef palette; line. Still not working.
Tried using SDL 2.0.3 instead of 1.2.15. That time, I got to compiling Powder Toy, but got this:
src/PowderToySDL.cpp:6:10: fatal error: 'SDL.h' file not found<<br/>#include "SDL.h"
I'd just like to know one thing: What the hell is going on?
If you need more info, just let me know and I'll try supply it (this is a school-supplied Mac I'm working on :P)
Thank you for any assistance,
JjStAr992_Gaming
It's not BBCode on the forums, it's HTML just replace the [ with < and ] with >
There is a TPT download for the latest version, but it is hidden because it introduced compatibilty problems with inferior versions of OS X.
jacob1:
i'm not sure why the guide recommends compiling SDL, I would think there should be a precompiled SDL that works somewhere. Also SDL 2 won't work at all, TPT uses SDL 1.2. Possible link: https://www.libsdl.org/release/SDL-1.2.15.dmg
So once you have SDL hopefully it works :P
Yaaay, it works! But, another problem! D: This one occurs when I attempt to build TPT. Got an error about lua.h missing. Fixed that with brew install lua.
So... what's this supposed to mean? Typo or scons fail?
src/socket/inet.c:93:58: error: no member named 'h_addr' in 'struct hostent' lua_pushstring(L, inet_ntoa(*((struct in_addr *) hp->h_addr)));
What now?
When will this saga ever end?
ld: framework not found Lua
I have Lua installed, so what's going on here?