Right.. I actually stripped down the PLuginMain.cpp r_plugin.h and
REALplugin.h . Used a simple c++ example and registerd a global method as
per the register routines.
I compiled using a makefile(obtained fro mailing list archive) and generated
a shared library.
I have two questions:
1)I had compiled wih g++ on my LINUX box and then used the RB converter to
convert it into a RB plugin on my Windows box which has the RB application.
I am getting to wonder if I should have first of all used g++ on my windows
box thru cygwin or similar utility, instead of directly compiling on the
LINUX box.
2) The makefile specified an option -shared. Should't it be -static?
Thanks in advance.
-----Original Message-----
From: realbasic-plugins-bounces at lists dot realsoftware dot com
[mailto:realbasic-plugins-bounces at lists dot realsoftware dot com] On Behalf
Of
William Yu
Sent: Wednesday, March 16, 2005 8:56 PM
To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: want to develop a simple LINUX plugin
On 3/16/05 8:54 AM, "Ramana Rao" <ramana dot rao at induslogic dot com> wrote:
> I am trying to create a simple LINUX plugin. Even a "helloworld" would
do.
> Can someone please tell me as to how to go about it.
>
> I tried compiling with g++ on my linux box, the example inside "plugin
> download SDK from REALbasic" (testPlugin.cpp). I believe that it is MAC
and
> windows specific. Is that true?
Right, there was some confusion when we put the SDK together, try
downloading the Mac version of the SDK and check out the BoxControl plug-in.
There should be a sample makefile. It's a bit more complicated than
HelloWorld, but you can always strip it down to its bare essentials.
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|