JianYang Posted June 18 Report Share Posted June 18 Hi @Cheez26, jswed-2.2.9 compiles and runs without problems on Debian Bookworm. I don't know how similar our systems are. I noticed that @jetsetdanny has linked the development/unstable version. Maybe trying the stable version could help? Just an idea. Quote Link to comment Share on other sites More sharing options...
Cheez26 Posted June 18 Author Report Share Posted June 18 1 hour ago, JianYang said: Hi @Cheez26, jswed-2.2.9 compiles and runs without problems on Debian Bookworm. I don't know how similar our systems are. I noticed that @jetsetdanny has linked the development/unstable version. Maybe trying the stable version could help? Just an idea. Well...I tried the "stable" version and, well, it didn't work. I will admit that my install is based on Trixie and has two init types: systemd and sysvinit. I use the systemd version but it's always good to have options in case systemd gets more wonky than it should. Quote Link to comment Share on other sites More sharing options...
Cheez26 Posted June 18 Author Report Share Posted June 18 (edited) 7 hours ago, JohnElliott said: That's apparently caused by the version of libpng in use. I think it should be possible to replace png_ptr->jmpbuf with png_jmpbuf(png_ptr) and see if that helps. You may have to do it in several files. Oof. So...libpng is a dependency as well? I'll doublecheck and see if it's installed on my system. Yeah, libpng is installed, but I might need help with replacing the code thing in the files you mentioned. Perhaps a list of files I need to edit. Thanks in advance. Edited June 18 by Cheez26 Quote Link to comment Share on other sites More sharing options...
SymbolShift Posted June 18 Report Share Posted June 18 3 hours ago, Cheez26 said: Yeah, libpng is installed, but I might need help with replacing the code thing in the files you mentioned. Perhaps a list of files I need to edit. Thanks in advance. A quick file content search tells me it's in the following files... fontform.cxx jswtitle.cxx screenedit.cxx screenshot.cxx spriteform.cxx jetsetdanny and Cheez26 1 1 Quote Link to comment Share on other sites More sharing options...
Cheez26 Posted June 18 Author Report Share Posted June 18 39 minutes ago, SymbolShift said: A quick file content search tells me it's in the following files... fontform.cxx jswtitle.cxx screenedit.cxx screenshot.cxx spriteform.cxx Thanks, but it seems that I stumbled upon another error. j64room.cxx:737:9: error: narrowing conversion of ‘160’ from ‘int’ to ‘char’ [-Wnarrowing] 737 | 0xA0, 0x86, 0x9F, 0x86, 0x9F, 0x86 | ^~~~ j64room.cxx:737:15: error: narrowing conversion of ‘134’ from ‘int’ to ‘char’ [-Wnarrowing] 737 | 0xA0, 0x86, 0x9F, 0x86, 0x9F, 0x86 | ^~~~ j64room.cxx:737:21: error: narrowing conversion of ‘159’ from ‘int’ to ‘char’ [-Wnarrowing] 737 | 0xA0, 0x86, 0x9F, 0x86, 0x9F, 0x86 | ^~~~ j64room.cxx:737:27: error: narrowing conversion of ‘134’ from ‘int’ to ‘char’ [-Wnarrowing] 737 | 0xA0, 0x86, 0x9F, 0x86, 0x9F, 0x86 | ^~~~ j64room.cxx:737:33: error: narrowing conversion of ‘159’ from ‘int’ to ‘char’ [-Wnarrowing] 737 | 0xA0, 0x86, 0x9F, 0x86, 0x9F, 0x86 | ^~~~ j64room.cxx:737:39: error: narrowing conversion of ‘134’ from ‘int’ to ‘char’ [-Wnarrowing] 737 | 0xA0, 0x86, 0x9F, 0x86, 0x9F, 0x86 | ^~~~ make[2]: *** [Makefile:924: j64room.o] Error 1 make[2]: Leaving directory '/home/cheez26/jswed-2.3.7' make[1]: *** [Makefile:960: all-recursive] Error 1 make[1]: Leaving directory '/home/cheez26/jswed-2.3.7' make: *** [Makefile:643: all] Error 2 Quote Link to comment Share on other sites More sharing options...
JohnElliott Posted June 19 Report Share Posted June 19 Change the declaration on line 735 from static char no_patch[] = to static unsigned char no_patch[] = jetsetdanny and Cheez26 2 Quote Link to comment Share on other sites More sharing options...
Cheez26 Posted June 19 Author Report Share Posted June 19 1 hour ago, JohnElliott said: Change the declaration on line 735 from static char no_patch[] = to static unsigned char no_patch[] = Well, that worked. I suppose these edits will be in the next unstable version, right? Regardless, thank you so very much for your help. Bless you. 🙏 jetsetdanny 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.