Here's a modified version of scrap for linux and macs and windows. I don't remember where I got it from, I think downloaded from a mailing list. There are credits in there and everything and you can do what ever you want to/with it.
There are three files. scrap.cpp, scrap_OSX.m, scrap.hpp. the .m and the .cpp are the scrap implementation on mac and other platforms and they share the same header files so you can use it as it is. Just compile with the .m on mac and .cpp everywhere else.
I use it and it works well but I havent tested on linux/windows.
EDIT: found said mailing list on google:
http://listas.apesol.org/pipermail/sdl- ... 63486.html
love 0.3.2:
I compiled for mac by modifying the top of the makefile to:
and dropping my XCode project folder into the love directory, next to src. because SDLMain.m is needed
Of course, I got all the frameworks and libraries installed...
A quick test showed it runs too.
Nice build
Code: Select all
######################################################################
# "Ancient" LOVE makefile. (Works for 0.3-2)
# You may need to modify parts of this makefile for your system.
######################################################################
CC = g++
CFLAGS = -g -O2 -Wall
CFLAGS_MOD = -g0 -O3
BINDIR = bin
# Inclusion paths.
INCLUDE_SDL = -I/usr/include/SDL
INCLUDE_LUA = -I/usr/include/lua5.1
INCLUDE_LIBLOVE = -Isrc/liblove/include
INCLUDE_FREETYPE = -I/usr/include/freetype2
# Linker flags.
LD_LUA = -llua love/SDLMain.m
LD_SDL = -framework SDL
LD_PHYSFS = -lphysfs
LD_FREETYPE = -lfreetype
LD_GL = -framework OpenGL -framework Cocoa
LD_IL = -lIL -lILU
LD_SDLMIXER = -framework SDL_mixer
######################################################################
My old XCode project doesnt work on this. Theres 2 errors but XCode wont tell me what it is
.
It is because of these weird things that I don't like XCode much... even though other mac developers seem to love it.
EDIT:
You guys might want to fix the forum link from the front page, it links to the old URL for forum.