Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Wed Jan 29, 2020 9:24 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Class not found for Linux build
PostPosted: Thu Jan 20, 2011 12:03 pm 
Offline

Joined: Thu Jan 20, 2011 11:40 am
Posts: 2
Location: Victoria BC Canada
Hi,

I have a plugin that I am trying to get working with RB 2010R5. I rebuilt it using the latest SDK which includes builds on OS X, Windows, and Linux. I built the RB plugin using the current version of the plugin converter and everything looked good.

On OS X I was able to build a test app using the plugin but when I ask it to do a build for Windows or Linux it said it could not find a class defined by my plugin.

I am assuming that this is because it doesn't think the plugin supports that target.

Can someone tell me how REAL Studio decides which platforms are supported by a plugin?

Does it just check to see if the plugin has a DLL for the platform in question or does it actually check the DLL itself to see if it looks good.

This information would be very helpful in trying to find the source of my problem.

I have built the plugin before for other versions of RB with out any problem so I suspect it is a minor problem if I only knew what it was.

Barry


Top
 Profile  
Reply with quote  
 Post subject: Re: Class not found for Linux build
PostPosted: Thu Jan 20, 2011 7:23 pm 
Offline
Real Software Engineer

Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7858
Location: Canada, Alberta, Near Red Deer
BarryLeslie wrote:
Hi,

I have a plugin that I am trying to get working with RB 2010R5. I rebuilt it using the latest SDK which includes builds on OS X, Windows, and Linux. I built the RB plugin using the current version of the plugin converter and everything looked good.

On OS X I was able to build a test app using the plugin but when I ask it to do a build for Windows or Linux it said it could not find a class defined by my plugin.

I am assuming that this is because it doesn't think the plugin supports that target.

Can someone tell me how REAL Studio decides which platforms are supported by a plugin?

Does it just check to see if the plugin has a DLL for the platform in question or does it actually check the DLL itself to see if it looks good.

This information would be very helpful in trying to find the source of my problem.

I have built the plugin before for other versions of RB with out any problem so I suspect it is a minor problem if I only knew what it was.

Barry


REAL Studio actually opens the plugin RBX file and see's if the require DLL, dylib or .so exists
It can't actually load it because a .so for Linux can't be opened and run on Windows or OS X yet you can compile for those platforms from Linux

_________________
Norman Palardy (Real Software)


Top
 Profile  
Reply with quote  
 Post subject: Re: Class not found for Linux build
PostPosted: Thu Jan 20, 2011 8:32 pm 
Offline

Joined: Thu Jan 20, 2011 11:40 am
Posts: 2
Location: Victoria BC Canada
So so long as it sees a linux foo.so in the plugin it should build the linux app correct?

So when it claims that the class is missing then it must mean that for some reason it could not find anything that looked like the correct linux lib in the plugin?

If this is the case then it would mean that something went wrong when I put the plugin together rather than when I built the linux lib.

Thanks in advance to anyone who can give me some tips on how this works or why REAL Studio thinks the class is missing when building a Linux or Windows app.

Barry


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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