glug-nith-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Glug-nith-discuss] Plugging in


From: Debarshi Ray
Subject: Re: [Glug-nith-discuss] Plugging in
Date: Tue, 2 Feb 2010 21:43:23 +0200

> But since GObject introspection is disabled , will it work for plugins in
> languages other than c??

Depends on whether they are using it or not. eg., you can write Python
bindings without using GObject Introspection. But do not worry because
we are only bothered about the underlying C library and trying to
write C++ bindings for it. mm-style C++ bindings [1] do not need
GObject Introspection.

> Also sir

I prefer 'monsieur' or 'janaab'. ;-)

> kindly give a brief introduction on how to work in this environment
> ie
> -how to run the example program without any plugin
> -or with some plugins enabled .

If you just build the sources using 'make' then you will find a binary
in the peas-demo directory. Did you try running it?

If you are installing (using 'make install') libpeas in a separate
prefix (eg., /usr/local or /opt) then you might need to set the
LD_LIBRARY_PATH environment variable. If libpeas-2.0.so.0 gets
installed in /opt/lib then you need to set the variable as:
$ export LD_LIBRARY_PATH=/opt/lib
before running any program that uses it (or dynamically links to it).

Happy hacking,
Debarshi

[1] 
http://library.gnome.org/devel/gtkmm-tutorial/unstable/chapter-wrapping-c-libraries.html.en

-- 
One reason that life is complex is that it has a real part and an
imaginary part.
    -- Andrew Koenig




reply via email to

[Prev in Thread] Current Thread [Next in Thread]