Last active
August 29, 2015 13:58
-
-
Save ozooxo/9927789 to your computer and use it in GitHub Desktop.
Install gnome glib (ubuntu 12.04)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install libglib2.0-dev | |
sudo apt-get install libgtk2.0-dev #optional | |
cat >hello.c <<EOL | |
#include <glib.h> | |
int main () { | |
return 0; | |
} | |
EOL | |
gcc `pkg-config --cflags glib-2.0` hello.c `pkg-config --libs glib-2.0` -o hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment