Skip to content

Segmentation Fault on Execution #2

Description

@new-gen23

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions