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
Post a Comment