Jump to content
Jet Set Willy & Manic Miner Community

I suck at introductions tbh...


Cheez26

Recommended Posts

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.

Link to comment
Share on other sites

Posted (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 by Cheez26
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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


 

Link to comment
Share on other sites

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. 🙏

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.