TheWiseNoob / OMP

OMP is an open-source music player being developed for Linux. OMP is programmed in C++ using gtkmm, GStreamer, TagLib, clastfm, and g++.
https://openmusicplayer.com
Other
100 stars 3 forks source link

No longer build on Arch Linux #43

Closed FabioLolix closed 1 year ago

FabioLolix commented 1 year ago

Hi, no longer build on Arch Linux, current gcc version is 13.2.1

In file included from GUI/GUI.cc:58:
GUI/GUI.h:654:17: error: field 'cover_file_' has incomplete type 'std::string' {aka 'std::__cxx11::basic_string<char>'}
  654 |     std::string cover_file_;
      |                 ^~~~~~~~~~~
In file included from /usr/include/c++/13.2.1/iosfwd:41,
                 from /usr/include/c++/13.2.1/bits/shared_ptr.h:52,
                 from /usr/include/c++/13.2.1/memory:80,
                 from GUI/GUI.h:91:
/usr/include/c++/13.2.1/bits/stringfwd.h:72:11: note: declaration of 'std::string' {aka 'class std::__cxx11::basic_string<char>'}
   72 |     class basic_string;
      |           ^~~~~~~~~~~~
GUI/GUI.h:656:17: error: field 'default_cover_file_' has incomplete type 'std::string' {aka 'std::__cxx11::basic_string<char>'}
  656 |     std::string default_cover_file_;
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/13.2.1/bits/stringfwd.h:72:11: note: declaration of 'std::string' {aka 'class std::__cxx11::basic_string<char>'}
   72 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from Metadata/Metadata.cc:90:
/usr/include/taglib/apeproperties.h:58:7: error: 'TAGLIB_DEPRECATED' does not name a type
   58 |       TAGLIB_DEPRECATED Properties(File *file, ReadStyle style = Average);
      |       ^~~~~~~~~~~~~~~~~
/usr/include/taglib/apeproperties.h:58:7: note: the macro 'TAGLIB_DEPRECATED' had not yet been defined
In file included from /usr/include/taglib/tstring.h:30,
                 from /usr/include/taglib/tag.h:30,
                 from /usr/include/taglib/mp4file.h:29,
                 from Metadata/Metadata.cc:104:
/usr/include/taglib/taglib.h:48: note: it was later defined here
   48 | #define TAGLIB_DEPRECATED [[deprecated]]
      | 
/usr/include/taglib/apeproperties.h:79:7: error: 'TAGLIB_DEPRECATED' does not name a type
   79 |       TAGLIB_DEPRECATED virtual int length() const;
      |       ^~~~~~~~~~~~~~~~~
/usr/include/taglib/apeproperties.h:79:7: note: the macro 'TAGLIB_DEPRECATED' had not yet been defined
/usr/include/taglib/taglib.h:48: note: it was later defined here
   48 | #define TAGLIB_DEPRECATED [[deprecated]]

omp

TheWiseNoob commented 1 year ago

OMP is currently abandoned, although I may or may not begin working on a remake/continuation of it using gtk4. ;)

TheWiseNoob commented 1 year ago

I decided to implement a quick fix for this. It required temporarily removing APE support.