Issues Building "Learning Modern 3D Graphics Programming" examples

Hi! I found this great book and I’d like to be able to compile its examples to get the best from the reading.

I try to explain what I did and where I get problems:

My system: I’m working on Windows 7 with VS2010

Tutorial version: 0.3.8

My steps:
1) I compiled the glsdk using this command:

premake4 vs2010 

I state that I have premake4 in my PATH.

2) I launched the file glsdk.sln with VS2010
The project contains a list of subprojects (freeglut, glimg, glload, glmesh, glutil)

3) I tried to compile in debug mode (with glload as startup project) and I get this error:

Unable to start program C:\Path_To_Tutorials\glsdk\glload\lib\glloadD.lib
The specified file is an unrecognized or unsopported binary format

4) I tried to compile in release mode (with glload as startup project) and I get this error:

Unable to start program C:\Path_To_Tutorials\glsdk\glload\lib\glload.lib
The specified file is an unrecognized or unsopported binary format

Could you kindly tell me what I can do? Where are my errors in these steps?
Thank you in advice for your time :slight_smile:

I found what was wrong in my steps:

I compiled the current project and not the entire solution. To correctly compile this code I’ve just to right click “Solution ‘glsdk’” in the Solution Explorer and selecting “Build solution” or press F7.