include - Including libraries while compilation -
to include gstreamer libraries need use
-lgstreamer-0.10
but if want manually specify complete path.. in case
/usr/bin/gstreamer-0.10
how can that
i tried doing following, give me following errors:
-l/usr/lib/gstreamer-0.10
-l defines search path so:
-l/usr/lib -lgstreamer-0.10
note if don't use expected style of library name ('lib' prefix - library name - '.a' suffix) -l doesn't work. instead, include entire name of library @ end of compile line in makefile.
cc -o tst tst.o /usr/lib/gstreamer-0.10
Comments
Post a Comment