glibmm - undefined reference to `g_socket_connectable_to_string' -


i new gio , glibmm, trying run example code before jumping development. trying run example git on using gio use dbus in project. can see have libraries needed in os when try compile code, throws undefined reference g_socket_connectable_to_string. below compile command giving: g++ test_dbus.cpp -std=c++11 -o dbus pkg-config --cflags --libs gtkmm-2.4 gio-unix-2.0 glibmm-2.4 giomm-2.4 , output is: /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/libgiomm-2.4.so: undefined reference `g_socket_connectable_to_string' collect2: error: ld returned 1 exit status not sure library include in compile command run successfully. appreciated. in advance.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -