Skip to content

Instantly share code, notes, and snippets.

@OliverUv
Created September 30, 2013 14:09
Show Gist options
  • Save OliverUv/6764382 to your computer and use it in GitHub Desktop.
Save OliverUv/6764382 to your computer and use it in GitHub Desktop.
gcc -fPIC -g -O0 -D _DEBUG -o LinuxScreencapper.o LinuxScreencapper.cpp -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -lcairo
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
make: *** [LinuxScreencapper.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment