Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: troubles with freeglut.dll :(

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2012
    Posts
    13

    troubles with freeglut.dll :(

    Hi, I am tring to debug my programm, written in c++, opengl, using MSVC, but I am gettin an error window, which tells me, that there is no freeglut.dll file on the mashine.
    But I can't understand the reason, cos I've copied the freeglut.dll file to C:\Windows\System32...
    Thanks...

  2. #2
    Super Moderator OpenGL Guru
    Join Date
    Feb 2000
    Location
    Montreal, Canada
    Posts
    4,264
    Are you on a 64 bit OS? Are you writing a 32 bit program? That would explain why it doesn't look into Windows\System32.
    ------------------------------
    Sig: http://glhlib.sourceforge.net
    an open source GLU replacement library. Much more modern than GLU.
    float matrix[16], inverse_matrix[16];
    glhLoadIdentityf2(matrix);
    glhTranslatef2(matrix, 0.0, 0.0, 5.0);
    glhRotateAboutXf2(matrix, angleInRadians);
    glhScalef2(matrix, 1.0, 1.0, -1.0);
    glhQuickInvertMatrixf2(matrix, inverse_matrix);
    glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
    glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2012
    Posts
    13
    I don't know how to chck that (((

  4. #4
    Intern Contributor
    Join Date
    Jun 2009
    Posts
    91
    One way is to copy freeglut.dll in the folder where your exe file resides.

    To check whether u r running on 64bit OS or check whether your windows directory contains SysWOW64 directory

    While building, ur application, you are building in Debug mode or release mode and what is your target machine? win32 or 64? Check in Linker->Advanced property page, what is machine target there.

    This may help you further
    http://msdn.microsoft.com/en-us/library/5wy54dk2.aspx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •