uos stopped working when migrating from Linux Mint to Raspbian

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
31 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: uos stopped working when migrating from Linux Mint to Raspbian

jeremzw
With all those errors with LCL, I'm starting to wonder if I shouldn't re-write all the program replacing LCL widgets with frpGUI or mseGUI widgets....
Reply | Threaded
Open this post in threaded view
|

Re: uos stopped working when migrating from Linux Mint to Raspbian

fredvs
Administrator
In reply to this post by jeremzw
Hello.

Ha, yes but you should have a very big file of years of sound before to have problems.
Otherwise, those warnings are not terrible and should not disable the sound.

Try first with GTK widget, maybe with the code Typhon it would be better.
Qt5 is in development, try first Qt4.
Reply | Threaded
Open this post in threaded view
|

Re: uos stopped working when migrating from Linux Mint to Raspbian

fredvs
Administrator
In CodeTyphon center there is a menu to download the Qt4 and Qt5 libraries.
Reply | Threaded
Open this post in threaded view
|

Re: uos stopped working when migrating from Linux Mint to Raspbian

jeremzw
The warnings shouldn't be a problem to test the sound, right, but the two errors at the end make the execution impossible.
But I'm going to try to download the qt libraries first (I think my EDITyphon is set to qt5 right now)
Reply | Threaded
Open this post in threaded view
|

Re: uos stopped working when migrating from Linux Mint to Raspbian

jeremzw
Alright, I solved the error : libqt5pas-dev needed to be installed.

Here are the tests results so far, with my program :

*GTK2 : exact same problem than lazarus
*QT4 : the EDI doesn't start, despite trying to install it and remove it several times.
*QT5 : exact same problem

I haven't try fpGUI widget, I'm too afraid it's going to be uncompatible with the control I set.

Simpleplayer.ctpr was only tried with qt5, but I couldn'try it because of some controls missing, starting with tODBC not found.
I'm thinking in switching to GTK3 to try both programs, but it's a bit desperating !
Reply | Threaded
Open this post in threaded view
|

Re: uos stopped working when migrating from Linux Mint to Raspbian

fredvs
Administrator
Hello.


> *GTK2 : exact same problem than lazarus

What problem, of sound or to install GTK2?

> I haven't try fpGUI widget, I'm too afraid it's going to be uncompatible with the control I set.

Indeed, thje LCL/fpGUI is not working yet, only "pure fpGUI" works.
And it will be the same as msegui, you will need to re-write all.

> *QT4 : the EDI doesn't start, despite trying to install it and remove it several times

That said, about LCL, it would be great if you can install Qt widget (not Qt5).

By the way, how do you select a widget for compilation of your program?

It is in menu Typhon/Project/Config/Compiler options/

Then click on "Choose other widget"


Reply | Threaded
Open this post in threaded view
|

Re: uos stopped working when migrating from Linux Mint to Raspbian

jeremzw
Hello again,

No, GTK2 worked in Typhon. But I had the same sound problem (no sound, playing too fast) than in Lazarus.
I just tried fpGUI widget, but I couldn't open the IDE...

CodeTyphon never let me chose "QT". Only QT4 or QT5.

Maybe I'm doing it the wrong way, but I selected the widget in CodeTyphon :
1) CodeTyphon Settings, choosing the platform widget
2) HostPC > Install system libraries
3) TyphoneIDE > remove from disk, and then TyphonIDE32, build BIG IDE

It's taking quite a long time each time, but maybe this is easier your way ? Setting it up in the IDE ?
I'm going to try what you said, but I'm starting to wonder whether I should re-write my program, maybe with a better IDE and the ideal widgetset...
Reply | Threaded
Open this post in threaded view
|

Re: uos stopped working when migrating from Linux Mint to Raspbian

fredvs
Administrator
No, you dont need to re-build TyphonIDE.

Just choose in Menu of CodeTyphon/CodeTyphon/Install Qt libraries and do it only once.

And when you run TyphonIDE, in your project option, choose Qt as widget (described in previous post) .

Sorry, I cannot help more, maybe you should ask to CodeTyphon forum.

Fre;D
Reply | Threaded
Open this post in threaded view
|

Re: uos stopped working when migrating from Linux Mint to Raspbian

fredvs
Administrator
Choose widget in your project file of TyphonIDE, not CodeTyphon utility.
Also you need root access for  CodeTyphon utility.

CodeTyphon is utility that let you to customize TyphonIDE himself, for example recompiling it with Qt4.

Do not choose the widget in CodeTyphon program, let it like it is with GTK2.
But choose it in TyphonIDE.

Good night.

Fre;D
Reply | Threaded
Open this post in threaded view
|

Re: uos stopped working when migrating from Linux Mint to Raspbian

jeremzw
In reply to this post by fredvs
Thanks you already helped a lot !

I'll try that last suggestion, and if it doesn't work will start a new project from scratch, maybe with fpgui or msegui...
Reply | Threaded
Open this post in threaded view
|

Re: uos stopped working when migrating from Linux Mint to Raspbian

jeremzw
Hello,

one last question... on which version of Raspbian did you test uos ?
I just thought this might be the problem, and I would switch to a previous version (I'm on Buster).
Thank you,

Jérémie
12