Home » Community » Newbie corner » Use Gstreamer with Upp
Use Gstreamer with Upp [message #46379] |
Tue, 03 May 2016 12:29 |
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
|
|
|
|
|
|
Goto Forum:
Current Time: Thu Sep 19 00:45:54 CEST 2024
Total time taken to generate the page: 0.05629 seconds
|