FrobTADS macos

so the frobtads version @ tads.org is out of date and won’t run on apple silicon.

there doesn’t appear to be a homebrew of frobtads available anymore.

i downloaded the source to compile myself. i installed cmake and ncurses without a problem per the installation instructions. but when i go to make the file (again, exactly following the instructions) i get a ‘fatal error - missing file “memory”’ error.

so is TADS a serious thing that people can actually install and use? or is it just a windows only thing and i’m out of luck?

1 Like

If you think it’s an actual bug you should try creating an issue on the project’s github repo. You’ll want to include the actual command line(s) you’re using and cut and paste the error message(s).

@RealNC also posts here so it’s possible they’ll be along in a bit to respond directly.

That said, I don’t have a mac but if you want to cut and paste the actual error messages I’d be willing to take a shot at troubleshooting. I’ve never compiled FrobTADS on a mac, but I did just recently build it for both linux and OpenBSD, so I can verify it’s not windows-only.

2 Likes

this is the error output:

charlesmoore@Charless-MacBook-Pro build % cmake --build . --target install
[  0%] Building CXX object CMakeFiles/COMMON_OBJECTS.dir/src/missing.cc.o
/Users/charlesmoore/Desktop/frobtads-master/src/missing.cc:4:10: fatal error: 'memory' file not found
    4 | #include <memory>
      |          ^~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/COMMON_OBJECTS.dir/src/missing.cc.o] Error 1
make[1]: *** [CMakeFiles/COMMON_OBJECTS.dir/all] Error 2
make: *** [all] Error 2
charlesmoore@Charless-MacBook-Pro build %

the first three build steps work fine.

1 Like

Hm, memory is a C++ standard library. I’m not sure why it wouldn’t be found.

Yeah, I think this is a standard mac-ism; I think they moved all the headers out of /usr/include some revs ago. Which would mean this is a simple fix (e.g. setting an environment variable to indicate the path to the standard library headers).

I’m trying to see if I can get access to a Mac I can compile on.

Edit: In the process of setting up a VirtualBox instance, looks like it’ll take a couple hours.

2 Likes

Okay, maybe more than a couple hours.

Still trying to get a MacOS instance set up in VirtualBox here. Downloading the media was slow, setup is very slow.

In this Linux box frobTads compiles & run fine, and IS the reference console 'terp (that is, the one used to check that there’s few, if any, non-programmed [press a key] under a fixed-width 80x25 screen)

so, under MacOs should compile fine, albeit I find really hard visualizing a mac with a console shell…

Best regards from Italy,
dott. Piergiorgio.

when draconis mentioned C++ library files it rang a faint bell. so, just to try something, i reinstalled x-code, thinking maybe i was missing some c++ file headers.

cmake will now run but now I get an entirely different error message:

make: Makefile: No such file or directory
make: *** No rule to make target `Makefile'.  Stop.

success. after reinstalling xcode and cmake, it finally ran OK and seems to be working.

thx for your help and hope you didn’t spend too much time trying to get macos running virtually. i didn’t think that was even possible to get arm-macos running virtually!?

1 Like

oh well, after finally getting everything installed now i get compiler errors.

error: module "=.t" has the same name as an existing module
error: module ";.t" has the same name as an existing module

i was curious about TADS due to its multimedia capabilities but it appears it’s not for me. it very clearly doesn’t “just work” and, on the mac side anyway, doesn’t appear to be actively maintained (the website points to defunct installs that are long out of date, the macos install is glitchy, and now there’s something squirrelly somewhere in the compiler that i don’t have the energy, expertise, or interest in investigating).

i’ll stick with inform6/punyinform/glulx - despite their age (in the case of i6/glulx) i’ve never had trouble compiling/installing any of these and they’re rock solid “out of the box”.

TADS is stable but not under active development. The website hasn’t been updated in a long while. But if you’re interested in TADS’ multimedia capabilities then I don’t think FrobTADS is a good interpreter anyway as it’s (mostly?) text only.

The usual recommended interpreter is QTads. Give it a try before you write off TADS entirely. Releases · realnc/qtads · GitHub

1 Like

yeah, but i need an authoring tool before i need the interpreter.

Ohhhh. Sorry. I don’t know anything about that.

I use TADS3 on Mac without any problems. Sorry, I haven’t read this whole thread, but I’m using an ARM Mac…

Have you tried downloading rather than trying to build TADS from source?

Same here and I used Homebrew to install it. It works great with VS Code, too.
I did have some issues getting it to work at first. There are some helpful threads sprinkled about in this category. Check this one:
FrobTADS with Homebrew

hth,
Deborah

Yes, you’ll want to use VSCode as well. Tomas Oberg has a great TADS3 extension for it. I don’t use FrobTADS at all.

yes. as above, it no longer seems to be available

charlesmoore@Charless-MacBook-Pro ~ % brew install frobtads
==> Downloading https://formulae.brew.sh/api/formula.jws.json
################################################################################################################# 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
################################################################################################################# 100.0%
Warning: No available formula with the name "frobtads". Did you mean frotz?
==> Searching for similarly named formulae and casks...
==> Formulae
frotz ✔

and, yes, i tried downloading from the website but i get a “bad CPU version” (paraphrasing), i’m assuming because it’s the old intel version.

I wonder if I could just send you the files I have. My ARM Mac is almost brand new and running Sequoia. TADS is building just fine in VSCode but I always launch QTads to test run it. I’d hate to see you miss out! TADS is really great!

i don’t think that would help, unfortunaely. i would still need a working compiler which seems to be the stumbling block.

1 Like

Well that’s what I meant… I could just pass you along the compiler binary that’s sitting in my /usr/local/bin. It works on mine, so maybe it’d work on yours…