Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile under Ubuntu 20.04.5 #274

Open
dansmolik opened this issue Sep 5, 2022 · 0 comments
Open

Unable to compile under Ubuntu 20.04.5 #274

dansmolik opened this issue Sep 5, 2022 · 0 comments
Labels

Comments

@dansmolik
Copy link

We wold like help to improve Xibo.player under Linux with Nvidia proprietary drives. To start this job I would like compile xibo-player without SNAP. I install recommended Ubuntu 20.04.05 use Dockerfile as instruction. I resolved many problems and now I have last one. When build process is close to end compilation fails with this:

/usr/bin/cmake -E cmake_link_script CMakeFiles/xibo-player.dir/link.txt --verbose=1
/usr/bin/c++ -g -static-libgcc -static-libstdc++ CMakeFiles/xibo-player.dir/main.cpp.o CMakeFiles/xibo-player.dir/MainLoop.cpp.o CMakeFiles/xibo-player.dir/XiboApp.cpp.o -o bin/xibo-player -Wl,-rpath,/usr/local/lib xmr/libxmr.a cms/libcms.a networking/libnetworking.a schedule/libschedule.a config/libconfig.a control/libcontrol.a common/system/libsystem.a -ldl -lbacktrace xmr/libxmr.a /usr/lib/x86_64-linux-gnu/libzmq.so common/storage/libstorage.a control/screenshot/libscreenshot.a control/screenshot/gtk/libscreenshot_gtk.a /usr/lib/x86_64-linux-gnu/libX11.so control/media/libmedia.a /usr/lib/x86_64-linux-gnu/libgstpbutils-1.0.so /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so /usr/lib/x86_64-linux-gnu/libgstgl-1.0.so /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so /usr/lib/x86_64-linux-gnu/libgstapp-1.0.so /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so /usr/lib/x86_64-linux-gnu/libwebkitgtk-3.0.so /usr/lib/x86_64-linux-gnu/libsoup-2.4.so /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-3.0.so control/transitions/libtransitions.a control/layout/liblayout.a stat/libstat.a /usr/lib/x86_64-linux-gnu/libsqlite3.so control/region/libregion.a control/widgets/libwidgets.a control/widgets/gtk/libwidgets_gtk.a /usr/lib/x86_64-linux-gnu/libgtkmm-3.0.so /usr/lib/x86_64-linux-gnu/libatkmm-1.6.so /usr/lib/x86_64-linux-gnu/libgdkmm-3.0.so /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so /usr/lib/x86_64-linux-gnu/libpangomm-1.4.so /usr/lib/x86_64-linux-gnu/libgtk-3.so /usr/lib/x86_64-linux-gnu/libgdk-3.so /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so /usr/lib/x86_64-linux-gnu/libpango-1.0.so /usr/lib/x86_64-linux-gnu/libharfbuzz.so /usr/lib/x86_64-linux-gnu/libatk-1.0.so /usr/lib/x86_64-linux-gnu/libcairo-gobject.so /usr/lib/x86_64-linux-gnu/libgio-2.0.so /usr/lib/x86_64-linux-gnu/libcairomm-1.0.so /usr/lib/x86_64-linux-gnu/libcairo.so /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so control/status/libstatus.a config/libconfig.a common/fs/libfs.a common/types/libtypes.a common/parsing/libparsing.a config/libconfig.a common/fs/libfs.a common/types/libtypes.a common/parsing/libparsing.a /usr/lib/libboost_filesystem.so common/libcommon.a /usr/lib/libboost_thread.so /usr/lib/libboost_chrono.so /usr/lib/libboost_atomic.so /usr/lib/libboost_system.so common/logger/liblogger.a common/dt/libdt.a /usr/lib/libboost_date_time.so /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libsigc-2.0.so /usr/local/lib/libdate-tz.so /usr/lib/x86_64-linux-gnu/libspdlog.so.1.5.0 -lpthread /usr/lib/x86_64-linux-gnu/libcryptopp.so /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/lib/x86_64-linux-gnu/libdbus-1.so common/crypto/libcrypto.a
/usr/bin/ld: cms/libcms.a(XmdsRequestSender.cpp.o): in function std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > CryptoUtils::keyToString<CryptoPP::RSAFunction>(CryptoPP::RSAFunction const&)': /home/marvin/xibo-linux/player/common/crypto/CryptoUtils.hpp:31: undefined reference to CryptoPP::PEM_Save(CryptoPP::BufferedTransformation&, CryptoPP::RSAFunction const&)'
/usr/bin/ld: common/crypto/libcrypto.a(CryptoUtils.cpp.o): in function CryptoUtils::loadRsaKeys(FilePath const&, FilePath const&)': /home/marvin/xibo-linux/player/common/crypto/CryptoUtils.cpp:34: undefined reference to CryptoPP::PEM_Load(CryptoPP::BufferedTransformation&, CryptoPP::RSAFunction&)'
/usr/bin/ld: /home/marvin/xibo-linux/player/common/crypto/CryptoUtils.cpp:35: undefined reference to CryptoPP::PEM_Load(CryptoPP::BufferedTransformation&, CryptoPP::InvertibleRSAFunction&)' /usr/bin/ld: common/crypto/libcrypto.a(CryptoUtils.cpp.o): in function CryptoUtils::saveRsaKeys(RsaKeyPair const&, FilePath const&, FilePath const&)':
/home/marvin/xibo-linux/player/common/crypto/CryptoUtils.cpp:45: undefined reference to CryptoPP::PEM_Save(CryptoPP::BufferedTransformation&, CryptoPP::RSAFunction const&)' /usr/bin/ld: /home/marvin/xibo-linux/player/common/crypto/CryptoUtils.cpp:46: undefined reference to CryptoPP::PEM_Save(CryptoPP::BufferedTransformation&, CryptoPP::InvertibleRSAFunction const&)'

I tested everything but now I have no idea how continue.

Environment (please complete the following information):

  • Linux Disto: Ubuntu 20.04
  • Linux Desktop Environment: none
  • How the player was launched: compiled binaries
  • Player Version: e.g. 1.8-R8 latest git clone
@dansmolik dansmolik added the bug label Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant