Hello,
Thank you for the reply.
You mentioned that Ring is tested on Ubuntu 24. My system is Zorin OS, which is based on Ubuntu, so it should be compatible. My current system is Zorin OS (Ubuntu-based).
However, when I try to run PWCT2 with Ring 1.26, I get the following error:
Both Ring 1.26 and PWCT2 (latest version) are installed.
Could this issue be related to:
a missing dependency,
an incorrect library path,
or a compatibility problem with Zorin OS?
Has anyone successfully run PWCT2 with Ring on Zorin OS or another Ubuntu-based distribution?
Any suggestions on how to fix this would be greatly appreciated.
Thank you.
Hello,
Thank you for the suggestions.
I added ? cCode before eval(cCode) in objects.ring as suggested.
The printed value of cCode is:
DEBUG cCode: import system.gui import System.GUI $RingQt_ObjectsList[Get_Window_Pos(1)][C_RINGQT_OBJECTSLIST_OBJECT] = new environmentcontroller if isMethod($RingQt_ObjectsList[Get_Window_Pos(1)][C_RINGQT_OBJECTSLIST_OBJECT],:start) $RingQt_ObjectsList[Get_Window_Pos(1)][C_RINGQT_OBJECTSLIST_OBJECT].start() okThen the program prints the following error:
ring pwct.ring Line 79 Error (R24) : Using uninitialized variable: import In function open_window() in file /usr/local/ring/libraries/objectslib/objects.ring Called from line 31 In function startenvironment() in file /home/fz/pwct2/src/environment/environment.ring Called from line 59 in file pwct.ringRing version:
Ring version 1.26.0Executable location:
which ring /usr/local/bin/ringMy system:
Zorin OS (Ubuntu- 24.04 based distribution)
Please let me know if you need any additional information.
Thank you.