Closed GoogleCodeExporter closed 8 years ago
Are you compiling it yourself from the repo. trunk or using the provided
installers? It sounds like you're compiling it yourself since you mentioned the
plugin directory.
You should delete your registry file (typically
C:\Users\<Account>\.gstreamer-0.10\registry.i686.bin) and then use gst-inspect
<plugin name> to see if gstreamer picked it up. If it didn't, then there's
something else wrong. Double check that you're not crossing an installed
gstreamer winbuilds w/ a locally built one. In that case, the env. var.
GST_PLUGIN_PATH would be set and your local build would be looking in the wrong
place.
Use test.bat in the <OSSBuild>/Tools/ directory to launch a command window with
the correct env. vars. set and then delete your registry file, and run
gst-inspect again. test.bat should setup the proper environment, overriding any
system-wide configuration. I always test my new builds with it.
Original comment by david.g.hoyt
on 28 Sep 2010 at 4:01
1. I have NOT made full build on Windows, because my VC is ver. 8 while the
code from SVN need Ver.9. So I setup my enviroment by installing
"GStreamer-WinBuilds-GPL-x86.msi", "GStreamer-WinBuilds-SDK-GPL-x86.msi" and
"ffmpeg".
2. I CAN compile & run gst-apps successfully which means the enviromant setting
is correct
3. But when I try to build Gst plugin by (a) setting up empty VC2005 dll
project and then (b) adding sample file (*.c and *.h), it can build
successfully but cannot be found by gst-inspect even I copy it into install
directory ".../Gstreamer/bin/". (The file is attached)
4. When I delete "registry.i686.bin", I can find that "gst-init()" can retrival
all the .dll files in install directory, but my plugin can not be found
correctly. I found this by debugging the "gst-inspect.c" code
5. Since I have no full build enviroment, it is quite difficult for me to debug
into gst code. So where is my wrong? Can you help me?
Many thanks
Jimmy
Original comment by jcai2...@gmail.com
on 29 Sep 2010 at 2:32
Attachments:
I suppose I made a foolish mistake:) I should copy the plugin to
".../Gstreamer/lib/gstreamer-0.10/" but not ".../Gstreamer/bin/"
Sorry for the bothering :)
Thanks
Jimmy
Original comment by jcai2...@gmail.com
on 29 Sep 2010 at 5:12
It's not a problem. (c:
Original comment by david.g.hoyt
on 29 Sep 2010 at 5:54
Original issue reported on code.google.com by
jcai2...@gmail.com
on 28 Sep 2010 at 3:08