Attempt to have a working libPNG 1.5.30 working on the Casio fx-CG50/Graph 90+E and fx-Cg10/20/PRIZM
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Sylvain PILLOT fc85757a25 update cmake/FindcPNG.cmake 2 weeks ago
cmake update cmake/FindcPNG.cmake 2 weeks ago
CMakeLists.txt Update CMakeLists.txt 2 weeks ago
Makefile.prizm rev 1.0 - initial commit 3 weeks ago
README.md update README.md 3 weeks ago
build rev 1.0 - initial commit 3 weeks ago
cPNG1_5_30.cbp rev 1.0 - initial commit 3 weeks ago
cPNG1_5_30.layout rev 1.0 - initial commit 3 weeks ago
config.h rev 1.0 - initial commit 3 weeks ago
example.c rev 1.0 - initial commit 3 weeks ago
giteapc.make rev 1.0 - initial commit 3 weeks ago
png.c rev 1.0 - initial commit 3 weeks ago
png.h rev 1.0 - initial commit 3 weeks ago
pngconf.h rev 1.0 - initial commit 3 weeks ago
pngdebug.h rev 1.0 - initial commit 3 weeks ago
pngerror.c rev 1.0 - initial commit 3 weeks ago
pngget.c rev 1.0 - initial commit 3 weeks ago
pnginfo.h rev 1.0 - initial commit 3 weeks ago
pnglibconf.c rev 1.0 - initial commit 3 weeks ago
pnglibconf.h rev 1.0 - initial commit 3 weeks ago
pnglibconf.out rev 1.0 - initial commit 3 weeks ago
pngmem.c rev 1.0 - initial commit 3 weeks ago
pngpread.c rev 1.0 - initial commit 3 weeks ago
pngpriv.h rev 1.0 - initial commit 3 weeks ago
pngread.c rev 1.0 - initial commit 3 weeks ago
pngrio.c rev 1.0 - initial commit 3 weeks ago
pngrtran.c rev 1.0 - initial commit 3 weeks ago
pngrutil.c rev 1.0 - initial commit 3 weeks ago
pngset.c rev 1.0 - initial commit 3 weeks ago
pngstruct.h rev 1.0 - initial commit 3 weeks ago
pngtest.c rev 1.0 - initial commit 3 weeks ago
pngtrans.c rev 1.0 - initial commit 3 weeks ago
pngwio.c rev 1.0 - initial commit 3 weeks ago
pngwrite.c rev 1.0 - initial commit 3 weeks ago
pngwtran.c rev 1.0 - initial commit 3 weeks ago
pngwutil.c rev 1.0 - initial commit 3 weeks ago

README.md

libPNG 1.5.30 repository for CASIO fx-CG 10/20 (a.k.a. PRIZM) and fx-CG 50 (or Graph 90+E)

Need to have a fully working gcc toolchain for SH3/SH4 architecture, such as fxSDK

Note: libPNG requires Zlib available, so the very first step is to get that library available and working prior to libPNG. You can get a working Zlib for CASIO fx-CG 10/20 (a.k.a. PRIZM) and fx-CG 50 (or Graph 90+E) here : libZlib for PRIZM

Automatic installation using giteapc

You can also use the gitea install Slyvtt/cPNG1_5_30 command to get an automatic install

when you compile a program for use with libPNG, do not forget to add a -lcPNG -lczlib option in your compilator command line.

and then a #include <png.h> in your C/C++ sources

Manual compilation using a Makefile

Compilation is done by using the adhoc Makefile : make -f Makefile.prizm in the main directory

It should produce the library libcPNG.a and copy everything in the right place.

The following steps are not automatically done, so please proceed with the following manipulations :

  • copy the library libcPNG.a into your SH3/SH4 compiler lib folder
  • copy png.h, pngconf.h and pnglibconf.h files contained in the include folder into the include folder of the SH3/SH4 compiler