I compiled radiotray-ng on opensuse tumbleweed. Here is the list of dependencies I had to solve.
ypper in boost-devel libboost_filesystem-devel libboost_thread-devel libboost_system-devel libboost_log-devel libboost_program_options-devel
zypper in wxGTK3-3_2-devel
zypper in jsoncpp-devel
zypper in gstreamer-devel
zypper in libxdg-basedir-devel
zypper in libbsd-devel
zypper in dbus-1-glib-devel libappindicator3-1 libappindicator3-devel libdbusmenu-glib4 libdbusmenu-glib-devel libdbusmenu-gtk3-4 libindicator3-7
zypper in libnotify-devel
zyyper in glibmm2_4-devel libgiomm-2_4-1 libglibmm-2_4-1 libsigc++2-devel libsigc-2_0-0
zypper in lsb-release
The compilation of radiotray-ng went well, but the compilation of the bookmark editor didn't succeed. The errors are the following:
Dans la fonction membre « wxBitmap StationDragAndDrop::makeDragImage(const string&, const wxColour*, const wxColour*) »:
/home/jpv/dev-c/radiotray-ng/src/radiotray-ng/gui/editor/station_drop_target.cpp:112:66: erreur: « wxFont::wxFont(int, int, int, int, bool, const wxString&, wxFontEncoding) » est obsolète: use wxFONT{FAMILY,STYLE,WEIGHT}_XXX constants [-Werror=deprecated-declarations]
112 | tmp_dc.SetFont(wxFont(DRAG_FONT_POINT, wxSWISS, wxITALIC, wxBOLD));
| ^
Dans le fichier inclus depuis /usr/include/wx-3.1/wx/font.h:656,
depuis /usr/include/wx-3.1/wx/window.h:23,
depuis /usr/include/wx-3.1/wx/wx.h:38,
depuis /home/jpv/dev-c/radiotray-ng/src/radiotray-ng/gui/editor/editor_app.hpp:21,
depuis /home/jpv/dev-c/radiotray-ng/src/radiotray-ng/gui/editor/station_drop_target.cpp:29:
/usr/include/wx-3.1/wx/gtk/font.h:89:5: note: déclaré ici
89 | wxFont(int size,
| ^~~~~~
/home/jpv/dev-c/radiotray-ng/src/radiotray-ng/gui/editor/station_drop_target.cpp:124:40: erreur: « wxPen::wxPen(const wxColour&, int, int) » est obsolète: use wxPENSTYLE_XXX constants [-Werror=deprecated-declarations]
124 | dc.SetPen(wxPen(*textcolor, 1, wxSOLID));
| ^
Dans le fichier inclus depuis /usr/include/wx-3.1/wx/pen.h:88,
depuis /usr/include/wx-3.1/wx/generic/statusbr.h:18,
depuis /usr/include/wx-3.1/wx/statusbr.h:244,
depuis /usr/include/wx-3.1/wx/frame.h:19,
depuis /usr/include/wx-3.1/wx/wx.h:42,
depuis /home/jpv/dev-c/radiotray-ng/src/radiotray-ng/gui/editor/editor_app.hpp:21,
depuis /home/jpv/dev-c/radiotray-ng/src/radiotray-ng/gui/editor/station_drop_target.cpp:29:
/usr/include/wx-3.1/wx/gtk/pen.h:51:5: note: déclaré ici
51 | wxPen(const wxColour& col, int width, int style);
| ^~~~~
/home/jpv/dev-c/radiotray-ng/src/radiotray-ng/gui/editor/station_drop_target.cpp:125:42: erreur: « wxBrush::wxBrush(const wxColour&, int) » est obsolète: use wxBRUSHSTYLE_XXX constants [-Werror=deprecated-declarations]
125 | dc.SetBrush(wxBrush(*background, wxSOLID));
| ^
Dans le fichier inclus depuis /usr/include/wx-3.1/wx/brush.h:77,
depuis /usr/include/wx-3.1/wx/dc.h:24,
depuis /usr/include/wx-3.1/wx/wx.h:50,
depuis /home/jpv/dev-c/radiotray-ng/src/radiotray-ng/gui/editor/editor_app.hpp:21,
depuis /home/jpv/dev-c/radiotray-ng/src/radiotray-ng/gui/editor/station_drop_target.cpp:29:
/usr/include/wx-3.1/wx/gtk/brush.h:41:5: note: déclaré ici
41 | wxBrush(const wxColour& col, int style);
| ^~~~~~~
/home/jpv/dev-c/radiotray-ng/src/radiotray-ng/gui/editor/station_drop_target.cpp:134:62: erreur: « wxFont::wxFont(int, int, int, int, bool, const wxString&, wxFontEncoding) » est obsolète: use wxFONT{FAMILY,STYLE,WEIGHT}_XXX constants [-Werror=deprecated-declarations]
134 | dc.SetFont(wxFont(DRAG_FONT_POINT, wxSWISS, wxITALIC, wxBOLD));
| ^
Dans le fichier inclus depuis /usr/include/wx-3.1/wx/font.h:656,
depuis /usr/include/wx-3.1/wx/window.h:23,
depuis /usr/include/wx-3.1/wx/wx.h:38,
depuis /home/jpv/dev-c/radiotray-ng/src/radiotray-ng/gui/editor/editor_app.hpp:21,
depuis /home/jpv/dev-c/radiotray-ng/src/radiotray-ng/gui/editor/station_drop_target.cpp:29:
/usr/include/wx-3.1/wx/gtk/font.h:89:5: note: déclaré ici
89 | wxFont(int size,
| ^~~~~~
cc1plus : tous les avertissements sont traités comme des erreurs
make[2]: *** [src/radiotray-ng/gui/editor/CMakeFiles/rtng-bookmark-editor.dir/build.make:167: src/radiotray-ng/gui/editor/CMakeFiles/rtng-bookmark-editor.dir/station_drop_target.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:581: src/radiotray-ng/gui/editor/CMakeFiles/rtng-bookmark-editor.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
I compiled radiotray-ng on opensuse tumbleweed. Here is the list of dependencies I had to solve.
The compilation of radiotray-ng went well, but the compilation of the bookmark editor didn't succeed. The errors are the following:
I hope this data can help you