Home | Forums | What's new | Resources | |
PNG Support On Saturn |
slinga - Mar 7, 2004 |
antime | Mar 7, 2004 | |||
Sure the Saturn can handle PNGs, but I don't know how good the format would be for realtime decompression. The best way to see if it suits your needs is to try it. |
vreuzon | Mar 9, 2004 | |||
Are you sure you did add the pnglib binary objects generation to the makefile for it to be compiled ? Is the prototype of png_sig_cmp function in png.h ? |
antime | Mar 9, 2004 | |||
That's a linker error message, and probably means you forgot to link against the libpng library. |
slinga | Mar 9, 2004 | ||||||||||
Forgive me but I'm a complete idiot when it comes to makefiles and object files (spoiled by visual studio :devil ). Objects
Code:
Makefile
Code:
Makefile.template
Code:
Edit I used vreuzon's slime volleyball objects file as a source, and it seems as the only modification he did was to list the additional .c files in the SRCS line. I tried that but then it gives me an error saying it has no rule to make png.o needed by sl.coff. Isn't this the rule: OBJS = $(SRCS:.c=.o)? |
slinga | Mar 11, 2004 | |||||||
What if I compiled the png files into png.a or something like that? Then I could just link to it like the rest of the libraries...Now how do that? I'm guessing I'd have to do the same for Zlib as well. Edit: Ok I figured out how to make them libraries. Only thing is I still get undefined reference errors, different ones though this time. Edit 2: @#$@#$#@$@#$#@$#@$@#$@#$#@!@%@#$!@$@!#$@!#%!@@#$@# Solved my problem.
is not the same as
This is stupid crap. Top one works, bottom doesn't. I HATE MAKEFILES |
mrkotfw | Mar 13, 2004 | |||||||
I've been doing gbadev since December, starting with ARM assembly then programming in C. One of the most useful things from assembly is '.INCBIN'. .INCBIN let's you include a binary then export it as an array, it's VERY small and gcc-3.3.3 supports it... just a suggestion. So there's no need for large C arrays anymore!
Code:
Code:
oh, and i LOVE the Segaxtreme shirts! |
slinga | Mar 19, 2004 | |||
Stuck on some function call crashing the program (png create struct)...project's not dead but I'm going to Spain for 2 weeks, then London... |
vbt | Apr 6, 2004 | ||||
Dd you make some progress |
slinga | Apr 10, 2004 | |||
I'm in London for one more day |
slinga | Aug 9, 2004 | |||
Still crashing *@$#@$@#$@# |