how to compile youtube-api appliation
Posted
by
Gpathy
on Stack Overflow
See other posts from Stack Overflow
or by Gpathy
Published on 2011-01-04T10:49:32Z
Indexed on
2011/01/04
10:54 UTC
Read the original article
Hit count: 193
youtube-api
Hi, i am developing a custom Youtube video player. But i am not able to compile the program. I am missing something in Makefile. My program looks like
main.c
#include<gdata/services/youtube/gdata-youtube-service.h>
int main(int argc, char **argv[])
{
printf("Youtube Application\n");
return 0;
}
makefile
gcc `pkg-config --cflags --libs libgdata-google-1.2` -lgdata-google-1.2 main.c -o youtube
When i compile, it is giving error like error: gdata/services/youtube/gdata-youtube-service.h: No such file or directory
Do i got to install some other packages ? Or, i need to include something in my Makefile ?
Thanks...
© Stack Overflow or respective owner