Comments (5)
You should clean your build directory (rm -r *) and restart cmake. It can be possible that a old gtk version is cached (if you installed gtk 3.20 after the cmake command)
The error messages are definitely gtk related (too old version).
But instead of breaking your system you should upgrade to 16.04 or wait until I release a flatpak (maybe snap too) for gradio (version 4.1)
from gradio.
I am running Ubuntu 14.04
I just tried a fresh git pull when running cmake I got:
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for modules 'glib-2.0;gtk+-3.0>=3.18;gstreamer-1.0;json-glib-1.0;gio-2.0;gee-0.8;libsoup-2.4'
-- found glib-2.0, version 2.48.1
-- found gtk+-3.0, version 3.20.8
-- found gstreamer-1.0, version 1.2.4
-- found json-glib-1.0, version 0.16.2
-- found gio-2.0, version 2.48.1
-- found gee-0.8, version 0.10.5
-- found libsoup-2.4, version 2.44.2
-- Found Vala: /usr/bin/valac
-- checking for a minimum Vala version of 0.16
-- found Vala, version 0.22.1
-- GSettings schemas will be installed locally.
-- GSettings shemas will be compiled.
-- GSettings schemas will be installed into /usr/share/glib-2.0/schemas/
-- Configuring done
-- Generating done
-- Build files have been written to: /root/INSTALL/gradio/build
It seems that it did find the correct GTK version installed manually
but after running make I got:
~/INSTALL/gradio/build# make
[ 3%] Generating src/Data/StationProvider.c;src/Data/RadioBrowser.c;src/Data/CategoryItemProvider.c;src/Widgets/DiscoverBox/DiscoverBox.c;src/Widgets/DiscoverBox/DiscoverSidebar.c;src/Widgets/DiscoverBox/CategoriesRow.c;src/Widgets/DiscoverBox/CategoryTile.c;src/Widgets/LibraryBox.c;src/Widgets/PlayerToolbar.c;src/Widgets/StationsView/ListItem.c;src/Widgets/StationsView/GridItem.c;src/Widgets/ActionPopover.c;src/Widgets/SettingsDialog.c;src/Widgets/StationsView/StationsView.c;src/Widgets/StationsView/StationsViewButton.c;src/Widgets/StationEditorDialog.c;src/AudioPlayer.c;src/RadioStation.c;src/Util.c;src/Gradio.c;src/Widgets/MainWindow.c;src/Config.c;src/Library.c;src/MPRIS.c
/root/INSTALL/gradio/src/Widgets/DiscoverBox/DiscoverBox.vala:26.11-26.17: error: The type name `FlowBox' could not be found
private FlowBox categories;
^^^^^^^
/root/INSTALL/gradio/src/Widgets/DiscoverBox/CategoryTile.vala:6.30-6.45: error: The type name `Gtk.FlowBoxChild' could not be found
public class CategoryTile : Gtk.FlowBoxChild{
^^^^^^^^^^^^^^^^
/root/INSTALL/gradio/src/Widgets/PlayerToolbar.vala:6.31-6.43: error: The type name `Gtk.ActionBar' could not be found
public class PlayerToolbar : Gtk.ActionBar{
^^^^^^^^^^^^^
/root/INSTALL/gradio/src/Widgets/StationsView/GridItem.vala:6.26-6.41: error: The type name `Gtk.FlowBoxChild' could not be found
public class GridItem : Gtk.FlowBoxChild{
^^^^^^^^^^^^^^^^
/root/INSTALL/gradio/src/Widgets/ActionPopover.vala:6.31-6.41: error: The type name `Gtk.Popover' could not be found
public class ActionPopover : Gtk.Popover{
^^^^^^^^^^^
/root/INSTALL/gradio/src/Widgets/StationsView/StationsView.vala:15.11-15.17: error: The type name `FlowBox' could not be found
private FlowBox GridViewFlowBox;
^^^^^^^
/root/INSTALL/gradio/src/Widgets/StationsView/StationsView.vala:118.41-118.51: error: The type name `Gtk.FlowBox' could not be found
Util.remove_all_items_from_flow_box((Gtk.FlowBox) GridViewFlowBox);
^^^^^^^^^^^
/root/INSTALL/gradio/src/Util.vala:74.53-74.63: error: The type name `Gtk.FlowBox' could not be found
public static void remove_all_items_from_flow_box (Gtk.FlowBox container) {
^^^^^^^^^^^
Compilation failed: 8 error(s), 0 warning(s)
make[2]: *** [gradio_valac.stamp] Error 1
make[1]: *** [CMakeFiles/gradio.dir/all] Error 2
make: *** [all] Error 2
Any idea what might be wrong?
I really appreciate your help. I would very much like to try out gradio... 😄
from gradio.
I just tried to uninstall the old gtk3 dev package and start all over..
and with the same error. Could it be something between gtk and vala?
from gradio.
Thanks for the hint :) . Yes vala could be the problem. A too old vala version delivers too old development files (vapi).
Try with a newer vala version.
from gradio.
Thanks for the tip!
I installed the newest version of vala into the same directory as the rest of the new gtk libraries.
now it works!
from gradio.
Related Issues (20)
- rpm install instructions for fedora HOT 5
- gradio drops out at staion search screen
- Gradio keeps playing even if app is closed HOT 1
- Gradio stopped working and only reports: pa_stream_write() failed: invalid parameter HOT 1
- Advertisment played on first connection
- Automatic codec installation isn't supported by your distribution HOT 1
- Mute on middle click on tray icon HOT 1
- Add option to start minimized HOT 1
- Crash on "Add station to library" HOT 3
- Is full filesystem access really necessary to Gradio? HOT 2
- Implement flatpak filechooser portal HOT 1
- No sound on Raspberry pi
- Can you add a Brazilian radio station? HOT 2
- Missing copr build for Fedora 29 HOT 3
- feature request: sound volume fine tuning per station HOT 6
- Gradio in official Fedora repos now HOT 1
- All the search results are not shown
- Clicking on station and then quickly another one causes the first one to start playing while GRadio says the second is playing HOT 1
- AAC Codec missing on Gradio 7.3
- Why a new release? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradio.