__gxx_personality_v0 should be a gcc symbol which would imply your gstreamer is built with MinGW and not MSVC. Either rebuild it with MSVC yourself or find MSVC compatible binaries.
__gxx_personality_v0 should be a gcc symbol which would imply your gstreamer is built with MinGW and not MSVC. Either rebuild it with MSVC yourself or find MSVC compatible binaries.
Thanks for reply. I am using MinGW compiler in the Qt Environment. And, i am using 32 bit compiled GStreamer binary to link.
Kindly let me know what other things i need to look at ?
You said this:
and you said this:I am using MinGW compiler in the Qt Environment.
and who knows how your gstreamer distribution was built. At a minimum, the binaries in the Qt distribution are incompatible with the compiler you are using for your app.QT Version: Based on Qt 5.2.1 (MSVC 2010, 32 bit)
As wysota has been patiently trying to tell you, you can't mix binaries from two different compilers when linking. Everything you link has to be compiled using the SAME compiler. So either rebuild everything you are using (Qt, gstreamer, your app, and any other libraries you link in) from source code or find distributions that were built with the same compiler you are using for your app. And of course everything has to be either 32-bit compiled or 64-bit compiled, not mix and match.
Extremely sorry for the confusion. Initially i was linking with msvc, later then moved to minGW, based on wysota suggestion. But still not working. it looks like need to link with libstdc++. I am not sure what to add in .pro in order to link with libstdc++. would you mind pointing out?
It is irrelevant what tool you are using to link with. If your Qt distro was built with MSVC, then you can't link it into an app (or with a library) built with mingw. If you want to use mingw, then you have to install a mingw-based Qt distro (or rebuild Qt from source code using mingw).Initially i was linking with msvc, later then moved to minGW
If you aren't doing that, then any link errors you are seeing are not due to missing libraries, but incompatibilities in what you are trying to link.
Last edited by d_stranz; 10th February 2015 at 15:46.
So, to conclude, to link with libraries compiled with mingw, the QT Distro itself should have compiled with mingw. that means i should take QT source code, and compile with mingw.
Is that the correct understanding? If so, we do have any ready built Qt distro?
This looks like the Qt version info returned by Qt Creator in its About box. This version has nothing to do with the version you are building your project with.Based on Qt 5.2.1 (MSVC 2010, 32 bit)
Built on Jan 31 2014 at 05:16:27
From revision 51af63bb9e
There a ready build Qt libraries for MingW and various Msvc versions available from the project site.
There is no information that I could see on the gstreamer site about which compilers were used to build their binaries. What is the name of the link library files in the distribution? Something.a or something.lib?Even if they are MingW built (seems less likely in an msi wrapper) they may be built with the older Gcc 4.4 which is not binary compatible with the current version for C++.
Bookmarks