× Discussions for CodeTyphon Studio Installation and Setup.

Question Codetyphone + CT5 fails

  • Vbxler
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 month 3 weeks ago - 1 month 3 weeks ago #16920 by Vbxler
Codetyphone + CT5 fails was created by Vbxler
Hello everyone,

I'm trying to compile an application on QT5 for the first time,
but I'm already failing when creating Codetyphone.

I have completely removed Codetyphone from the system and want to rebuild it new.
First I installed the system libraries and then Platform (widget) Setup -> QT5.
Then I wanted to create Codetyphon but it fails.

I had to make changes to the 'ln_Typhon1_QT5pas*.sh' files on the first try because
it was looking for libQt5Pas.so.1.2.12 but libQt5Pas.so.1.2.14 was there.

But the installation fails even after repeated attempts.

System:   
Kernel: 5.4.0-107-generic x86_64 bits: 64 compiler: gcc v: 9.4.0
Desktop: Xfce 4.14 Distro: Ubuntu 20.04.4 LTS 

What am I doing wrong?

The console output is attached.

Thank you for your help!


 
Last edit: 1 month 3 weeks ago by Vbxler.

Please Log in or Create an account to join the conversation.

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
1 month 3 weeks ago #16923 by Matis A.
Replied by Matis A. on topic Codetyphone + CT5 fails
CodeTyphon 7.70 use QT5 libQt5Pas.so.1.2.12
LAB CodeTyphon 7.80 use QT5 libQt5Pas.so.1.2.14

Try to Update your CodeTyphon Installation to
to LAB CT 7.8  more info

After CT 7.8 update 
CTCenter => CodeTyphon => QT Platform => "QT5PAS Install Prebuild Libraries"


 

and Rebuild Typhon IDE

PilotLogic Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

  • Vbxler
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 month 3 weeks ago - 1 month 3 weeks ago #16924 by Vbxler
Replied by Vbxler on topic Codetyphone + CT5 fails
Thanks for the guide.

I did that, now I get some linker messages when compiling:
Projekt kompilieren, Modus: Release_Linux_64_gk2, Ziel: /media/rudi/Ablage/Daten_Privat/Z_Programmieren/Pascal/QuellenSammlung/Google/Google_Translate/qet_translate/qet_translate_01/x86_64-linux/release/qet_translate: Exit code 1, Fehler: 1, Warnungen: 32
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QTreeWidgetItem::setSelected(bool)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QTableWidgetItem::isSelected() const@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QTreeWidgetItem::setFirstColumnSpanned(bool)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QPixmap::fill(QPaintDevice const*, int, int)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QPainterPath::addRoundRect(double, double, double, double, int)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QTableWidgetItem::setSelected(bool)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QTreeWidgetItem::isFirstColumnSpanned() const@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QListWidgetItem::isSelected() const@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QGradient::~QGradient()@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QColor::lighter(int) const@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QTreeWidgetItem::isSelected() const@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `qt_version_tag@Qt_5.15'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QPainterPath::addRoundRect(QRectF const&, int)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QtPrivate::argToQString(QStringView, unsigned long, QtPrivate::ArgBase const**)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QPixmap::grabWidget(QObject*, int, int, int, int)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QPainterPath::addRoundRect(double, double, double, double, int, int)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QFile::symLinkTarget() const@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QPainter::drawRoundRect(QRect const&, int, int)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QRadialGradient::~QRadialGradient()@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QString::split(QChar, QFlags<Qt::SplitBehaviorFlags>, Qt::CaseSensitivity) const@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QJsonDocument::swap(QJsonDocument&;)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QFileInfo::symLinkTarget() const@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QConicalGradient::~QConicalGradient()@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QListWidgetItem::setSelected(bool)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QFile::symLinkTarget(QString const&;)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QColor::darker(int) const@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QPainter::drawRoundRect(int, int, int, int, int, int)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QTreeWidgetItem::isExpanded() const@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QSslKey::operator=(QSslKey&&;)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QLinearGradient::~QLinearGradient()@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QJsonValue::swap(QJsonValue&;)@Qt_5'
Warning: linker: /usr/bin/ld: /lib/x86_64-linux-gnu//libQt5Pas.so: undefined reference to `QTreeWidgetItem::setExpanded(bool)@Qt_5'
qet_translate.ppr(22,1) Error: Error while linking


By 'Rebuild Typhon IDE' do you mean as shown in the picture?

I added QT5 to the widget settings, does anything else need to be changed?
 
Last edit: 1 month 3 weeks ago by Vbxler.

Please Log in or Create an account to join the conversation.

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
1 month 3 weeks ago - 1 month 3 weeks ago #16925 by Matis A.
Replied by Matis A. on topic Codetyphone + CT5 fails
After Update to CT 7.80 
Open CTCenter
1) CTCenter => CodeTyphon => QT Platform => "QT5PAS Install Prebuild Libraries"
to install QT5 libQt5Pas.so.1.2.14 to your OS

2) CTCenter=>CodeTyphon=> "Remove and Build ALL"
FreePascal of LAB CT 7.80 it's NOT the same with CT 7.70

 

PilotLogic Core Programmer
Last edit: 1 month 3 weeks ago by Matis A..

Please Log in or Create an account to join the conversation.

  • Vbxler
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 month 3 weeks ago #16927 by Vbxler
Replied by Vbxler on topic Codetyphone + CT5 fails
Hello,

I did the above with the same result as before.
The linker messages come back like I sent before.

Where the path in the linker error messages does not exist: /lib/x86_64-linux-gnu//libQt5Pas.so

The libQt5Pas.so can be found in the following folder:
/usr/local/codetyphon/qt5pas/x86_64-linux/libQt5Pas.so
/usr/local/codetyphon/qt5pas/x86_64-linux/libQt5Pas.so.1.2.14
/usr/local/codetyphon/qt5pas/x86_64-linux/libQt5Pas.so.1
/usr/local/codetyphon/qt5pas/x86_64-linux/libQt5Pas.so.1.2
/usr/lib/x86_64-linux-gnu/libQt5Pas.so.1.2.6
/usr/lib/x86_64-linux-gnu/libQt5Pas.so
/usr/lib/x86_64-linux-gnu/libQt5Pas.so.1.2.14
/usr/lib/x86_64-linux-gnu/libQt5Pas.so.1
/usr/lib/x86_64-linux-gnu/libQt5Pas.so.1.2

Where can or do I have to adjust this path so that qt5 might run?

Please Log in or Create an account to join the conversation.

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
1 month 3 weeks ago - 1 month 3 weeks ago #16928 by Matis A.
Replied by Matis A. on topic Codetyphone + CT5 fails
Just
delete all libQt5Pas* from /usr/lib/ and
run CTCenter liqt5pas installation procedure
again
​​​​​​
 

PilotLogic Core Programmer
Last edit: 1 month 3 weeks ago by Matis A..

Please Log in or Create an account to join the conversation.

  • Vbxler
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 month 3 weeks ago #16930 by Vbxler
Replied by Vbxler on topic Codetyphone + CT5 fails
Thank you for your help,
its not possible, always the linker error from above.

A lot of wasted time for nothing, maybe I'm too stupid.
 

Please Log in or Create an account to join the conversation.

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
1 month 3 weeks ago - 1 month 3 weeks ago #16931 by Matis A.
Replied by Matis A. on topic Codetyphone + CT5 fails
Please try :
sudo rm -f  /usr/lib/x86_64-linux-gnu/libQt5Pas.so.1.2.6
sudo rm -f  /usr/lib/x86_64-linux-gnu/libQt5Pas.so
sudo rm -f  /usr/lib/x86_64-linux-gnu/libQt5Pas.so.1.2.14
sudo rm -f  /usr/lib/x86_64-linux-gnu/libQt5Pas.so.1
sudo rm -f  /usr/lib/x86_64-linux-gnu/libQt5Pas.so.1.2

the files /usr/lib/x86_64-linux-gnu/ibQt5Pas* was removed ?

PilotLogic Core Programmer
Last edit: 1 month 3 weeks ago by Matis A..

Please Log in or Create an account to join the conversation.