Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Use Gstreamer with Upp
Use Gstreamer with Upp [message #46379] Tue, 03 May 2016 12:29 Go to next message
Infausto is currently offline  Infausto
Messages: 28
Registered: June 2008
Promising Member
Hello everyone:

I'm trying to setup a project using Upp ControlLib and Gstreamer under Windows and MSYS2/MinGW-w64. All runs fine when building the examples of Upp, but when the linker options "-LD:/toolkit/artifacts/gst/1.0/x86_64/lib -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl" are added in the "Package Organizer" dialog to build the "Hello World" example of Gstreamer, all goes to trash can.

Using the "All static" option in "Output Mode" dialog, i get a single error: "undefined reference to gst_init", but when i pick the "Use shared libs", several errors are thrown.

Some of them are:

... uppsrc/Core/Other.h:121: undefined reference to `__cxa_throw_bad_array_new_length'
... /CtrlLib/MSYS_MinGW_w64_x86_64.Debug.Debug_Full.Gui.Mt.Share d\$blitz.o:$blitz.cpp:(.data+0xe30): more undefined references to `__gxx_personality_seh0'


The oddity is when i compile from prompt a Gstreamer sample that not use Upp and using g++, all works fine.

Here the command line: D:\toolkit\artifacts\msys2\mingw64\bin>g++ -mms-bitfields -ID:/toolkit/artifacts/gst/1.0/x86_64/include/gstreamer-1.0 -ID:/toolkit/artifacts/gst/1.0/x86_64/lib/gstreamer-1.0/incl ude -ID:/toolkit/artifacts/gst/1.0/x86_64/include/glib-2.0 -ID:/toolkit/artifacts/gst/1.0/x86_64/lib/glib-2.0/include main.cpp -LD:/toolkit/artifacts/gst/1.0/x86_64/lib -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl


Any ideas to solve this?

Many thanks in advance.

[Updated on: Tue, 03 May 2016 12:39]

Report message to a moderator

Re: Use Gstreamer with Upp [message #46421 is a reply to message #46379] Mon, 09 May 2016 23:20 Go to previous messageGo to next message
Infausto is currently offline  Infausto
Messages: 28
Registered: June 2008
Promising Member
Quote:
/CtrlLib/MSYS_MinGW_w64_x86_64.Debug.Debug_Full.Gui.Mt.Share d\$blitz.o:$blitz.cpp:(.data+0xe30): more undefined references to `__gxx_personality_seh0'



Nevermind, it was a compiler mismatch error. I used an MinGW-w64 builded with SEH exception mechanism, but the official Gstreamer Windows build uses SJLJ exception mechanism.

Using a SJLJ version of MinGW-w64 removes de error.


Salute.
Re: Use Gstreamer with Upp [message #46422 is a reply to message #46379] Mon, 09 May 2016 23:26 Go to previous messageGo to next message
Infausto is currently offline  Infausto
Messages: 28
Registered: June 2008
Promising Member
--duplicate--

[Updated on: Mon, 09 May 2016 23:30]

Report message to a moderator

Re: Use Gstreamer with Upp [message #46424 is a reply to message #46379] Mon, 09 May 2016 23:28 Go to previous message
Infausto is currently offline  Infausto
Messages: 28
Registered: June 2008
Promising Member
--duplicate--

[Updated on: Mon, 09 May 2016 23:30]

Report message to a moderator

Previous Topic: Option ctrl in a sqlarray
Next Topic: Direct printing to a specific printer
Goto Forum:
  


Current Time: Thu Mar 28 14:05:40 CET 2024

Total time taken to generate the page: 0.01084 seconds