Results 1 to 5 of 5

Thread: Please help!! :)

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    London
    Posts
    3

    Please help!! :)

    hi all!
    Question 1. I have to include all my libraries ie.opengl32.lib glut32.lib glu32.lib into Visual C++ 6 'Project/Settings/Link/object/ library modules' - every time I want to compile a program! Previously I didn't have this problem! How can I do this in such a way that once I include those libraries I won't have to do it again any more?????
    Question2. Do I need any other libraries or utilities to run my OpenGL programs. Are those 3 above-mentioned files enough? or I need somthing alse?
    Thank you very much for any help!!!

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,753

    Re: Please help!! :)

    Every time you compile, or every time you create a new project? Have you changed your glut.h recently? Do you use glut? glut.h has some precompiler pragmas that will cause those libraries to be linked in w/o having to add them to the project.
    Deiussum
    Software Engineer and OpenGL enthusiast

  3. #3
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    Milwaukee WI 53211
    Posts
    29

    Re: Please help!! :)

    Are you saving the workspace afterwards? It should be keeping those libraries in the list. Its a strange problem. My suggestion is to update to MSVC Service Pack 4 if you haven't done so already, or reinstall VC++.

  4. #4
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    London
    Posts
    3

    Re: Please help!! :)

    Thanks for Replay!!
    Yes I have the same problem even after reinstalling Visual C++. The problem occurs when I create workspace!! Every time I have to go to Project settings and add those libraries OpenGL is using.

  5. #5
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,753

    Re: Please help!! :)

    That's to be expected. When you add those projects, you are adding them to the CURRENT project, not EVERY project yet to come. If the compiler linked in every available library for every project, you'd end up with a whole lot of libraries linked into your project that would be doing nothing but taking up space. If you save the project after adding those in, you shouldn't have to add them in again for THAT project (so long as you remember to add the libraries to both the debug and release configs), but you will have to add them again for any NEW projects.
    Deiussum
    Software Engineer and OpenGL enthusiast

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