Summer Banner? YES! (Submit entries until the 20th!)
#48
(06-16-2023, 01:12 PM)JRace Wrote: Are we back?  Is this thing on?
The forum was glitchy for a minute or three, at least on my end.


@GareBear & @bplus :

OK, I just tested Summer.bas on QB64PE-3.8.0 running on a fresh install of Lubuntu-22.04.2.  Had the same problems you've been having: files not found & invalid handles up & down the board.

It looks like Summer.bas was written on Windows.

The program uses lower-case only to read its resouce files, but four of those files have mixed-case names  Windows has a carefree, happy-go-lucky attitude about letter case in filenames, but Unix & Linux are fussy about such things.  Linux is case-sensitive and sees Stem1.png and stem1.png as two completely different file names, while Windows says, "eh, it's all the same."

Rename peLogo.png, Stem1.png, SaveImage.BI, and SaveImage.BM, changing the upper-case letters to lower-case.  Once I did that, the program worked as expected.



[Image: 2023-06-16-072316a.png]

Oh sure, I always forget the case sensitivity of Linux. I knew something must be wrong finding/loading the image files, but never thought it could be because of the case of the filenames.
Reply


Messages In This Thread
RE: Summer Banner? - by SMcNeill - 06-10-2023, 12:18 AM
RE: Summer Banner? YES! (Submit entries until the 20th!) - by RhoSigma - 06-16-2023, 02:02 PM



Users browsing this thread: 5 Guest(s)