Segmentation fault

Discussion in 'General Programming Discussion' started by ralph, Oct 27, 2013.

  1. ralph

    ralph New Member

    Joined:
    Jun 13, 2013
    Messages:
    6
    Likes Received:
    0
    trying to use OpenGL
    downloaded the OpenGL-tutorial (s) for 3.3 and 2.1

    everything compiles just fine - no errors, everything is linked & can find the aprop. libs

    but try to RUN anything gets a segfault
    Specifically (BUT i get the same segfault for all the Tutorials) :
    (gdb) run
    Starting program: /home/ubuntu/OpenGL-tutorial_v0013_33/build/tutorial01_first_window
    [Thread debugging using libthread_db enabled]

    Program received signal SIGSEGV, Segmentation fault.
    0x2aaf8c18 in __glXInitializeVisualConfigFromTags () from /usr/lib/libGL.so.1


    driver issue ??

    as well SDL1.2 & SDL2 refuses to compile ...
    so what versions were the demos ???
     
  2. ralph

    ralph New Member

    Joined:
    Jun 13, 2013
    Messages:
    6
    Likes Received:
    0
    wrong area ./ should be in programming not Operative systems ...

    (anyway got SDL 1.2 to compile ...
    sigh ,,,)
     
  3. maara

    maara Member

    Joined:
    Jun 11, 2013
    Messages:
    44
    Likes Received:
    4
    Its usually caused by the permissions.... Have you tried as root?
     

Share This Page