How to fix problems with epoxy_glDeleteShader? [closed]











up vote
0
down vote

favorite












I am trying to compile official GTK GtkGLArea example (https://gitlab.gnome.org/GNOME/gtk/blob/master/demos/gtk-demo/glarea.c), using



gcc `pkg-config --cflags gtk+-3.0` glarea.c -o glarea.run `pkg-config --libs gtk+-3.0`


But terminal shows me this



/usr/bin/ld: /tmp/ccywhnyt.o: undefined reference to symbol 'epoxy_glDeleteShader'
/usr/bin/ld: //usr/lib/x86_64-linux-gnu/libepoxy.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status


How to compile the program successfully?










share|improve this question







New contributor




Bumbieris112 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











closed as off-topic by il_raffa, Rabbid76, Matthew L Daniel, Devon_C_Miller, Tân Nguyễn Nov 11 at 7:16


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – il_raffa, Rabbid76, Matthew L Daniel, Devon_C_Miller, Tân Nguyễn

If this question can be reworded to fit the rules in the help center, please edit the question.

















    up vote
    0
    down vote

    favorite












    I am trying to compile official GTK GtkGLArea example (https://gitlab.gnome.org/GNOME/gtk/blob/master/demos/gtk-demo/glarea.c), using



    gcc `pkg-config --cflags gtk+-3.0` glarea.c -o glarea.run `pkg-config --libs gtk+-3.0`


    But terminal shows me this



    /usr/bin/ld: /tmp/ccywhnyt.o: undefined reference to symbol 'epoxy_glDeleteShader'
    /usr/bin/ld: //usr/lib/x86_64-linux-gnu/libepoxy.so.0: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status


    How to compile the program successfully?










    share|improve this question







    New contributor




    Bumbieris112 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.











    closed as off-topic by il_raffa, Rabbid76, Matthew L Daniel, Devon_C_Miller, Tân Nguyễn Nov 11 at 7:16


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – il_raffa, Rabbid76, Matthew L Daniel, Devon_C_Miller, Tân Nguyễn

    If this question can be reworded to fit the rules in the help center, please edit the question.















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to compile official GTK GtkGLArea example (https://gitlab.gnome.org/GNOME/gtk/blob/master/demos/gtk-demo/glarea.c), using



      gcc `pkg-config --cflags gtk+-3.0` glarea.c -o glarea.run `pkg-config --libs gtk+-3.0`


      But terminal shows me this



      /usr/bin/ld: /tmp/ccywhnyt.o: undefined reference to symbol 'epoxy_glDeleteShader'
      /usr/bin/ld: //usr/lib/x86_64-linux-gnu/libepoxy.so.0: error adding symbols: DSO missing from command line
      collect2: error: ld returned 1 exit status


      How to compile the program successfully?










      share|improve this question







      New contributor




      Bumbieris112 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I am trying to compile official GTK GtkGLArea example (https://gitlab.gnome.org/GNOME/gtk/blob/master/demos/gtk-demo/glarea.c), using



      gcc `pkg-config --cflags gtk+-3.0` glarea.c -o glarea.run `pkg-config --libs gtk+-3.0`


      But terminal shows me this



      /usr/bin/ld: /tmp/ccywhnyt.o: undefined reference to symbol 'epoxy_glDeleteShader'
      /usr/bin/ld: //usr/lib/x86_64-linux-gnu/libepoxy.so.0: error adding symbols: DSO missing from command line
      collect2: error: ld returned 1 exit status


      How to compile the program successfully?







      c opengl gtk3






      share|improve this question







      New contributor




      Bumbieris112 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Bumbieris112 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Bumbieris112 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Nov 10 at 15:25









      Bumbieris112

      162




      162




      New contributor




      Bumbieris112 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Bumbieris112 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Bumbieris112 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      closed as off-topic by il_raffa, Rabbid76, Matthew L Daniel, Devon_C_Miller, Tân Nguyễn Nov 11 at 7:16


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – il_raffa, Rabbid76, Matthew L Daniel, Devon_C_Miller, Tân Nguyễn

      If this question can be reworded to fit the rules in the help center, please edit the question.




      closed as off-topic by il_raffa, Rabbid76, Matthew L Daniel, Devon_C_Miller, Tân Nguyễn Nov 11 at 7:16


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – il_raffa, Rabbid76, Matthew L Daniel, Devon_C_Miller, Tân Nguyễn

      If this question can be reworded to fit the rules in the help center, please edit the question.





























          active

          oldest

          votes






















          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          Florida Star v. B. J. F.

          Error while running script in elastic search , gateway timeout

          Adding quotations to stringified JSON object values