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

Segmentation Fault on Execution #2

Open
new-gen23 opened this issue Oct 30, 2014 · 0 comments
Open

Segmentation Fault on Execution #2

new-gen23 opened this issue Oct 30, 2014 · 0 comments

Comments

@new-gen23
Copy link

Environment:
Host System: Mac OSX
Guest System: Ubuntu 13.10 virtualized in Parallels

I compiled your example code without any error. When executing OpenGLTest however, the program crashes with a Segmentation fault.
Using cgdb, it tells me that segfault happens in mesh.cpp in Line 19:
glGenVertexArrays(1, &m_vertexArrayObject);

I followed your tutorial on youtube and used glGenVertexArrays without problems. My OpenGL also works perfect in the VM, since my own program works. Now I wonder, why the segmentation fault might happen. Any idea how to debug it?

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