#141: Building MacRuby 0.3 - Rake fails during openssl compilation
+---
Reporter: nucleus_...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blo
John, thanks for the ideas.
Currently, I am using a simple Obj-C class with methods instead of a
struct and functions. That works OK, but it is not the best solution,
especially in those cases where the framework would be used by Obj-C
code instead of MacRuby code and where speed is a conce
Your best bet is to take a look at the bridgesupport files for most
system frameworks
and learn from those. They are found inside Resources/BridgeSupport.
Nonetheless, it would indeed be very nice if a more elaborate guide
could be written.
Eloy
On Dec 19, 2008, at 4:45 PM, Jim Getzen wrot
#141: Building MacRuby 0.3 - Rake fails during openssl compilation
+---
Reporter: nucleus_...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blo
OK, I decided to devote a little time to see if I could make any
headway with BridgeSupport. It doesn't seem too terribly complicated,
but I have run into a problem.
My framework is called ZenGL, so I first created a struct in ZenGL.h
based on NSPoint:
typedef struct _ZPoint {
floa
Hi Jim,
Sorry for the late response!
Indeed the best way to make your C API available from MacRuby is to
cover it with a BridgeSupport file and load it, MacRuby will
reconstruct the corresponding API in the Ruby world. BridgeSupport
descriptions are language agnostic and can be loaded in o
Hi Laurent,
First, why does the Foundation.xml use the elements "function_retval"
and "function_arg" instead of just "retval" and "arg"?
Second, I used the xml you suggested, but I now get this error:
`ZPointMake': unrecognized octype `{_ZPoint="x"f"y"f}' (RuntimeError)
I have read the man p
At 16:18 -0500 12/19/08, Jim Getzen wrote:
> I have read the man pages (I had to learn what a "man page" was
> first!), but I didn't see anything that would solve that error.
FYI, man pages are great at reminding folks of options, details,
etc. They are less useful as tutorials. In any case, it
#141: Building MacRuby 0.3 - Rake fails during openssl compilation
+---
Reporter: nucleus_...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blo
Hi Jim,
You're probably looking at an old BridgeSupport file. function_retval
and function_arg do not exist anymore since a very long time, and were
replaced by retval and arg.
You should be able to get the latest Foundation bridgesupport file
from here:
/System/Library/Frameworks/F
Have you tried removing /Library/Frameworks/MacRuby.framework after
cleaning the build location, but before starting the new build?
I have had trouble with builds before and sometimes clearing out the
old MacRuby.framework helps.
On 19 Dec, 2008, at 16:29, MacRuby wrote:
#141: Building Ma
#182: The constant lookup in MacRuby does not behave correctly
+---
Reporter: vincent.isamb...@… | Owner: lsansone...@…
Type: defect | Status: new
Pr
#182: The constant lookup in MacRuby does not behave correctly
+---
Reporter: vincent.isamb...@… | Owner: lsansone...@…
Type: defect | Status: new
Pr
#183: loop/next seg faulting
-+--
Reporter: drnicwilli...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: minor| Mi
#183: loop/next seg faulting
-+--
Reporter: drnicwilli...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: minor| Mi
15 matches
Mail list logo