Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bsabiston opened this issue Feb 8, 2013 · 0 comments
Open

Comments

@bsabiston
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant