remglk icon indicating copy to clipboard operation
remglk copied to clipboard

Link error on Linux with GIDISPATCH_AUTORESTORE_REGISTRY defined

Open innodonni opened this issue 5 years ago • 1 comments

Compiling glulxe c1c3a3140 with remglk-026, I had to comment out the definition of GIDISPATCH_AUTORESTORE_REGISTRY from gi_dispa.h to avoid the following linker error: glkop.c:215: undefined reference to `gidispatch_set_autorestore_registry'

I'm not sure how remglk is supposed to link with iosglk. Is gi_dispa.h:74 supposed to be an #ifdef?

innodonni avatar Dec 04 '19 21:12 innodonni

(Sorry for the last response.) The missing gidispatch_set_autorestore_registry call is a mistake that got fixed a few years ago. I haven't done a release since then, so you need to use the bleeding-edge master branch (or comment out that line, as you found).

erkyrath avatar Apr 22 '20 23:04 erkyrath