I just purchased Xojo so I could generate a linux executable.
I copied the executable and libs over to a VM running Centos 7.9.
It complained about not being able to find libunwind.so, so I installed that via yum.
The application loaded up and the gui was displayed, but when it came to opening and reading a file it promptly segfaulted!.
I created a new simple App with one button whose action code is detailed below. I ran this on windows and a message box popped up telling me how many lines had been read.
I built this for linux and copied the files over, fired it up, pressed the button, chose a file in the file manager and it segfaulted.
Should this code work on Linux like it does in Windows? I wondering if Xojo Linux support isn’t that stable or as comprehensive as the marketing docs claim?
Thanks for your time,
Var File As FolderItem = FolderItem.showOpenFileDialog("")
Var lineIndex() As Integer
Var input As TextInputStream
input = TextInputStream.Open(file)
While Not input.EndOfFile
Var tmpStr As String = input.readLine()
MessageBox ("Read lines: " + lineIndex.LastIndex.toString + EndOfLine)