After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 701398 - pbutils: not exporting some symbols on windows
pbutils: not exporting some symbols on windows
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-editing-services
git master
Other Windows
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-06-01 00:06 UTC by Bruce Sharpe
Modified: 2013-06-04 17:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
header dump dump of gstpubutils-1.0.lib (53.99 KB, text/plain)
2013-06-04 16:30 UTC, Kim Lam
Details

Description Bruce Sharpe 2013-06-01 00:06:48 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
Comment 1 Sebastian Dröge (slomo) 2013-06-04 15:54:51 UTC
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
Comment 2 Kim Lam 2013-06-04 16:30:46 UTC
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.
Comment 3 Kim Lam 2013-06-04 16:34:13 UTC
Where can I find win32/common/libgstpbutils.def ?
Comment 4 Tim-Philipp Müller 2013-06-04 16:50:45 UTC
In the source code directory?

How exactly are you building this library? Which build system/environment do you use?
Comment 5 Kim Lam 2013-06-04 16:54:33 UTC
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.
Comment 6 Nicolas Dufresne (ndufresne) 2013-06-04 16:56:21 UTC
(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.
Comment 7 Bruce Sharpe 2013-06-04 16:56:43 UTC
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.
Comment 8 Bruce Sharpe 2013-06-04 16:59:06 UTC
My last comment crossed with the comment from Nicolas.  I'll try a build from git master.
Comment 9 Sebastian Dröge (slomo) 2013-06-04 17:32:29 UTC
You can simply replace upstream/1.0 with upstream/master in recipes/*.recipe