Re: Asking for help with Phix program under Linux
- Posted by irv Nov 10, 2022
- 779 views
I ran Mint 18.1 from live DV.
However, I could not run or compile your hypatia program, because I got an error immediately. It's in line 41 of rsinput.e which calls:
scrn = video_config()
So... to test video_config(), I wrote a little program:
puts(1,"Video Config Test\n") object screen = video_config() ? screen
Video Config Test /home/irv/phix/builtins/pscreen.e:144 in procedure initI() attempt to divide by 0 ... called from /home/irv/phix/phix/builtins/pscreen.e:346 in function video_config() x = <novalue> y = <novalue> mx = <novalue> my = <novalue> res = <novalue> xCSBI = <novalue> ... called from /home/irv/phix/phix/vc.ex:2
So ... there appears to be a problem with pscreen.e, since I get this same error whether running on old or new Linux versions. It prevents me from going any further with your program.
The Linux version I used is: https://mirror2.sandyriver.net/pub/mint-packages/dists/serena/