I am trying to find gstreamer lib in windows (msvc) using pkg-config
pkg-config gstreamer-0.10 --cflags -libs
but I get a result like this
Package gstreamer-0.10 was not found in the pkg-config search path. Perhaps you should add the directory containing `gstreamer-0.10.pc' to the PKG_CONFIG_PATH environment variable No package 'gstreamer-0.10' found
a.pc, as created when the library is installed (automatically using RPM, deb, or another binary packaging system, or by compiling from source). I can not find the .pc file in my gstreamer directory.
Should I just create a .pc file with all the necessary data.
prefix=C:\Program Files (x86)\OSSBuild\GStreamer\v0.10.7 exec_prefix=${prefix} libdir=${exec_prefix}\lib includedir=${prefix}\sdk\include\gstreamer-0.10 toolsdir=${exec_prefix}\bin pluginsdir=${exec_prefix}\lib\gstreamer-0.10 datarootdir=${prefix}\share datadir=${datarootdir} girdir=${datadir}/gir-1.0 typelibdir=${libdir}/girepository-1.0 Name: GStreamer Description: Streaming media framework Requires: glib-2.0, gobject-2.0, gmodule-no-export-2.0, gthread-2.0, libxml-2.0 Version: 0.10.35 Libs: -L${libdir} -lgstreamer-0.10 Cflags: -I${includedir}
or is there any other way to do this, or am i missing something?
I hope you can help. Thanks for taking the time to read the issue.
Well, I do this to find a solution to why I get a not found message in my waf setup for gstreamer
conf.check_cfg(atleast_pkgconfig_version='0.0.0') conf.check_cfg(package='gstreamer-0.10', uselib_store='GSTREAMER', args='--cflags --libs', mandatory=True)
The code works on Linux and should work on windows as well.
ADD AFTER
Well, doing .pc and setting the .pc-dir path to the PKG_CONFIG_PATH environment variable does the trick. Not hard to do it
Check this one . Thanks for reading and helping me .. :)