Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Issues Building "Learning Modern 3D Graphics Programming" examples

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2012
    Posts
    3

    Question 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:

    Code :
    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:
    Code :
    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:
    Code :
    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

  2. #2
    Junior Member Newbie
    Join Date
    Dec 2012
    Posts
    3
    I found what was wrong in my steps:

    Quote Originally Posted by Yariokone View Post
    3) I tried to compile in debug mode (with glload as startup project) and I get this error:
    Code :
    Unable to start program C:\Path_To_Tutorials\glsdk\glload\lib\glloadD.lib
    The specified file is an unrecognized or unsopported binary format
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •