View Single Post
Old 25 March 2020, 11:46   #2

Join Date: Jun 2016
Location: Hamburg/Germany
Posts: 456
Originally Posted by sparhawk View Post
I tried to compile the libpng library, which worked so far. However, when I try to build a sample code using it, I get some error when I try to use the setjump function which should be used for error handling:

The example I used is here:

uhm... this code compiles and seems to run

 m68k-amigaos-gcc test.c -noixemul -m68020 -Os -o b -lpng -lm -lz

 vamos -C20 test
Usage: program_name <file_in> <file_out>
Program aborted
bebbo is offline  
Page generated in 0.04219 seconds with 11 queries