Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Tao problem

Tao problem

Scheduled Pinned Locked Moved C#
helpquestiongraphicsgame-devtutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ranger49
    wrote on last edited by
    #1

    static void Main(string[] args) { Glut.glutInit(); I get a runtime error here "Cannot find freeglut.dll", while I downloaded this example code from the Code Project website. I installed SDLdotNet runtime environment, and the Tao.OpenGL and Tao.FreeGlut References are available in the solution. I haven't got a clue as to what is going wrong here, can someone tell me? Did I post this message in the right area? Ranger49

    A 1 Reply Last reply
    0
    • R Ranger49

      static void Main(string[] args) { Glut.glutInit(); I get a runtime error here "Cannot find freeglut.dll", while I downloaded this example code from the Code Project website. I installed SDLdotNet runtime environment, and the Tao.OpenGL and Tao.FreeGlut References are available in the solution. I haven't got a clue as to what is going wrong here, can someone tell me? Did I post this message in the right area? Ranger49

      A Offline
      A Offline
      Alan Balkany
      wrote on last edited by
      #2

      The first thing to try is putting freeglut.dll in the same folder as your .exe.

      R 1 Reply Last reply
      0
      • A Alan Balkany

        The first thing to try is putting freeglut.dll in the same folder as your .exe.

        R Offline
        R Offline
        Ranger49
        wrote on last edited by
        #3

        Alan Balkany wrote:

        The first thing to try is putting freeglut.dll in the same folder as your .exe.

        But 1) freeglut.dll was not in the SDL-sdk-win32-exe that I installed. And 2) I am using VC#2008 which works with .NET and I don't think VC#2008EE generates executables. Thanks so much for telling me this, but I think I already tried this... Ranger.

        A 1 Reply Last reply
        0
        • R Ranger49

          Alan Balkany wrote:

          The first thing to try is putting freeglut.dll in the same folder as your .exe.

          But 1) freeglut.dll was not in the SDL-sdk-win32-exe that I installed. And 2) I am using VC#2008 which works with .NET and I don't think VC#2008EE generates executables. Thanks so much for telling me this, but I think I already tried this... Ranger.

          A Offline
          A Offline
          Alan Balkany
          wrote on last edited by
          #4

          It's possible freeglut.dll was installed at a different location. Try using Windows Explorer to search your hard disk for this file. If you don't have it, your application won't run. (I have a hard time believing your compiler doesn't generate executables.)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups