Hello everyone, I haven't been able to compile the image previewer. It has been weeks since I've been trying to setup the necessary software. I'm willing to do anything in order to get things running.

If someone is willing to help please reach out. I just need to setup the compilation toolchain, Windows or Linux, or whatever.

Please I'm desperate,

Best regards,
Luca.
What have you tried thus far? What has gone wrong?
I've tried on Ubuntu but no compilation toolchain is available so I tried on windows where there were precompiled PrizmSDK and some libraries. I'm stuck at compiling libpng and zlib for the FX-CG50, and adjusting the make file for my setup.

I'm always available to call on Google meet, discord or whatever
Have you tried following the Linux Setup Guide on the Wiki, which describes setting up the toolchain on Linux?

Quote:
I'm stuck at compiling libpng and zlib for the FX-CG50, and adjusting the make file for my setup.
For your own use in your project, or as part of the SDK? The SDK itself on Windows shouldn't require any compilation, but if you're trying to build libpng and zlib for your project, and it's not working, what problems or error messages are you encountering?
Yes, I followed the guide for Ubuntu but with no luck. I also tried to install Arch but no luck there too...

On Windows I need as you said to cross-compile libpng and libs for the Casio FX-CG50. I tried to edit the make file but it always fails when I do "make".

If you could provide a precompiled zip of zlib 1.2.8 and libpng 1.6.12 for the Casio FX-CG50 I'd be able to compile the program as I've successfully modified the main program Makefile to build with Prizm SDK.

I need them to compile this, if it can help you provide the correct pre built libraries. I think they need to be statically linked, I'm a web dev so I don't really know much about this.

https://github.com/gbl08ma/imageviewer/blob/master/Makefile

I really just need those two library with those versions... If you could provide precompiled library, well man, you would totally make my day, week, month and year.

Thank you for the support
Quote:
Yes, I followed the guide for Ubuntu but with no luck. I also tried to install Arch but no luck there too...
Please provide the list of steps you followed, what error messages appeared, and what you tried to do to debug them, for any or all of what you mentioned. It's hard to help you debug with only "no luck", "fails", and "stuck" as descriptions of what happened.
As a young dad working full time (around 50 hours a week) and also studying for university, my time to debug things is always so limited. I'm well accustomed to Linux and I know how much it can be a pain in the a if things don't go as planned. I can assure you we can go days exchanging the exact error messages I get, and tomorrow when I'll find time I'll post the error message (currently I'm slowly fading out in the dream world on my sofa while cuddling my 2 years old daughter)

But as I don't live for knowing how to compile zlib and libpng for the Casio FX-CG50 (you heard me right! I won't die if I don't find a solution!), assuming you have a working toolchain and are a giga chad know-it-all, please just compile those two libs and send me a copy... I'm willing to pay as I before stated...

Please, any help, guidance is appreciated, really...

Thanks anyway man... Sad
I found that ComputerNerd's PNG viewer repository includes notes on cross-compiling libpng. Most annoyingly, you'll probably want a MSYS environment to work in, since zlib really wants GNU tooling to build that otherwise is difficult to get configured.
Tari wrote:
I found that ComputerNerd's PNG viewer repository includes notes on cross-compiling libpng. Most annoyingly, you'll probably want a MSYS environment to work in, since zlib really wants GNU tooling to build that otherwise is difficult to get configured.


Thank you a lot!

I made good progress thanks to your suggestion.

Sadly I'm stuck at an error compiling libpng (zlib builds successfully). Doing the ./configure as said by ComputerNerd, the configure returns an error "pow function definition not found", something like that, I also tried add -lm, but nothing...

I've built the toolchain successfully following the setup for Ubuntu. The example projects compile successfully, it's just libpng that's currently not building
Hello guys,

Someone who's willing to help?

I tried the exact commands of the guide but with no luck.

Cannot build libpng because of no pow function error...

Help Sad
libfxcg removed the definition for pow() a while ago because it didn't actually have an implementation. You could probably hack around this issue by patching the definition back into your copy of math.h, since this seems to indicate that pow() isn't actually needed for how this program uses libpng.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement