rswinkle / oglsuperbible5

Automatically exported from code.google.com/p/oglsuperbible5
0 stars 0 forks source link

The samples doesn't complile on VC++ 2010 express #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to compile the VisualStudion2010.vcxproj in Visual Studio c++ express. I 
suspect that it some linking problem.

What is the expected output? What do you see instead?

c:\users\brte\downloads\sb5\src\chapter01\block\block.cpp(6): fatal error 
C1083: Cannot open include file: 'GLTools.h': No such file or directory

What version of the product are you using? On what operating system?
I'm using MSVC++ 2010 on Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by rne1...@gmail.com on 30 Dec 2011 at 4:40

GoogleCodeExporter commented 8 years ago
You need to set the include directories with every project in Visual Studio 
2010. To add the include directories to a project in VC++, on the outline 
(presumably) on the left, click on the project 2nd from the top, just under 
solution. Then click the menu tab at the top "Project" > "Properties". Under 
"Configuration Properties" click "VC++ Directories". Under "Include 
Directories" add the following two include folders which is in the unzipped SB5 
folder: "...\SB5\Src\GLTools\include" and "...\SB5\freeglut-2.6.0\include". 
VC++ 2010 will now check those include directories, and should find the files 
referenced in the code. 

Original comment by nx7...@yahoo.com on 25 Mar 2012 at 7:47