Question

I am following the following tutorial my instructor used in class for a graphics class that started last week.

http://cse.spsu.edu/jchastin/courses/cs4363/labs/ProjectSetup/Project_Setup.html

I am trying to set this up under Win8 using VS2010 pro.

I copied freeglut.dll and glew32.dll to C:\windows\sysWOW64

I get to step 5 to include the include directories - http://i.imgur.com/XI1E63q.png

I get to step 7 to include the dependencies - http://i.imgur.com/aOChW8p.png

And finally to step 8 for the library directories - http://i.imgur.com/AzDvD9R.png

I try to compile and I get what seem to be linkage errors according to a quick google search - http://i.imgur.com/5GxhE9u.png

Google says its a linkage error but everything seems to be linked properly on my end. Is there something I am missing since this is under Windows 8?

Thanks for looking.

Edit: Playing around with the linker directories. I am linking them to:

\freeglut-2.8.1\lib\x86

\glew-1.10.0\lib\Release\Win32

takes the error count down to 23 errors. :) http://i.imgur.com/5PaHJkO.png

Edit2: freeglut.h is located at \freeglut-2.8.1\include\GL and glew.h is located at \glew-1.10.0\include\GL and both of those are pointing right include directories under C/C++/General's tab.

Was it helpful?

Solution

AFAIK, the full path of glew's libs is \glew-1.10.0\lib\Release\Win32(I suppose you use 32bit windows), make sure you path include the lib files correctly. if you didn't modify the directory structure, /glew-1.10.0/lib won't find the libs you want.

Do the same thing for glut libs, I see you got glut link errors as well.

VC++ Directory settings in Visual Studio.

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top