Re: Need help in compile mplayer plugin

"ying lcs" <[email protected]> Sat, 8 Dec 2007 16:29:05 -0600
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
Kevin,

Thank you. It works.
But can you please tell me why it does not need to link in with
mplayer itself during compilation?

And how can I package both the mplayer-plugin with mplayer into 1 tar
file so that I can just drop in to a fresh machine with mozilla and
get it to works?


On Dec 8, 2007 4:11 PM, Kevin DeKorte <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> ying lcs wrote:
> > Hi,
> >
> > i am trying to compile mplayer plugin under ubuntu.
> >
> > I run  'configure' with this option:./configure
> > --with-gecko-sdk=../gecko-sdk and it completes successfully.
> >
> > But when I compile, i get this error:
> >
> >
> > Source/plugin-list.cpp:316: warning: unused variable 'loopentry'
> > g++ -c -o plugin-ui.o -Wall -DXP_UNIX -DMOZ_X11 -I../gecko-sdk
> > -I../gecko-sdk/include -g -O2      -g -O2  -Iinclude -fPIC
> > -DXPCOM_GLUE -DMOZILLA_STRICT_API -I/usr/include/gtk-2.0
> > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
> > -I/usr/include/libpng12   -I/usr/include/gtk-2.0
> > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
> > -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include   -DGTK_ENABLED  Source/plugin-ui.cpp
> > Source/plugin-ui.cpp:6:21: error: X11/xpm.h: No such file or directory
> > include/pluginbase.h:55: warning: 'class nsPluginInstanceBase' has
> > virtual functions but non-virtual destructor
> >
> >
> > Thank you for any pointers
>
> Install libxpm-dev on your machine and it should work.
>
> Kevin
>
>
> - --
> Get my public GnuPG key from
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iD4DBQFHWxZ56w2kMH0L1dERAp4jAJd4/n79FSAtpRPkkK+rOf1ODGHBAKCUX1Dt
> hImCJcuLOrvfGTf/g87L9g==
> =8ksy
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Mplayerplug-in-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel
>

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php