Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old October 12, 2022, 13:53   #11
backwardsEric
Swordsman
 
Join Date: Aug 2019
Posts: 350
backwardsEric is on a distinguished road
Quote:
Originally Posted by smbhax View Post
Duly noted, thanks! = ) Updated "make" to "make install" in my notes, and if I ever need to try compiling the Windows version again I'll hunt down how to sync back to that older version of mingw.
Which version of Windows and mingw did you use when you got the procedure entry point could not be found message? The system for building Angband's Windows releases has to change in the near future so I'm trying to determine if the version of mingw (8.0.0-1) in Ubuntu 22.04 will avoid that problem.
backwardsEric is offline   Reply With Quote
Old October 12, 2022, 15:16   #12
smbhax
Swordsman
 
Join Date: Oct 2021
Location: WA
Posts: 322
smbhax is on a distinguished road
Quote:
Originally Posted by backwardsEric View Post
Which version of Windows and mingw did you use when you got the procedure entry point could not be found message? The system for building Angband's Windows releases has to change in the near future so I'm trying to determine if the version of mingw (8.0.0-1) in Ubuntu 22.04 will avoid that problem.
Microsoft Windows 11 Home, Version 10.0.22000 Build 22000

Not sure if this is the right package to check but apt list reports

gcc-mingw-w64-base/focal,now 9.3.0-7ubuntu1+22~exp1ubuntu4 amd64 [installed,automatic]

"sudo apt-get install gcc-mingw-w64-base" resulted in "gcc-mingw-w64-base is already the newest version (9.3.0-7ubuntu1+22~exp1ubuntu4)."
__________________
My Angband videos

Last edited by smbhax; October 12, 2022 at 15:23.
smbhax is offline   Reply With Quote
Old October 13, 2022, 17:04   #13
Bill Peterson
Adept
 
Bill Peterson's Avatar
 
Join Date: Jul 2007
Location: Flyover country
Posts: 185
Bill Peterson is on a distinguished road
Send a message via AIM to Bill Peterson
Quote:
Originally Posted by backwardsEric View Post
The system for building Angband's Windows releases has to change in the near future.
Could you say a few words about this? The last time I compiled Angband was on Linux, but I suppose I should get up to speed if I want to get involved with the Sil rewrite
Bill Peterson is offline   Reply With Quote
Old October 13, 2022, 20:21   #14
backwardsEric
Swordsman
 
Join Date: Aug 2019
Posts: 350
backwardsEric is on a distinguished road
Quote:
Originally Posted by Bill Peterson View Post
Could you say a few words about this? The last time I compiled Angband was on Linux, but I suppose I should get up to speed if I want to get involved with the Sil rewrite
The Windows releases are currently built on Linux using mingw configured as a cross-compiler. In particular, it's done on GitHub using an environment (Ubuntu 18.04 with additional preinstalled software) prepackaged by GitHub (a GitHub "runner"). GitHub is phasing out Ubuntu 18.04 (current termination date is April 1st, 2023) so something different will have to be done for the releases. An easy way to handle the change would be to use a different GitHub runner, either using Ubuntu 20.04 or 22.04. Both have newer versions of the cross-compiler, and the version on 20.04, at least, generated FAangband executables that didn't run on Windows 8.1.
backwardsEric is offline   Reply With Quote
Old October 23, 2022, 03:14   #15
smbhax
Swordsman
 
Join Date: Oct 2021
Location: WA
Posts: 322
smbhax is on a distinguished road
Quote:
Originally Posted by backwardsEric View Post
If you had used "make install" rather than "make", zlib and libpng12 would have been copied to the same directory as the executable. The procedure entry point could not be found message has been reported before, http://angband.oook.cz/forum/showpos...&postcount=253 . I didn't figure out what was causing it then, except that it went away when the executable was built with the version of mingw (5.0.3-1) in Ubuntu 18.04. Executables built with mingw 7.0.0-2 in Ubuntu 20.04 triggered that error, at least for one person using Windows 8.1.
With the build procedure update ( http://angband.oook.cz/forum/showthread.php?t=11350 ) I tried compiling the Windows version again myself under WSL Ubuntu with

./autogen.sh
./configure --enable-win --build=i686-pc-linux-gnu --host=i686-w64-mingw32 --enable-skip-old-int-typedefs
make install

and the old "procedure entry point e" run error is gone, but now double-clicking the generated .exe just leaves the mouse pointer busy for a while, then nothing (and I have to kill the "Angband (32 bit)" task).

Ah, if copy the angband dir (minus src dir) from the \\wsl$ directory to a regular directory on my hard drive and try running angband.exe from there, I get an "angband.exe - Application Error" pop-up window:

Quote:
The application was unable to start correctly (0xc00000005).
Click OK to close the application.
__________________
My Angband videos

Last edited by smbhax; October 23, 2022 at 03:24.
smbhax is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
interface windows dri_ft Sil 7 October 3, 2017 19:13
Interface question Odsoc Vanilla 2 September 11, 2017 19:26
Alternative detect monster spell? Mikko Lehtinen Variants 11 December 22, 2011 22:33
Interface trouble ofosho Vanilla 0 January 21, 2009 03:19
Multi-user *nix usability shadowsun Vanilla 7 September 7, 2007 13:57


All times are GMT +1. The time now is 19:40.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.