Beginner problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • misteriousnex
    New Member
    • Dec 2008
    • 2

    Beginner problem

    Hi everyone,

    I'm using VS2008 and windows.

    I'm doing a university project and I'm using glaux (outdated I know), I have it all set up on my home computer but on university computers they don't include glaux.h or glaux.lib. Is there any way that I can put these in the same folder as my project and include them? I know about the additional dependencies in project -> linker..... but I'd rather keep them local so I don't have to set up everything whenever I use a new computer.

    Can anyone help me?

    Thanks :)
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    Yes just put them in your own source directory (I am assuming that there is no license issue). You should be able to just include the header file, you will need to add the .lib to you project somewhere under the project settings, remember to use the full path to the library (I would hope that VS 2008 would provide a way to browse to it).

    Comment

    • misteriousnex
      New Member
      • Dec 2008
      • 2

      #3
      Thanks Banfa,

      I did what you recommended and it all compiled, unfortunately I get an initialisation error which I've not bothered to get into and understand. Instead I've gone for glut instead as the computer are set up for it here. The main reason I went for glaux is NeHe and his bmp loader, but I found another one so it should be all good.

      Many thanks though :)

      Comment

      • weaknessforcats
        Recognized Expert Expert
        • Mar 2007
        • 9214

        #4
        Have you considered using a USB drive?

        As a C++ instructor, I keep all my stuff on a USB drive which travels from classroom to classroom.

        Comment

        Working...