[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby and OpenTransport.h:723

Sandro Paganotti

6/20/2008 2:36:00 PM

[Note: parts of this message were removed to make it a legal post.]

Hi

While trying to run ogre.rb (but the same problem seems to appear also with
other gem/apps)
i stumbled in this error (I use OS10.4):

/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OpenTransport.h:723:
error: expected identifier before numeric constant

Googling around I found that it's probabily due the fact that both Ruby and
OpenTransport.h tried to
define the same structure called:

T_DATA

Now the solution I found (putting an #undef T_DATA in the file ogre.rb is
trying to compile) seems
not working.

Have experienced the same problem? Have you solved it? How? :D

Sandro


--
Go outside! The graphics are amazing!