Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Mon Oct 22, 2018 7:18 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Errors compiling PlugMain.cpp
PostPosted: Thu Feb 16, 2006 8:03 pm 
Offline

Joined: Thu Feb 16, 2006 7:57 pm
Posts: 7
Location: Glendale, CA
Dear Plug-in Developers,

I'm getting some errors when compiling PlugMain.cpp. First, the
enum pictureWin32Bitmap had a comma after it, and as the last line
of an enum, that's not correct C++ syntax.

After correcting that one error, I'm getting these:

Error : undefined identifier 'MovieController'
rb_plugin.h line 273 QT::MovieController
REALgetMoviePlayerController(REALmoviePlayer instance);

Error : undefined identifier 'Movie'
rb_plugin.h line 277 QT::Movie REALgetMovieMovie(REALmovie
instance);

Warning : function has no prototype
PluginMain.cpp line 916 QT::MovieController
REALgetMoviePlayerController(REALmoviePlayer instance)

Warning : function has no prototype
PluginMain.cpp line 927 QT::Movie REALgetMovieMovie(REALmovie
instance)

I could be missing something -- I'm not as familiar with RealBasic,
and I'm convering an older project, last compiled with the
RealBasic plug-in SDK that came with 3.5!

Sincerely,

Stephen Greenfield
Write Brothers, Inc.

_________________
Stephen Greenfield
Wite Brothers, Inc.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Feb 21, 2006 2:21 pm 
Offline

Joined: Thu Feb 16, 2006 7:57 pm
Posts: 7
Location: Glendale, CA
Dear Plug-in Developers, 


OK, the include path was incorrect in my updated project — my bad.

However, I still think the line in PlugMain.cpp defining the enum pictureWin32Bitmap shouldn’t have a comma after it. It was simple to correct, but I’m surprised it passed anyone’s compiler.

Sincerely,

Stephen Greenfield
Write Brothers, Inc.

_________________
Stephen Greenfield
Wite Brothers, Inc.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group