[SDL] Rendering an SVG to an SDL surface?
j_post at pacbell.net
Fri Mar 21 06:53:04 PST 2003
On Friday 21 March 2003 02:55 am, Bill wrote:
> Unfortunately, that means it requires GTK+ and GDK libraries, which will
> kill the cross-platform aspect of my project, I think...
How so? I've built a Windoze executable using Gtk+ on my Linux machine that
runs just fine on Windoze. Don't know about Mac OS or others.
> It will also add bloat.
That may be so ;-)
CFLAGS=-Wall -O2 -fomit-frame-pointer `gtk-config --cflags`
LIBS=-lm `gtk-config --libs`
WINCFLAGS=-Wall -O2 -fomit-frame-pointer -I/usr/local/cross-tools/include
$(CC) $(CFLAGS) $(OBJS) -o test $(LIBS)
$(CC) $(CFLAGS) -c $< -o $@
$(WINCC) $(WINCFLAGS) $(WINOBJS) $(WINLIBS) -o test.exe
$(WINCC) $(WINCFLAGS) -c $< -o $@
More information about the SDL