Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makefile requiring besm6 for SDL2-ttf to be found #374

Open
decuser opened this issue May 18, 2024 · 2 comments
Open

makefile requiring besm6 for SDL2-ttf to be found #374

decuser opened this issue May 18, 2024 · 2 comments

Comments

@decuser
Copy link

decuser commented May 18, 2024

When I build with make pdp11 I get the following message:

*** No SDL ttf support available.  BESM-6 video panel disabled.

If I build with make pdp11 besm6, I don't.

In reviewing the makefile, it looks like SDL ttf support is only enabled when video_ldflags, fontfile, and the besm6 flag is provided. It seems like pdp11 alone ought to enable it.

Here is the relevant snippet showing the logic that causes the error message from the makefile (lines 740-741):

ifeq (,$(and ${VIDEO_LDFLAGS}, ${FONTFILE}, $(BESM6_BUILD)))
           $(info *** No SDL ttf support available.  BESM-6 video panel disabled.)

It seems to be a make issue, but here's the sim version that get's built:

PDP-11 simulator Open SIMH V4.1-0 Current        git commit id: ffe537a6
sim> show version
PDP-11 simulator Open SIMH V4.1-0 Current
@pkoning2
Copy link
Member

pkoning2 commented Sep 4, 2024

It's a spurious message, indeed, but the simulator(s) you ask for do get built. At least they do when I try it. Right?

@decuser
Copy link
Author

decuser commented Sep 6, 2024

Yes, they do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants