Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Search Forums

Showing results 1 to 16 of 16
Search took 0.00 seconds.
Search: Posts Made By: smbhax
Forum: Vanilla November 22, 2022, 05:05
Replies: 22
Views: 2,092
Posted By smbhax
sdl2-config doesn't seem to give me a lot, I...

sdl2-config doesn't seem to give me a lot, I guess it does get -lSDL2 from that though. "sdl2-config --static-libs" doesn't seem to work:

smbhax@DESKTOP-64GQN1N ~
$ sdl2-config --cflags...
Forum: Vanilla November 20, 2022, 00:48
Replies: 22
Views: 2,092
Posted By smbhax
My MSYS2 install seems to have something called...

My MSYS2 install seems to have something called pkgconf instead of pkg-config; when I tell it to install pkg-config, it says it could conflict with pkgconf. Here's what I get using pkgconf on the...
Forum: Vanilla November 20, 2022, 00:08
Replies: 22
Views: 2,092
Posted By smbhax
Not sure about the "static build of the SDL...

Not sure about the "static build of the SDL library" thing. Googling suggests static linking the SDL2 library is a little involved. These pages for instance
...
Forum: Vanilla November 19, 2022, 22:48
Replies: 22
Views: 2,092
Posted By smbhax
Aw. Well, it's already got -O2 in there, at least.

Aw. Well, it's already got -O2 in there, at least.
Forum: Vanilla November 19, 2022, 10:35
Replies: 22
Views: 2,092
Posted By smbhax
Ooh! "strip angband.exe" gets it down to 11.5 MB,...

Ooh! "strip angband.exe" gets it down to 11.5 MB, with or without setting -g0 in the Makefile. : )
Forum: Vanilla November 18, 2022, 06:31
Replies: 22
Views: 2,092
Posted By smbhax
Ah! Yeah setting -g0 there got the .exe down to...

Ah! Yeah setting -g0 there got the .exe down to 15.7 MB. Better than 22.1. : )

Removing the -static line (104) got the .exe down to 4 MB or so but then it just started complaining about missing...
Forum: Vanilla November 18, 2022, 04:22
Replies: 22
Views: 2,092
Posted By smbhax
Compiling with $ make -f Makefile.msys2.sdl2...

Compiling with

$ make -f Makefile.msys2.sdl2 SOUND=yes

results in a 22.1 MB angband.exe, whereas the downloadable 4.2.4 Windows front end .exe is only 1.97 MB. Compiling with

make -f...
Forum: Vanilla October 24, 2022, 23:40
Replies: 22
Views: 2,092
Posted By smbhax
It fixes the "missing prototype for SDL_main()"...

It fixes the "missing prototype for SDL_main()" warning. : ) It doesn't fix the screen blanking stuff for MSYS2 or Cygwin/X (Cygwin/X being affected only by 5512), though.
Forum: Vanilla October 23, 2022, 06:28
Replies: 22
Views: 2,092
Posted By smbhax
Yikes. Did I manage to get just a partial git...

Yikes. Did I manage to get just a partial git pull or something. Weird because I was doing "git status" checks all evening and they didn't show anything out of the ordinary. Another git pull and yeah...
Forum: Vanilla October 23, 2022, 02:56
Replies: 22
Views: 2,092
Posted By smbhax
I just synced up to the new check ins in the...

I just synced up to the new check ins in the Angband git repository and building with sound is broken now.

- compilation instructions at top of Makefile.msys2.sdl2 have NOT been updated (also, it...
Forum: Vanilla October 12, 2022, 12:03
Replies: 22
Views: 2,092
Posted By smbhax
https://smbhax.com/stuff/misc/ang_sdl2s.jpg...

https://smbhax.com/stuff/misc/ang_sdl2s.jpg (https://smbhax.com/stuff/misc/ang_sdl2.jpg)

^ In case anyone's unfamiliar with the silky smooth look of the SDL2 front end. : ) (Click it for full...
Forum: Vanilla October 12, 2022, 11:20
Replies: 22
Views: 2,092
Posted By smbhax
Yeah from that other forum thread it doesn't...

Yeah from that other forum thread it doesn't sound like people here, at least, were using Makefile.sdl2. It isn't mentioned in the manual's compiling instructions.
Forum: Vanilla October 12, 2022, 09:28
Replies: 22
Views: 2,092
Posted By smbhax
Come to think of it, the old instructions at the...

Come to think of it, the old instructions at the top of Makefile.msys2.sdl2 say

~~~~
# cd src
# make -f Makefile.msys2.sdl
#
# TODO: sound is not working for windows build
~~~~

but that...
Forum: Vanilla October 12, 2022, 07:58
Replies: 22
Views: 2,092
Posted By smbhax
Wow! Yes, it works. Sound works in Windows...

Wow! Yes, it works. Sound works in Windows through the Angband SDL2 front end with my MSYS2-compiled version now! : D And not delayed like in the Cygwin and WSL Ubuntu versions! Amazing, fantastic,...
Forum: Vanilla October 11, 2022, 23:37
Replies: 22
Views: 2,092
Posted By smbhax
Oh. Finally worked out to open...

Oh. Finally worked out to open src\Makefile.msys2.sdl2 and it says at the top

# If you want only video (but not sound), use it like this:
# (from angband directory)
#
# cd src
# make -f...
Forum: Vanilla October 11, 2022, 23:20
Replies: 22
Views: 2,092
Posted By smbhax
Compiling SDL2 in MSYS2 with sound?

https://smbhax.com/stuff/misc/ang_sdl2s.jpg (https://smbhax.com/stuff/misc/ang_sdl2.jpg)

I can compile the SDL2 front end from the latest source in MSYS2 and run it in Windows, following the...
Showing results 1 to 16 of 16

 
Forum Jump

All times are GMT +1. The time now is 20:11.


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