Which lib is it in

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Which lib is it in

Wes Miller
Administrator
How do I know which of the many dozens of libs included with the Windows OSSBUILD package I need to link in order to fix this?

Error 1 error LNK2019: unresolved external symbol _g_type_check_instance_cast referenced in function "public: void __thiscall IPC_SENDER::GstSender::sender(void)" (?sender@GstSender@IPC_SENDER@@QAEXXZ) IPC-dll.obj IPC-dll

Windows XP
OSSBUILD GStreamer

Thanks,

Wes
Reply | Threaded
Open this post in threaded view
|

Re: Which lib is it in

Wes Miller
Administrator
Turns out, linking to gobject-2.0.lib solved the immediate need.

However, how do I actually find what APIs are in a windows lib?  

Thanks,

Wes
Reply | Threaded
Open this post in threaded view
|

Re: Which lib is it in

Donny Viszneki
Don't know if this tool supports it, but it's a must have for linker
issues on MSWindows
http://www.dependencywalker.com/

On Thu, Jul 28, 2011 at 8:36 AM, Wes Miller <[hidden email]> wrote:

> Turns out, linking to gobject-2.0.lib solved the immediate need.
>
> However, how do I actually find what APIs are in a windows lib?
>
> Thanks,
>
> Wes
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Which-lib-is-it-in-tp3701183p3701204.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



--
http://codebad.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Which lib is it in

Wes Miller
Administrator
Sadly, all Depends tells me is that the various .libs are not valid windows modules.

Thanks,

Wes
Reply | Threaded
Open this post in threaded view
|

Re: Which lib is it in

Thomas Flüeli
In reply to this post by Wes Miller
> However, how do I actually find what APIs are in a windows lib?

Are you using Visual Studio or MinGW? With VS you can use 'dumpbin'
and MinGW provides 'nm'.

    dumpbin.exe -headers gobject-2.0.lib
    nm gobject-2.0.lib

HTH

Thomas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel