Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Mon Oct 16, 2017 4:59 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Feature Request for complete update to the Plugin SDK
PostPosted: Mon Oct 22, 2007 12:21 pm 
Offline
User avatar

Joined: Thu Jan 04, 2007 1:00 pm
Posts: 176
Location: Lego® Deathstar, Orbiting Above Scottsdale, AZ, USA
Since a lot of us seem to be lost as we try to get started writing cross-platform plugins with the currently available information, I've created the following feature request:

http://realsoftware.com/feedback/lldpdfxc

Quote:
The current Plugin SDK documentation is still woefully out of date even though the ReadMe for the changes is new. No one that I know of still uses Code Warrior, so why is the Xcode template buried in the Examples? Also, there are no Linux-compatible examples and we actually need to get the usable Xcode template from a third party (http://www.thismuchiknow.co.uk/?p=20) for things to work properly in Xcode without a lot of "updating" of the compiler settings.

Please update the SDK to include proper Xcode, Visual Studio, and Linux gcc configuration/template information and examples that will compile properly using those configuration/template settings.

Please sign on and lets see if we can get things brought up to date.

Tim


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Oct 25, 2007 10:54 pm 
Offline
User avatar

Joined: Fri Sep 30, 2005 11:48 am
Posts: 3554
Location: Lenexa, KS
Amen. You'd think RS doesn't *want* plugin developers given the state of the plugin documentation.

_________________
Bob K.

A blog about being a Real Studio/Xojo developer at http://www.bkeeneybriefs.com


Top
 Profile  
Reply with quote  
 Post subject: How about documentation instead of apologies?
PostPosted: Thu Nov 08, 2007 6:07 pm 
Offline
User avatar

Joined: Thu Jan 04, 2007 1:00 pm
Posts: 176
Location: Lego® Deathstar, Orbiting Above Scottsdale, AZ, USA
Okay, I've just perused the entire RS forum Plugins archive and all I can find when folks ask for documentation and examples is apologies and "oh, I thought...but I was wrong".

C'mon guys, what's it take to update the documentation and provide examples that actually build and work on all three supported platforms.

How about direct answers from the RS team to these direct questions:
    How do I configure Xcode to build a plugin? - and don't refer us to Dave's article at "This much I know". Give us a direct answer and a working example xcodeproj file.

    How do I configure Visual Studio to build a plugin? Even your own examples don't build successfully. Again, provide an example and .dsw for the project.

    How do I configure a Linux Makefile project to build a proper SO for a plugin? I can't find ANYTHING on that anywhere. Even a simple gcc command line would be more than what we have now.
Can you tell I'm frustrated? I've just spent the better part of 5 days chasing down and "trial-and-error" building a simple, single function plugin when I should have been able to pick up the SDK docs and been building in the same afternoon. And, things still aren't right for Linux and Windows.

Tim


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 09, 2007 9:44 am 
Offline

Joined: Sat Oct 01, 2005 5:13 am
Posts: 603
Location: Shanghai, China
Just read glue code and header files by yourself~ It seems many things won't be documented soon.

_________________
ToringoCrypto Plugin - RSA (128 to 1024), DES/3DES/TDEA, etc.
ToringoDRMInfo Plugin - Uniquely identify computers via hardware information.
【My Company: Are you looking for someone to help you work on your projects?


Top
 Profile  
Reply with quote  
 Post subject: Header files don't help configuring compiler environments
PostPosted: Fri Nov 09, 2007 10:30 am 
Offline
User avatar

Joined: Thu Jan 04, 2007 1:00 pm
Posts: 176
Location: Lego® Deathstar, Orbiting Above Scottsdale, AZ, USA
Nice thought, but the headers don't explain how to configure Visual Studio to build the RB DLL nor the special include order for Linux builds.

Grrr :x - wxPython keeps looking better and better. Truly multi-platform AND documented in more than 15 languages.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 09, 2007 10:53 am 
Offline

Joined: Sat Oct 01, 2005 12:18 pm
Posts: 1358
I don't know about how to compile for Linux, but both Aaron's and My tutorial cover VC++ setup, and mine also covers how to setup for Dev-C++, which is based on Mingw, or the windows port of GCC. I'd imagine that it would be similar, but I don't know what other options would be needed in linux.

If you figure it out for linux, let me know and I'll update my tutorial (which was recently recovered after an HDD crash)

_________________
Image
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 09, 2007 11:14 am 
Offline
User avatar

Joined: Thu Jan 04, 2007 1:00 pm
Posts: 176
Location: Lego® Deathstar, Orbiting Above Scottsdale, AZ, USA
Maybe after we get these steps all documented, RS will pay us to put them into the SDK since we're saving their engineers time that they can spend solving the Carbon Theme-API memory leak on Leopard (yeah, right)...

Yep - in case you've missed my mood - I'm becoming a bit jaded and a quite a bit grumpy over the time I've wasted tracking down what should be documented by the vendor of the product. As Bob said, you'd think they don't WANT us to develop plugins.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 09, 2007 11:42 am 
Offline

Joined: Sat Oct 01, 2005 5:13 am
Posts: 603
Location: Shanghai, China
jdiwnab wrote:
I don't know about how to compile for Linux, but both Aaron's and My tutorial cover VC++ setup, and mine also covers how to setup for Dev-C++, which is based on Mingw, or the windows port of GCC. I'd imagine that it would be similar, but I don't know what other options would be needed in linux.

If you figure it out for linux, let me know and I'll update my tutorial (which was recently recovered after an HDD crash)


For Linux, you should write a make file to compile the .so, I think you can refer the linux make file included in the source files of MySQL plugin.

_________________
ToringoCrypto Plugin - RSA (128 to 1024), DES/3DES/TDEA, etc.
ToringoDRMInfo Plugin - Uniquely identify computers via hardware information.
【My Company: Are you looking for someone to help you work on your projects?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Nov 10, 2007 6:58 pm 
Offline

Joined: Thu Sep 28, 2006 12:29 am
Posts: 154
Location: Austin, TX
On this topic, you might all want to check out Aaron Ballman's most recent post to his blog.

He has just started a series on writing plugins for REALbasic.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Nov 11, 2007 3:36 am 
Offline

Joined: Sat Oct 01, 2005 5:13 am
Posts: 603
Location: Shanghai, China
:wink: He also has written some insteresting posts, such as "How does the IDE work with plugins?" However, none of them are involved Linux. :cry: Waiting for him to write more.

_________________
ToringoCrypto Plugin - RSA (128 to 1024), DES/3DES/TDEA, etc.
ToringoDRMInfo Plugin - Uniquely identify computers via hardware information.
【My Company: Are you looking for someone to help you work on your projects?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Nov 11, 2007 3:40 am 
Offline

Joined: Fri Sep 30, 2005 5:54 pm
Posts: 2055
Location: Great Falls, Montana USA
Andrew,

Thanks as it was a great article.

_________________
Jonathon Bevar
REALDevelopment: http://www.semielectronics.com/realdevelopment
SemiElectronics http://www.semielectronics.com

RB2005 R4 Pro for Windows XP Pro/SP2
RB2010 R2.1 Studio Enterprise Edition


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group