Skip to content

building for Windows 7, Chapter 11 Antialiased Volumetric Lines #5

@bsabiston

Description

@bsabiston

Hello, I tried to compile the code project for Chapter 11, using Visual Studio Express 2012 on a machine running Windows 7.

I am not super-familiar with openGL on the desktop, nor with Visual Studio -- in fact I just downloaded VS to try to compile this book's project.

I'm getting an error when I try to run it.
Status: Using GLEW 1.7.0
Error, Shader compilation failed for vertex_program :'1':

Vertex shader failed to compile with the following errors:
ERROR: 0:1: error<#106> Version number not supported by GL2
ERROR: 0:1 error<#308> Profile is invalid before glsl1.5.
ERROR 0:9: error<#279> Invalid layout qualifier 'location'
ERROR: 0:10 error<#279> Invalid layout qualifier 'location'
WARNING: 0:12: warning<#312> interface block with instance is supported in GLSL 1.5
ERROR: error<#273> 4 compilation errors. No code generated

GPUProgram fullscreen not built! Press any key to continue . . .

I hope someone knows the answer because that sure was a pain to type in by hand. Does Visual Studio let you copy and paste text from the program output, because I could not do it! :)

Thanks
Bob

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions