Building Telegram Desktop Issue
Unsolved
General and Desktop
-
wrote on 19 Aug 2016, 13:47 last edited by Mr.AliReza
Hey guys!
I want to build Telegram Desktop under Ubuntu 16.04. I use this document:
https://github.com/telegramdesktop/tdesktop/blob/master/doc/building-qtcreator.mdBut my problem is that when I want to build "Telegram.pro" for Debug (after "if GeneratedFiles are not found click Run qmake from Build menu and try again"), I got these errors:
:-1: error: cannot find -lqtharfbuzzng :-1: error: cannot find -lqtpcre :-1: error: collect2: error: ld returned 1 exit status
How to fix them?! Please help.
Thanks! -
wrote on 19 Aug 2016, 13:52 last edited by
-lqtharfbuzzng and -lqtpcre libraries are missing , may be you need to install them.
-
wrote on 19 Aug 2016, 13:52 last edited by
@Mr-AliReza
welcome to the forum -
wrote on 19 Aug 2016, 14:11 last edited by
@VRonin Thanks, but I couldn't fix it. Can't I add these libraries like this:
LIBS += ./../../../Libraries/qt5_6_0/qtbase/lib/libqtharfbuzzng.a \ ./../../../Libraries/qt5_6_0/qtbase/lib/libqtpcre.a
-
wrote on 19 Aug 2016, 14:29 last edited by
depends where you have the libraries... these are relative paths
-
@VRonin Thanks, but I couldn't fix it. Can't I add these libraries like this:
LIBS += ./../../../Libraries/qt5_6_0/qtbase/lib/libqtharfbuzzng.a \ ./../../../Libraries/qt5_6_0/qtbase/lib/libqtpcre.a
wrote on 20 Aug 2016, 11:55 last edited byStill has errors !!
2/7