rpfm: Failed to compile on Linux due to missing lib

I tried to compile rpfm on Ubuntu 18.04 and failed on building rfpm-ui:

  = note: /usr/bin/ld: cannot find -lqt_subclasses
          collect2: error: ld returned 1 exit status

This is due to a missing lib qt_subclasses. Though I see the command using local ./libs directory which contains a qt_subclasses.lib, I think .lib is not usable for Linux. Can I compile the .so myself using source code?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

on fedora 33, fixed by installing kf5-* and adding -I/usr/include/KF5/ to INCPATH in rpfm_ui/qt_subclasses/Makefile. (because /usr/include/KF5/KTextEditor/ktexteditor/editor.h includes <KSyntaxHighlighting/Theme>…) i have also ran make inside rpfm_ui/qt_subclasses/ before running cargo build again.