george's picture

Build Error

I just got the head from svn and it won't build.
IGLControl.cs seems to be missing.


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler.'s picture

I've fixed the build issues in my working copy, but I won't be able to commit the changes for the next 24 hours or so due to lack of time (I'm in the middle of an examination period...)

george's picture

no problem, just thought i'd let you know.

the Fiddler.'s picture

Yeah, thanks :)

the Fiddler.'s picture

Ok, fixed the problems, the new GLControl should now build and run correctly.

george's picture

Thanks, that all compiles fine now.
I still can't seem to subclass GLControl effectively though, I just get black.
Are there any special considerations I should be aware of to make this work, or am I just being dumb?

the Fiddler.'s picture

I'm testing right now, I'll let you know what I come up with.

the Fiddler.'s picture

I just commited a very simple change that forces the construction of the GLControl during the InitializeComponents() call. Can you test again and see if it works any better?

george's picture

Ok, that kind of works. But it's gone a bit weird.
The first time I run it in the debugger after compiling, it gives me the null reference exception when I first call a GL function, but continues fine if I close the exception window, and subsequent runs work fine until I recompile.
It might be something at my end, I'll try cleaning out old intermediates and stuff.

george's picture

OK, I deleted my obj and bin folders and it works properly now.
Cheers.

the Fiddler.'s picture

Glad to hear!