Results 1 to 4 of 4

Thread: Could someone please take me through setting (linking) files to use OpenGL in .NET ?

  1. #1
    Senior Member Regular Contributor
    Join Date
    Jul 2003
    Location
    London
    Posts
    163

    Could someone please take me through setting (linking) files to use OpenGL in .NET ?

    Hi, I've tried to run some projects from CDROM in book 'Realtime character animation with VS' (uses OpenGL). However, when I try to compile, I get errors that gl.h is not found. I've done search and this file is on my computer.
    I also have NVidia geForce 4 Ti4200 and those cards come with OpenGL drivers (v. 1.5 is their most recent implementation, I think). Anyway, I understand that I need to tell the compiler where the .h files are and to link to the .lib files (or .dll)? The problem is that I'm totally new to Win/MFC/VS architectures and platforms. Could someone please tell me the steps I need to perform (settings?) in VS .NET project to be able to run OpenGL code?
    Thank you,
    Luke

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: Could someone please take me through setting (linking) files to use OpenGL in .NET ?

    Try searching this forum, the setup of .net has be answered on here before.

    I myself prefer C++, where as a .net program will lock you into a windows only software and also .net is not been out that long not sure how well adopted it will become.

    Originally posted by BigShooter:
    Hi, I've tried to run some projects from CDROM in book 'Realtime character animation with VS' (uses OpenGL). However, when I try to compile, I get errors that gl.h is not found. I've done search and this file is on my computer.
    I also have NVidia geForce 4 Ti4200 and those cards come with OpenGL drivers (v. 1.5 is their most recent implementation, I think). Anyway, I understand that I need to tell the compiler where the .h files are and to link to the .lib files (or .dll)? The problem is that I'm totally new to Win/MFC/VS architectures and platforms. Could someone please tell me the steps I need to perform (settings?) in VS .NET project to be able to run OpenGL code?
    Thank you,
    Luke

  3. #3

    Re: Could someone please take me through setting (linking) files to use OpenGL in .NET ?

    It might be easier to start with a known working project and make changes from there.

    Check out Display3DS and remember to set your 'Startup Project' as Display3DS.

    Note how the GL include files are provided and referenced.

    Good luck in your studies...
    /p2

  4. #4
    Senior Member Regular Contributor
    Join Date
    Jul 2003
    Location
    London
    Posts
    163

    Re: Could someone please take me through setting (linking) files to use OpenGL in .NET ?

    ok, got it working.
    Thanks to all for help.

Similar Threads

  1. Help me linking OpenGl using g++
    By yj1214 in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 03-26-2015, 06:55 AM
  2. OpenGL ES Linking Errors
    By jensr in forum OpenGL ES
    Replies: 5
    Last Post: 10-31-2007, 06:31 AM
  3. OpenGL Linking Problems .. on XP . : (
    By xamax in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 08-01-2002, 02:15 AM
  4. Linking the OpenGL libraries in VS .net
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 06-09-2002, 12:41 PM
  5. Linking OpenGL under gcc
    By humberto in forum OpenGL: Linux
    Replies: 4
    Last Post: 12-07-2001, 11:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean