C# Lesson 5
I am using MV C# 2005 express edition beta and tring to use lesson 5.
I am getting 2 erors:
1) The type or namespace name 'CsGL' could not be found, and
2) The type or namespace name 'OpenGLControl' could not be found.
I copied the csgl.dll to my system32 folder as instructed by the readme.
Please advise.
-Rich
I'm not sure if you know, but CsGL is deprecated. After development on it stopped, Randy Ridge continued working on the C#-OGL wrapper, and it is now known as the Tao Framework. It can normally be downloaded at www.taoframework.com, but the site is down right now for some coming changes.
I have a copy of the Tao Framework laying around, so I decided I would grab it and put together a quick and dirty demo for you, in case you're interested. From the demo, you ought to be able to get Lesson #5 up and running pretty quickly. Also, when the Tao site comes back up, you can grab a lot of the NeHe tutorials off CVS.
If you're going to work with Tao, there's one thing to note: you can use either source or a .dll. At work (where I use OGL the most), we use only source, and that is all I have to offer right now. The advantage of using the source is that we don't run into the problem you're having with CsGL. Also, we are not allowed to use "unsafe" code, so the Tao code has been slightly modified to accomodate that requirement. This does not contain all the Tao code, but it should be enough to get you by until the site comes back up.
Demo code
HTH. If you have any questions or issues, please let me know!
I have a copy of the Tao Framework laying around, so I decided I would grab it and put together a quick and dirty demo for you, in case you're interested. From the demo, you ought to be able to get Lesson #5 up and running pretty quickly. Also, when the Tao site comes back up, you can grab a lot of the NeHe tutorials off CVS.
If you're going to work with Tao, there's one thing to note: you can use either source or a .dll. At work (where I use OGL the most), we use only source, and that is all I have to offer right now. The advantage of using the source is that we don't run into the problem you're having with CsGL. Also, we are not allowed to use "unsafe" code, so the Tao code has been slightly modified to accomodate that requirement. This does not contain all the Tao code, but it should be enough to get you by until the site comes back up.
Demo code
HTH. If you have any questions or issues, please let me know!
~del
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement