To compile a gadget Pyuv-player, discover that you need wxwidgets support, error messages:
Source/playuvapp.h:31:23:fatal error:wx/wxprec.h:no such file or directory
So search online, find the official website https://www.wxwidgets.org/
Follow the prompts to download the source code,./configure found errors at compile time, missing gtk+2.
Checking for GTK + version ... checking for pkg-config .../usr/bin/pkg-config checking for GTK +-version >= 2.6.0 ... NO * * * * could not run GTK + test program, checking why ... * * * * The test program failed to compile or link. The file Config.log for the * * * exact error that occurred.
This usually means GTK + is incorrectly installed. Checking for pkg-config ... (cached)/usr/bin/pkg-config checking for GTK +-version >= 3.0.0 ... NO * * * * could not run GTK + test program, checking why ... * * * * The test program failed to compile or link. The file Config.log for the * * * exact error that occured.
This usually means GTK + is incorrectly installed. Checking for gtk-config ... no checking for gtk-version >= 1.2.7 ... NO * * * * * * Gtk-config script installed by GTK could is not to found * * * If GTK is installed in PREFIX, make sure Prefix/bin
IS in * * * your path, or set the GTK_CONFIG environment variable to the * * * full path to gtk-config. Checking for gtk-config ... (cached) No checking for GTK-version >= 1.2.3 ... NO * * * * * * Gtk-config script installed by GTK could is not to found * * * If GTK is installed in PREFIX, make sure Prefix/bin
IS in * * * your path, or set the GTK_CONFIG environment variable to the * * * full path to gtk-config. Configure:error:The Development files for GTK + were not found. For GTK + 2, please ensure that pkg-config are in the path and the GTK+-2.0.PC is installed. For GTK + 1.2 Please check this gtk-config is in the path, and this version is 1.2.3 or above. Also Check that this libraries returned by ' Pkg-config gtk+-2.0--libs ' or ' gtk-config--libs ' are in the Ld_library_path O
R equivalent.
So install Gtk2-devel and binutils first.
Yum-y Install Gtk2-devel Binutils-devel
Then./configure && make && sudo make install.