Hello,
I am trying to port the Cocoa OpenGL sample to MacRuby and encountered
a few problems.
First, I can't access some constants defined in an enum in GLTypes.h.
Do I need to port those constants to ruby by hand ? Is that related to
gen_bridge_metadata ?
Second, I need to use CGLQue
it seems to satisfy the CGGetActiveDisplayList function).
But how is it possible when everything here is an object and not a
series of neatly aligned bytes ?
Anyway, you are right. The part of Cocoa OpenGL I am porting now
probably doesn't need to and should be wrapped in an Objective-C
Sorry, this is just a test message. I have had problems with posting
to the list lately.
Julien Jassaud
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Well, we got it! =D
Great, but how come I didn't while my options clearly show that I
should receive my own posts ? Disturbing.
Julien Jassaud
On Sat, Feb 28, 2009 at 10:43 AM, Julien Jassaud
wrote:
Sorry, this is just a test message. I have had problems with posting
to the
o, Mac OS 10.6.2, MacRuby 0.5b2
Thanks,
Julien Jassaud
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
e GC_DISABLE environment variable to any value before starting the
> application.
Indeed, after :
macbook-de-julien-jassaud-2:Debug sojastar$ export GC_DISABLE=1
the application doesn't seem to crash anymore. But what should I do now ?
> I'm not familiar with OpenGL but
Laurent,
>>> Could you enter "thread apply all bt" into the debugger shell and paste us
>>> the result?
>>
>> Here it is. I don't understand much. The only information I can add is that
>> thread 4 do not systematically appear. Besides that, the backtraces are
>> consistent.
> [...]
>
> I lo
Jonathan,
The MacRuby-Cocoa-OpenGL sample code you mention in your first post is not
complete. The reason might be a Bridgesupport problem, reported in ticket #520.
I recently bought the SuperBible to better understand the OpenGL sample code I
was porting to MacRuby. What example are you tryin
Jonathan,
> I'm trying to teach myself openGL using the superbible and other web
> resources. To keep things simple I wanted to build the superbible examples in
> MacRuby - this should give me an easy to use platform for just trying to get
> my mind around the openGL paradigms.
Same here.
>
octype__ not initialized
Does anybody have an idea what I am doing wrong ?
Thanks,
Julien Jassaud
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
ectangle_pointer[0] = page_rectangle
>
> Laurent
>
> On Nov 4, 2010, at 3:12 AM, Julien Jassaud wrote:
>
>> Hello to every one,
>>
>> I am trying to programmatically create a pdf. I have this quite simple code
>> in Cocoa that works perfectly
#x27;
> -e:1: warning: instance variable @foo not initialized
>
> % macruby -w -e '!...@foo'
>
> On 5 nov 2010, at 18:10, Jordan K. Hubbard wrote:
>
>>
>> On Nov 4, 2010, at 7:19 PM, Julien Jassaud wrote:
>>
>>>>> This do prod
scheme's "Build" step by adding a
pre-action script to it but I don't really know what to put in it. I couldn't
even run the Makefile from it.
Thanks,
Julien Jassaud
___
MacRuby-devel mailing list
MacRuby-devel@lists.
n. Then you can
> just add a script build stage to your project. If you want to see an example
> of a MacRuby project with an Obj-C extension, take a look at ControlTower. If
> you have any other questions, ask!
>
> Cheers,
>
> Josh
>
> On Tue, Apr 12, 2011 at 5:29 P
ht try starting with the official library
> docs here: http://www.ruby-doc.org/stdlib/libdoc/mkmf/rdoc/index.html
>
> - Josh
>
> On Tue, Apr 12, 2011 at 8:04 PM, Julien Jassaud wrote:
> Joshua,
>
> Thanks for your prompt answer. I'll look into both mkmf and ControlT
are *extremely* useful. In fact, most of my
> Xcode projects end up being at least half script build phases. Hope that
> helps!
>
> On Tue, Apr 12, 2011 at 5:48 PM, Julien Jassaud
> wrote:
> Joshua,
>
> Thanks again. The official doc is a bit dry for a first contact. I
16 matches
Mail list logo