• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

MSVS C++ and Freeglut Setup

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Leegit

Member
Joined
Apr 4, 2013
Location
Kansas
I been having a hell of a time setting up Freeglut and Glew in Visual Studio 2013 C++. It seems I have linking errors but all my files are there.

Can someone direct me to a complete guide on setting this up? Everything I have found is from a different versions and doesn't work out of the box.

Also, should I be using a different versions/type for OpenGL?

thanks
 
I was getting linker errors, LNK2019. I tried setting it up again on my laptop, got the Chapter 1 solution to build from this guide:

http://openglbook.com/the-book/preface-what-is-opengl/


I tried to run the Chapter 1 code and I get a 0xc000007b runtime error now. I used Dependency walker as recommended on a post on the subject. Here is what it returned:
 

Attachments

  • walker.png
    walker.png
    31.3 KB · Views: 98
Yeah I have. Let me post some screens of what I have...
 

Attachments

  • screen1.png
    screen1.png
    26 KB · Views: 95
  • screen2.png
    screen2.png
    26.4 KB · Views: 63
  • screen3.png
    screen3.png
    28.7 KB · Views: 100
Last edited:
How can I check to see if I am compiling in 32bit or 64bit?
 

Attachments

  • screen4.png
    screen4.png
    24.6 KB · Views: 99
  • screen5.png
    screen5.png
    2.8 KB · Views: 78
Fixed my problem.

I had to to place the .DLLs into the Debug folder of the solution in order to run the .exe.

Silly SDK :rolleyes:
 
Back