[Mono-osx] [MonoMac] NeHe lessons 1 through 5

kjpou kjpou at pt.lu
Mon Mar 14 00:33:26 EDT 2011


Hello

You will need to update your MonoMac addin by building from source. That 
will get you the CVDisplayLink as well as more modifications that are 
needed to run the samples.

You can find more to compile from source from here:
http://cocoa-mono.org/archives/80/exploring-cocoa-with-monomac-and-c-chapter-1-–-getting-started-–-part-2/
or
http://www.mono-project.com/MonoMac

The CVDisplayLink is used to control the animation loop, whether in 
window or fullscreen, so you always need to have a reference to it.

Kenneth

On 3/14/11 3:03 AM, zezba9000 wrote:
> Hi, I see you have some very useful sample ports here.
> I can't seem to get them to compile though. I am getting compiler errors on
> 'CVDisplayLink" could not be found. Maybe there are some more up to date
> MonoMac.OpenGL files I need or something else?
>
> Also in your NeHe lesson 1, if I take out the displayLink to get it to
> compile as its only needed for full screen, I get runtime errors when trying
> to create a "NSOpenGLContext(pixelFormat, null);" The second parameter
> cannot be null. In obj-C this is usually set to nil(aka null)&  for the life
> of me I can't find any resolution to this.
>
> I have OpenGL running in Window's&  Linux all in C# .NET, but the Mac Cocoa
> API stuff is driving me nuts.
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/MonoMac-NeHe-lessons-1-through-5-tp3350134p3352999.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>


More information about the Mono-osx mailing list