GNOME Bugzilla – Bug 701398
pbutils: not exporting some symbols on windows
Last modified: 2013-06-04 17:32:29 UTC
We are trying to build GES on top of 1.0.7 but are getting linker errors because the following symbols are not being exported in gstpbutils-1.0.lib: _gst_encoding_profile_set_preset_name _gst_discoverer_stream_info_get_stream_id _gst_encoding_profile_get_preset_name
I don't exactly see why, it's in the source code and exported just fine on other architectures and even is in the win32/common/libgstpbutils.def file
Created attachment 246014 [details] header dump dump of gstpubutils-1.0.lib The attachment is a header dump of the gstpbutils-1.0.lib. _gst_encoding_profile_set_preset_name, _gst_discoverer_stream_info_get_stream_id, _gst_encoding_profile_get_preset_name are missing in the file.
Where can I find win32/common/libgstpbutils.def ?
In the source code directory? How exactly are you building this library? Which build system/environment do you use?
So, in cerbero? The SDK is built out of cerbero under mingw. For GES, we are trying to create a Visual Studio project for to help debugging on windows, though the link error is not specific to Visual Studio, as the symbols doesn't seem to get exported.
(In reply to comment #3) > Where can I find win32/common/libgstpbutils.def ? in gst-plugins-base/win32/common/libgstpbutils.def Though these symbols are only available in git master, not in 1.0 branch. GES is being actively develop and depends on what will become GStreamer 1.2. There are also many things that only works on top of git master in current GES. I would recommand to move your try and move the windows build to that (and make sure it's not too hard to update from time to time). Feel free to contact people in #pitivi IRC channel on freenode, that's where things are being discussed and developped. I'm keeping this bug open, as GES should check that GST 1.1 development branch is being used.
I built 1.0.7 via cerbero and have the .def file here: ~/cerbero/sources/local/gst-plugins-base-1.0/win32/common/libgstpbutils.def It does not list those three symbols.
My last comment crossed with the comment from Nicolas. I'll try a build from git master.
You can simply replace upstream/1.0 with upstream/master in recipes/*.recipe