Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#ActualSponji

Posted 09 June 2013 - 06:39 AM

Right I've been trying to start a simple window for ages now, it just gives:
1>LINK : fatal error LNK1104: cannot open file 'freeglut.lib'
Whatever I try.

Copied the files to VC/include/GL directories, included the path in additional dependancies in Linker->general->additional includes but nothing.


There's no problem with your includes if you get that error, everything is compiled fine but you're missing the .lib file. Are you sure that the lib file is in some of the directories where VC searches for them?

Edit: Also, make sure that if you're compiling 64-bit stuff, the lib file needs to be 64-bit too, same goes for 32-bit.

#1Sponji

Posted 09 June 2013 - 06:34 AM

Right I've been trying to start a simple window for ages now, it just gives:
1>LINK : fatal error LNK1104: cannot open file 'freeglut.lib'
Whatever I try.
 
Copied the files to VC/include/GL directories, included the path in additional dependancies in Linker->general->additional includes but nothing.

 

There's no problem with your includes if you get that error, everything is compiled fine but you're missing the .lib file. Are you sure that the lib file is in some of the directories where VC searches for them?


PARTNERS