Compiling TOME and SDL 1.3 on OSX 10.4 and 10.5
Moderator: Moderator
Compiling TOME and SDL 1.3 on OSX 10.4 and 10.5
So... I've been trying and failing to get a copy of the new stuff up and working on OSX 10.5. For the moment, my problem is that I can't get SDL 1.3 to compile. I looked it up online, and all I found was a discussion from november of last year that came up with the conclusion that, as of that time, SDL 1.3 could not be compiled on anything before 10.6. Has anyone gotten this to work?
Re: Compiling TOME and SDL 1.3 on OSX 10.4 and 10.5
I haven't actually gotten b33 working (on 10.5), but if you download the precompiled version from te4.org and hit "show package contents", it contains the needed sdl frameworks as well as libpng. I'm assuming that works just as well as compiling yourself, though I did also manage to compile SDL 1.3 without running into any problems.
(By the way, on the beta 33 compile, I keep getting stuck at somewhere around 36 errors, all having to do with music.o (the usual al_soundplay type stuff) and png.)
(By the way, on the beta 33 compile, I keep getting stuck at somewhere around 36 errors, all having to do with music.o (the usual al_soundplay type stuff) and png.)
Re: Compiling TOME and SDL 1.3 on OSX 10.4 and 10.5
Has anyone gotten a version higher than b31 working on a pre-10.6 osx yet?
I spent another couple hours working on it today and still no good. I copied the sdl frameworks and libpng14.dylib file from the official download on te4.org into a folder in my T-engine directory. After adding in various header files and other various minor changes in Xcode, I got down to 4 "symbol not found" errors dealing with "bspatch" (from physps.c), "luaopen_wait", "is_waiting", and "draw_waiting" (all from main.c). So, I tried just commenting out those lines and xcode actually managed a successful compile.
The game still wouldn't run though - the console was showing dyld errors associated with the sdl frameworks I'd copied into the t-engine directory. I'm wondering if that's a result of those frameworks being compiled for 10.6, or if it's something simpler.
Anyone else have better luck?
I spent another couple hours working on it today and still no good. I copied the sdl frameworks and libpng14.dylib file from the official download on te4.org into a folder in my T-engine directory. After adding in various header files and other various minor changes in Xcode, I got down to 4 "symbol not found" errors dealing with "bspatch" (from physps.c), "luaopen_wait", "is_waiting", and "draw_waiting" (all from main.c). So, I tried just commenting out those lines and xcode actually managed a successful compile.
The game still wouldn't run though - the console was showing dyld errors associated with the sdl frameworks I'd copied into the t-engine directory. I'm wondering if that's a result of those frameworks being compiled for 10.6, or if it's something simpler.
Anyone else have better luck?