{"url":"https://strkpy.hatenadiary.org/entry/20090918/1253206116","blog_url":"https://strkpy.hatenadiary.org/","blog_title":"sotarok\u306e\u304a\u52c9\u5f37","author_name":"strkpy","published":"2009-09-18 01:48:36","categories":["GLib","C","C++"],"image_url":null,"provider_name":"Hatena Blog","type":"rich","title":" glib \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb / \u30b3\u30f3\u30d1\u30a4\u30eb","author_url":"https://blog.hatena.ne.jp/strkpy/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fstrkpy.hatenadiary.org%2Fentry%2F20090918%2F1253206116\" title=\" glib \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb / \u30b3\u30f3\u30d1\u30a4\u30eb - sotarok\u306e\u304a\u52c9\u5f37\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","version":"1.0","width":"100%","description":"\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff20Ubuntu % sudo aptitude install libglib2.0-dev \u30d1\u30b9\u306e\u901a\u3063\u305f\u5834\u6240\u306b glib.h \u306f\u306f\u3044\u3089\u306a\u3044 \u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u660e\u793a\u7684\u306b\u6307\u5b9a\u3059\u308b\u305f\u3081\u306a\u306e\u304b\u306a\uff1f -I \u3068\u304b -l \u3068\u304b\u3064\u3051\u306a\u3044\u3068\uff0c\u30a8\u30e9\u30fc\u3044\u308d\u3044\u308d\u3067\u308b\uff0e hoge.cpp:10:18: error: glib.h: No such file or directoryIn file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from hoge.cpp:10\u2026","height":"190"}